abliteration 0.1.12 → 0.1.13
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.
- checksums.yaml +4 -4
- data/docs/DeletionSummary.md +1 -1
- data/docs/HistoricalDeletion.md +2 -2
- data/docs/ModelsApi.md +2 -2
- data/lib/abliteration/api/models_api.rb +4 -4
- data/lib/abliteration/models/deletion_summary.rb +1 -1
- data/lib/abliteration/models/historical_deletion.rb +2 -2
- data/lib/abliteration/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 360d9ffdf441869bcc03634fd1063d0ea79febb5a91b6a0da2ed798ae0116248
|
|
4
|
+
data.tar.gz: 33db94503a2a3d916c39c73080d3dada37361970566edf0be8d2768a31f20bc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aad72f62d8b6f42a3d5cd0468f68f6e56bdda091953726b802f5dcd5de4c49069929015e168cd0b884951de6615bea2dc8a7dfee883c9e5a99123233bf78b379
|
|
7
|
+
data.tar.gz: 0c77e814cb4ceab3aea453cf5f145ffaf765a942c264022690a133b1c57e6224b40603a8f1de09c29958ef0d0787987667dc4b66a0244caccbbdd4964ac6dc0c
|
data/docs/DeletionSummary.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **total_ever_seen** | **Integer** |
|
|
7
|
+
| **total_ever_seen** | **Integer** | Every catalog model (delisted ones included) plus snapshot deletions that never entered the catalog. | [optional] |
|
|
8
8
|
| **total_deleted** | **Integer** | | [optional] |
|
|
9
9
|
| **deletion_rate_pct** | **Float** | Percentage of ever-seen models that are now gone. | [optional] |
|
|
10
10
|
| **avg_months_alive** | **Float** | Average lifespan of deleted models, in months. | [optional] |
|
data/docs/HistoricalDeletion.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
| **first_seen_month** | **String** | ISO YYYY-MM of the earliest snapshot the model appears in. | [optional] |
|
|
9
9
|
| **last_seen_month** | **String** | ISO YYYY-MM of the final snapshot before deletion. | [optional] |
|
|
10
10
|
| **total_months_alive** | **Integer** | Whole months between first and last observation. | [optional] |
|
|
11
|
-
| **peak_downloads** | **Integer** | Highest downloads count observed
|
|
12
|
-
| **created_at** | **String** | ISO-8601 timestamp the model was originally created on
|
|
11
|
+
| **peak_downloads** | **Integer** | Highest monthly downloads count observed (from the hub snapshots; for delisted catalog models not yet in them, the highest 30-day count we recorded). | [optional] |
|
|
12
|
+
| **created_at** | **String** | ISO-8601 timestamp the model was originally created on Hugging Face. | [optional] |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
data/docs/ModelsApi.md
CHANGED
|
@@ -21,7 +21,7 @@ All URIs are relative to *https://abliteration.org*
|
|
|
21
21
|
|
|
22
22
|
Historical deletions — aggregate summary
|
|
23
23
|
|
|
24
|
-
Cost: 20 credits, flat. Aggregates from
|
|
24
|
+
Cost: 20 credits, flat. Aggregates over every model gone from Hugging Face that we know of: total ever seen, total deleted, deletion rate, average months alive, monthly timeline of losses, top-10 by peak downloads. Two sources: the monthly HF snapshot analysis (window from October 2024; models still live in our catalog excluded), plus catalog models our daily delisted check marked gone that the snapshot analysis has not caught up with yet. For those, months alive run from HF creation to last seen, and peak downloads is the highest 30-day count we recorded. One call replaces half a dozen separate queries.
|
|
25
25
|
|
|
26
26
|
### Examples
|
|
27
27
|
|
|
@@ -456,7 +456,7 @@ end
|
|
|
456
456
|
|
|
457
457
|
Historical deletions — paged list
|
|
458
458
|
|
|
459
|
-
Cost: 5 credits, flat. Paged/filterable window on the
|
|
459
|
+
Cost: 5 credits, flat. Paged/filterable window on the deletion backlog: every model gone from Hugging Face that we know of. Two sources: the monthly HF snapshot analysis (window from October 2024; models still live in our catalog excluded), plus catalog models our daily delisted check marked gone that the snapshot analysis has not caught up with yet. For those, first_seen_month is the HF creation month, total_months_alive runs from HF creation to last seen, and peak_downloads is the highest 30-day count we recorded (not a lifetime count). When the snapshot analysis records such a model, its row comes from the snapshot instead, so values can change once. Sort by size (`downloads`, default), recency (`recent`, newest deaths first) or lifespan (`lifespan`, longest-lived first — surprising deaths).
|
|
460
460
|
|
|
461
461
|
### Examples
|
|
462
462
|
|
|
@@ -20,7 +20,7 @@ module Abliteration
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Historical deletions — aggregate summary
|
|
23
|
-
# Cost: 20 credits, flat. Aggregates from
|
|
23
|
+
# Cost: 20 credits, flat. Aggregates over every model gone from Hugging Face that we know of: total ever seen, total deleted, deletion rate, average months alive, monthly timeline of losses, top-10 by peak downloads. Two sources: the monthly HF snapshot analysis (window from October 2024; models still live in our catalog excluded), plus catalog models our daily delisted check marked gone that the snapshot analysis has not caught up with yet. For those, months alive run from HF creation to last seen, and peak downloads is the highest 30-day count we recorded. One call replaces half a dozen separate queries.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [GetHistoricalDeletionSummary200Response]
|
|
26
26
|
def get_historical_deletion_summary(opts = {})
|
|
@@ -29,7 +29,7 @@ module Abliteration
|
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
# Historical deletions — aggregate summary
|
|
32
|
-
# Cost: 20 credits, flat. Aggregates from
|
|
32
|
+
# Cost: 20 credits, flat. Aggregates over every model gone from Hugging Face that we know of: total ever seen, total deleted, deletion rate, average months alive, monthly timeline of losses, top-10 by peak downloads. Two sources: the monthly HF snapshot analysis (window from October 2024; models still live in our catalog excluded), plus catalog models our daily delisted check marked gone that the snapshot analysis has not caught up with yet. For those, months alive run from HF creation to last seen, and peak downloads is the highest 30-day count we recorded. One call replaces half a dozen separate queries.
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(GetHistoricalDeletionSummary200Response, Integer, Hash)>] GetHistoricalDeletionSummary200Response data, response status code and response headers
|
|
35
35
|
def get_historical_deletion_summary_with_http_info(opts = {})
|
|
@@ -468,7 +468,7 @@ module Abliteration
|
|
|
468
468
|
end
|
|
469
469
|
|
|
470
470
|
# Historical deletions — paged list
|
|
471
|
-
# Cost: 5 credits, flat. Paged/filterable window on the
|
|
471
|
+
# Cost: 5 credits, flat. Paged/filterable window on the deletion backlog: every model gone from Hugging Face that we know of. Two sources: the monthly HF snapshot analysis (window from October 2024; models still live in our catalog excluded), plus catalog models our daily delisted check marked gone that the snapshot analysis has not caught up with yet. For those, first_seen_month is the HF creation month, total_months_alive runs from HF creation to last seen, and peak_downloads is the highest 30-day count we recorded (not a lifetime count). When the snapshot analysis records such a model, its row comes from the snapshot instead, so values can change once. Sort by size (`downloads`, default), recency (`recent`, newest deaths first) or lifespan (`lifespan`, longest-lived first — surprising deaths).
|
|
472
472
|
# @param [Hash] opts the optional parameters
|
|
473
473
|
# @option opts [String] :since_month ISO YYYY-MM. Rows with last_seen_month >= it only. Any other shape is rejected with 400.
|
|
474
474
|
# @option opts [Integer] :min_peak_downloads Only rows whose peak downloads >= this. `casualties over N` queries.
|
|
@@ -482,7 +482,7 @@ module Abliteration
|
|
|
482
482
|
end
|
|
483
483
|
|
|
484
484
|
# Historical deletions — paged list
|
|
485
|
-
# Cost: 5 credits, flat. Paged/filterable window on the
|
|
485
|
+
# Cost: 5 credits, flat. Paged/filterable window on the deletion backlog: every model gone from Hugging Face that we know of. Two sources: the monthly HF snapshot analysis (window from October 2024; models still live in our catalog excluded), plus catalog models our daily delisted check marked gone that the snapshot analysis has not caught up with yet. For those, first_seen_month is the HF creation month, total_months_alive runs from HF creation to last seen, and peak_downloads is the highest 30-day count we recorded (not a lifetime count). When the snapshot analysis records such a model, its row comes from the snapshot instead, so values can change once. Sort by size (`downloads`, default), recency (`recent`, newest deaths first) or lifespan (`lifespan`, longest-lived first — surprising deaths).
|
|
486
486
|
# @param [Hash] opts the optional parameters
|
|
487
487
|
# @option opts [String] :since_month ISO YYYY-MM. Rows with last_seen_month >= it only. Any other shape is rejected with 400.
|
|
488
488
|
# @option opts [Integer] :min_peak_downloads Only rows whose peak downloads >= this. `casualties over N` queries.
|
|
@@ -16,7 +16,7 @@ require 'time'
|
|
|
16
16
|
module Abliteration
|
|
17
17
|
# Aggregate rollup of the 24-month HF deletion analysis.
|
|
18
18
|
class DeletionSummary < ApiModelBase
|
|
19
|
-
#
|
|
19
|
+
# Every catalog model (delisted ones included) plus snapshot deletions that never entered the catalog.
|
|
20
20
|
attr_accessor :total_ever_seen
|
|
21
21
|
|
|
22
22
|
attr_accessor :total_deleted
|
|
@@ -26,10 +26,10 @@ module Abliteration
|
|
|
26
26
|
# Whole months between first and last observation.
|
|
27
27
|
attr_accessor :total_months_alive
|
|
28
28
|
|
|
29
|
-
# Highest downloads count observed
|
|
29
|
+
# Highest monthly downloads count observed (from the hub snapshots; for delisted catalog models not yet in them, the highest 30-day count we recorded).
|
|
30
30
|
attr_accessor :peak_downloads
|
|
31
31
|
|
|
32
|
-
# ISO-8601 timestamp the model was originally created on
|
|
32
|
+
# ISO-8601 timestamp the model was originally created on Hugging Face.
|
|
33
33
|
attr_accessor :created_at
|
|
34
34
|
|
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/abliteration/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.1.13
|
|
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-11-
|
|
11
|
+
date: 2026-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|