abliteration 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,8 +22,100 @@ module Abliteration
22
22
 
23
23
  attr_accessor :name
24
24
 
25
+ attr_accessor :primary_method
26
+
27
+ # JSON-encoded array of extra method codes.
28
+ attr_accessor :secondary_methods
29
+
30
+ attr_accessor :confidence
31
+
32
+ # JSON-encoded array of evidence strings.
33
+ attr_accessor :classification_evidence
34
+
35
+ attr_accessor :classifier_version
36
+
37
+ attr_accessor :classified_at
38
+
39
+ attr_accessor :family
40
+
41
+ attr_accessor :params_b
42
+
43
+ attr_accessor :is_gguf
44
+
45
+ attr_accessor :is_moe
46
+
47
+ attr_accessor :is_multimodal
48
+
49
+ attr_accessor :is_image_gen
50
+
51
+ attr_accessor :is_second_order
52
+
53
+ attr_accessor :downloads
54
+
55
+ attr_accessor :likes
56
+
57
+ attr_accessor :created_at
58
+
59
+ attr_accessor :last_modified
60
+
61
+ attr_accessor :first_seen_at
62
+
63
+ attr_accessor :last_seen_at
64
+
65
+ attr_accessor :readme_text
66
+
67
+ attr_accessor :readme_status
68
+
69
+ # JSON-encoded array of Hub tags.
70
+ attr_accessor :tags
71
+
72
+ attr_accessor :pipeline_tag
73
+
74
+ attr_accessor :library_name
75
+
76
+ attr_accessor :yaml_base_model
77
+
78
+ attr_accessor :yaml_language
79
+
80
+ attr_accessor :yaml_datasets
81
+
82
+ attr_accessor :yaml_license
83
+
84
+ attr_accessor :yaml_tags
85
+
86
+ attr_accessor :files_count
87
+
88
+ attr_accessor :total_size_bytes
89
+
90
+ attr_accessor :largest_file_bytes
91
+
92
+ attr_accessor :smallest_model_bytes
93
+
94
+ # JSON-encoded array of quantisation labels.
95
+ attr_accessor :quantizations
96
+
97
+ attr_accessor :has_mmproj
98
+
99
+ attr_accessor :hub_downloads_all_time
100
+
101
+ attr_accessor :hub_trending_score
102
+
103
+ attr_accessor :hub_real_params_m
104
+
105
+ attr_accessor :hub_context_length
106
+
107
+ attr_accessor :hub_siblings_count
108
+
109
+ attr_accessor :hub_provider_count
110
+
111
+ attr_accessor :hub_provider_names
112
+
113
+ attr_accessor :hub_enriched_at
114
+
115
+ # Per-file manifest: filename, size_bytes, sha256, quantization, is_model_file, is_mmproj.
25
116
  attr_accessor :files
26
117
 
118
+ # Two arrays under `own` and `base` — each item has benchmark_name, score, source, pertains_to.
27
119
  attr_accessor :benchmarks
28
120
 
29
121
  attr_accessor :author_summary
@@ -34,6 +126,49 @@ module Abliteration
34
126
  :'id' => :'id',
35
127
  :'author' => :'author',
36
128
  :'name' => :'name',
129
+ :'primary_method' => :'primary_method',
130
+ :'secondary_methods' => :'secondary_methods',
131
+ :'confidence' => :'confidence',
132
+ :'classification_evidence' => :'classification_evidence',
133
+ :'classifier_version' => :'classifier_version',
134
+ :'classified_at' => :'classified_at',
135
+ :'family' => :'family',
136
+ :'params_b' => :'params_b',
137
+ :'is_gguf' => :'is_gguf',
138
+ :'is_moe' => :'is_moe',
139
+ :'is_multimodal' => :'is_multimodal',
140
+ :'is_image_gen' => :'is_image_gen',
141
+ :'is_second_order' => :'is_second_order',
142
+ :'downloads' => :'downloads',
143
+ :'likes' => :'likes',
144
+ :'created_at' => :'created_at',
145
+ :'last_modified' => :'last_modified',
146
+ :'first_seen_at' => :'first_seen_at',
147
+ :'last_seen_at' => :'last_seen_at',
148
+ :'readme_text' => :'readme_text',
149
+ :'readme_status' => :'readme_status',
150
+ :'tags' => :'tags',
151
+ :'pipeline_tag' => :'pipeline_tag',
152
+ :'library_name' => :'library_name',
153
+ :'yaml_base_model' => :'yaml_base_model',
154
+ :'yaml_language' => :'yaml_language',
155
+ :'yaml_datasets' => :'yaml_datasets',
156
+ :'yaml_license' => :'yaml_license',
157
+ :'yaml_tags' => :'yaml_tags',
158
+ :'files_count' => :'files_count',
159
+ :'total_size_bytes' => :'total_size_bytes',
160
+ :'largest_file_bytes' => :'largest_file_bytes',
161
+ :'smallest_model_bytes' => :'smallest_model_bytes',
162
+ :'quantizations' => :'quantizations',
163
+ :'has_mmproj' => :'has_mmproj',
164
+ :'hub_downloads_all_time' => :'hub_downloads_all_time',
165
+ :'hub_trending_score' => :'hub_trending_score',
166
+ :'hub_real_params_m' => :'hub_real_params_m',
167
+ :'hub_context_length' => :'hub_context_length',
168
+ :'hub_siblings_count' => :'hub_siblings_count',
169
+ :'hub_provider_count' => :'hub_provider_count',
170
+ :'hub_provider_names' => :'hub_provider_names',
171
+ :'hub_enriched_at' => :'hub_enriched_at',
37
172
  :'files' => :'files',
38
173
  :'benchmarks' => :'benchmarks',
39
174
  :'author_summary' => :'author_summary'
@@ -56,6 +191,49 @@ module Abliteration
56
191
  :'id' => :'String',
57
192
  :'author' => :'String',
58
193
  :'name' => :'String',
194
+ :'primary_method' => :'String',
195
+ :'secondary_methods' => :'String',
196
+ :'confidence' => :'String',
197
+ :'classification_evidence' => :'String',
198
+ :'classifier_version' => :'String',
199
+ :'classified_at' => :'String',
200
+ :'family' => :'String',
201
+ :'params_b' => :'Float',
202
+ :'is_gguf' => :'Integer',
203
+ :'is_moe' => :'Integer',
204
+ :'is_multimodal' => :'Integer',
205
+ :'is_image_gen' => :'Integer',
206
+ :'is_second_order' => :'Integer',
207
+ :'downloads' => :'Integer',
208
+ :'likes' => :'Integer',
209
+ :'created_at' => :'String',
210
+ :'last_modified' => :'String',
211
+ :'first_seen_at' => :'String',
212
+ :'last_seen_at' => :'String',
213
+ :'readme_text' => :'String',
214
+ :'readme_status' => :'String',
215
+ :'tags' => :'String',
216
+ :'pipeline_tag' => :'String',
217
+ :'library_name' => :'String',
218
+ :'yaml_base_model' => :'String',
219
+ :'yaml_language' => :'String',
220
+ :'yaml_datasets' => :'String',
221
+ :'yaml_license' => :'String',
222
+ :'yaml_tags' => :'String',
223
+ :'files_count' => :'Integer',
224
+ :'total_size_bytes' => :'Integer',
225
+ :'largest_file_bytes' => :'Integer',
226
+ :'smallest_model_bytes' => :'Integer',
227
+ :'quantizations' => :'String',
228
+ :'has_mmproj' => :'Integer',
229
+ :'hub_downloads_all_time' => :'Integer',
230
+ :'hub_trending_score' => :'Integer',
231
+ :'hub_real_params_m' => :'Float',
232
+ :'hub_context_length' => :'Integer',
233
+ :'hub_siblings_count' => :'Integer',
234
+ :'hub_provider_count' => :'Integer',
235
+ :'hub_provider_names' => :'String',
236
+ :'hub_enriched_at' => :'String',
59
237
  :'files' => :'Array<Object>',
60
238
  :'benchmarks' => :'Object',
61
239
  :'author_summary' => :'Author'
@@ -65,6 +243,49 @@ module Abliteration
65
243
  # List of attributes with nullable: true
66
244
  def self.openapi_nullable
67
245
  Set.new([
246
+ :'primary_method',
247
+ :'secondary_methods',
248
+ :'confidence',
249
+ :'classification_evidence',
250
+ :'classifier_version',
251
+ :'classified_at',
252
+ :'family',
253
+ :'params_b',
254
+ :'is_gguf',
255
+ :'is_moe',
256
+ :'is_multimodal',
257
+ :'is_image_gen',
258
+ :'is_second_order',
259
+ :'downloads',
260
+ :'likes',
261
+ :'created_at',
262
+ :'last_modified',
263
+ :'first_seen_at',
264
+ :'last_seen_at',
265
+ :'readme_text',
266
+ :'readme_status',
267
+ :'tags',
268
+ :'pipeline_tag',
269
+ :'library_name',
270
+ :'yaml_base_model',
271
+ :'yaml_language',
272
+ :'yaml_datasets',
273
+ :'yaml_license',
274
+ :'yaml_tags',
275
+ :'files_count',
276
+ :'total_size_bytes',
277
+ :'largest_file_bytes',
278
+ :'smallest_model_bytes',
279
+ :'quantizations',
280
+ :'has_mmproj',
281
+ :'hub_downloads_all_time',
282
+ :'hub_trending_score',
283
+ :'hub_real_params_m',
284
+ :'hub_context_length',
285
+ :'hub_siblings_count',
286
+ :'hub_provider_count',
287
+ :'hub_provider_names',
288
+ :'hub_enriched_at',
68
289
  :'author_summary'
69
290
  ])
70
291
  end
@@ -97,6 +318,178 @@ module Abliteration
97
318
  self.name = attributes[:'name']
98
319
  end
99
320
 
321
+ if attributes.key?(:'primary_method')
322
+ self.primary_method = attributes[:'primary_method']
323
+ end
324
+
325
+ if attributes.key?(:'secondary_methods')
326
+ self.secondary_methods = attributes[:'secondary_methods']
327
+ end
328
+
329
+ if attributes.key?(:'confidence')
330
+ self.confidence = attributes[:'confidence']
331
+ end
332
+
333
+ if attributes.key?(:'classification_evidence')
334
+ self.classification_evidence = attributes[:'classification_evidence']
335
+ end
336
+
337
+ if attributes.key?(:'classifier_version')
338
+ self.classifier_version = attributes[:'classifier_version']
339
+ end
340
+
341
+ if attributes.key?(:'classified_at')
342
+ self.classified_at = attributes[:'classified_at']
343
+ end
344
+
345
+ if attributes.key?(:'family')
346
+ self.family = attributes[:'family']
347
+ end
348
+
349
+ if attributes.key?(:'params_b')
350
+ self.params_b = attributes[:'params_b']
351
+ end
352
+
353
+ if attributes.key?(:'is_gguf')
354
+ self.is_gguf = attributes[:'is_gguf']
355
+ end
356
+
357
+ if attributes.key?(:'is_moe')
358
+ self.is_moe = attributes[:'is_moe']
359
+ end
360
+
361
+ if attributes.key?(:'is_multimodal')
362
+ self.is_multimodal = attributes[:'is_multimodal']
363
+ end
364
+
365
+ if attributes.key?(:'is_image_gen')
366
+ self.is_image_gen = attributes[:'is_image_gen']
367
+ end
368
+
369
+ if attributes.key?(:'is_second_order')
370
+ self.is_second_order = attributes[:'is_second_order']
371
+ end
372
+
373
+ if attributes.key?(:'downloads')
374
+ self.downloads = attributes[:'downloads']
375
+ end
376
+
377
+ if attributes.key?(:'likes')
378
+ self.likes = attributes[:'likes']
379
+ end
380
+
381
+ if attributes.key?(:'created_at')
382
+ self.created_at = attributes[:'created_at']
383
+ end
384
+
385
+ if attributes.key?(:'last_modified')
386
+ self.last_modified = attributes[:'last_modified']
387
+ end
388
+
389
+ if attributes.key?(:'first_seen_at')
390
+ self.first_seen_at = attributes[:'first_seen_at']
391
+ end
392
+
393
+ if attributes.key?(:'last_seen_at')
394
+ self.last_seen_at = attributes[:'last_seen_at']
395
+ end
396
+
397
+ if attributes.key?(:'readme_text')
398
+ self.readme_text = attributes[:'readme_text']
399
+ end
400
+
401
+ if attributes.key?(:'readme_status')
402
+ self.readme_status = attributes[:'readme_status']
403
+ end
404
+
405
+ if attributes.key?(:'tags')
406
+ self.tags = attributes[:'tags']
407
+ end
408
+
409
+ if attributes.key?(:'pipeline_tag')
410
+ self.pipeline_tag = attributes[:'pipeline_tag']
411
+ end
412
+
413
+ if attributes.key?(:'library_name')
414
+ self.library_name = attributes[:'library_name']
415
+ end
416
+
417
+ if attributes.key?(:'yaml_base_model')
418
+ self.yaml_base_model = attributes[:'yaml_base_model']
419
+ end
420
+
421
+ if attributes.key?(:'yaml_language')
422
+ self.yaml_language = attributes[:'yaml_language']
423
+ end
424
+
425
+ if attributes.key?(:'yaml_datasets')
426
+ self.yaml_datasets = attributes[:'yaml_datasets']
427
+ end
428
+
429
+ if attributes.key?(:'yaml_license')
430
+ self.yaml_license = attributes[:'yaml_license']
431
+ end
432
+
433
+ if attributes.key?(:'yaml_tags')
434
+ self.yaml_tags = attributes[:'yaml_tags']
435
+ end
436
+
437
+ if attributes.key?(:'files_count')
438
+ self.files_count = attributes[:'files_count']
439
+ end
440
+
441
+ if attributes.key?(:'total_size_bytes')
442
+ self.total_size_bytes = attributes[:'total_size_bytes']
443
+ end
444
+
445
+ if attributes.key?(:'largest_file_bytes')
446
+ self.largest_file_bytes = attributes[:'largest_file_bytes']
447
+ end
448
+
449
+ if attributes.key?(:'smallest_model_bytes')
450
+ self.smallest_model_bytes = attributes[:'smallest_model_bytes']
451
+ end
452
+
453
+ if attributes.key?(:'quantizations')
454
+ self.quantizations = attributes[:'quantizations']
455
+ end
456
+
457
+ if attributes.key?(:'has_mmproj')
458
+ self.has_mmproj = attributes[:'has_mmproj']
459
+ end
460
+
461
+ if attributes.key?(:'hub_downloads_all_time')
462
+ self.hub_downloads_all_time = attributes[:'hub_downloads_all_time']
463
+ end
464
+
465
+ if attributes.key?(:'hub_trending_score')
466
+ self.hub_trending_score = attributes[:'hub_trending_score']
467
+ end
468
+
469
+ if attributes.key?(:'hub_real_params_m')
470
+ self.hub_real_params_m = attributes[:'hub_real_params_m']
471
+ end
472
+
473
+ if attributes.key?(:'hub_context_length')
474
+ self.hub_context_length = attributes[:'hub_context_length']
475
+ end
476
+
477
+ if attributes.key?(:'hub_siblings_count')
478
+ self.hub_siblings_count = attributes[:'hub_siblings_count']
479
+ end
480
+
481
+ if attributes.key?(:'hub_provider_count')
482
+ self.hub_provider_count = attributes[:'hub_provider_count']
483
+ end
484
+
485
+ if attributes.key?(:'hub_provider_names')
486
+ self.hub_provider_names = attributes[:'hub_provider_names']
487
+ end
488
+
489
+ if attributes.key?(:'hub_enriched_at')
490
+ self.hub_enriched_at = attributes[:'hub_enriched_at']
491
+ end
492
+
100
493
  if attributes.key?(:'files')
101
494
  if (value = attributes[:'files']).is_a?(Array)
102
495
  self.files = value
@@ -135,6 +528,49 @@ module Abliteration
135
528
  id == o.id &&
136
529
  author == o.author &&
137
530
  name == o.name &&
531
+ primary_method == o.primary_method &&
532
+ secondary_methods == o.secondary_methods &&
533
+ confidence == o.confidence &&
534
+ classification_evidence == o.classification_evidence &&
535
+ classifier_version == o.classifier_version &&
536
+ classified_at == o.classified_at &&
537
+ family == o.family &&
538
+ params_b == o.params_b &&
539
+ is_gguf == o.is_gguf &&
540
+ is_moe == o.is_moe &&
541
+ is_multimodal == o.is_multimodal &&
542
+ is_image_gen == o.is_image_gen &&
543
+ is_second_order == o.is_second_order &&
544
+ downloads == o.downloads &&
545
+ likes == o.likes &&
546
+ created_at == o.created_at &&
547
+ last_modified == o.last_modified &&
548
+ first_seen_at == o.first_seen_at &&
549
+ last_seen_at == o.last_seen_at &&
550
+ readme_text == o.readme_text &&
551
+ readme_status == o.readme_status &&
552
+ tags == o.tags &&
553
+ pipeline_tag == o.pipeline_tag &&
554
+ library_name == o.library_name &&
555
+ yaml_base_model == o.yaml_base_model &&
556
+ yaml_language == o.yaml_language &&
557
+ yaml_datasets == o.yaml_datasets &&
558
+ yaml_license == o.yaml_license &&
559
+ yaml_tags == o.yaml_tags &&
560
+ files_count == o.files_count &&
561
+ total_size_bytes == o.total_size_bytes &&
562
+ largest_file_bytes == o.largest_file_bytes &&
563
+ smallest_model_bytes == o.smallest_model_bytes &&
564
+ quantizations == o.quantizations &&
565
+ has_mmproj == o.has_mmproj &&
566
+ hub_downloads_all_time == o.hub_downloads_all_time &&
567
+ hub_trending_score == o.hub_trending_score &&
568
+ hub_real_params_m == o.hub_real_params_m &&
569
+ hub_context_length == o.hub_context_length &&
570
+ hub_siblings_count == o.hub_siblings_count &&
571
+ hub_provider_count == o.hub_provider_count &&
572
+ hub_provider_names == o.hub_provider_names &&
573
+ hub_enriched_at == o.hub_enriched_at &&
138
574
  files == o.files &&
139
575
  benchmarks == o.benchmarks &&
140
576
  author_summary == o.author_summary
@@ -149,7 +585,7 @@ module Abliteration
149
585
  # Calculates hash code according to all attributes.
150
586
  # @return [Integer] Hash code
151
587
  def hash
152
- [id, author, name, files, benchmarks, author_summary].hash
588
+ [id, author, name, primary_method, secondary_methods, confidence, classification_evidence, classifier_version, classified_at, family, params_b, is_gguf, is_moe, is_multimodal, is_image_gen, is_second_order, downloads, likes, created_at, last_modified, first_seen_at, last_seen_at, readme_text, readme_status, tags, pipeline_tag, library_name, yaml_base_model, yaml_language, yaml_datasets, yaml_license, yaml_tags, files_count, total_size_bytes, largest_file_bytes, smallest_model_bytes, quantizations, has_mmproj, hub_downloads_all_time, hub_trending_score, hub_real_params_m, hub_context_length, hub_siblings_count, hub_provider_count, hub_provider_names, hub_enriched_at, files, benchmarks, author_summary].hash
153
589
  end
154
590
 
155
591
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.25.0
11
11
  =end
12
12
 
13
13
  module Abliteration
14
- VERSION = '0.1.0'
14
+ VERSION = '0.1.2'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abliteration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Catyonic OU
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-16 00:00:00.000000000 Z
11
+ date: 2026-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus