@abliteration/sdk 0.1.1 → 0.1.3

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.
@@ -11,12 +11,11 @@
11
11
  */
12
12
  import type { Passport } from './Passport';
13
13
  /**
14
- * The full dataset record, plus files and the passport when one exists.
14
+ *
15
15
  * @export
16
16
  * @interface DatasetDetail
17
17
  */
18
18
  export interface DatasetDetail {
19
- [key: string]: any | any;
20
19
  /**
21
20
  *
22
21
  */
@@ -24,6 +23,90 @@ export interface DatasetDetail {
24
23
  /**
25
24
  *
26
25
  */
26
+ author?: string;
27
+ /**
28
+ *
29
+ */
30
+ slug?: string;
31
+ /**
32
+ *
33
+ */
34
+ category?: string;
35
+ /**
36
+ *
37
+ */
38
+ license?: string;
39
+ /**
40
+ *
41
+ */
42
+ language?: string;
43
+ /**
44
+ * Recent-window downloads reported by the Hub.
45
+ */
46
+ downloads?: number;
47
+ /**
48
+ * All-time downloads reported by the Hub.
49
+ */
50
+ downloads_all?: number;
51
+ /**
52
+ *
53
+ */
54
+ likes?: number;
55
+ /**
56
+ *
57
+ */
58
+ trending_score?: number;
59
+ /**
60
+ * Server returns 0/1 (SQLite bool convention), not a JSON boolean.
61
+ */
62
+ gated?: number;
63
+ /**
64
+ *
65
+ */
66
+ main_size_bytes?: number;
67
+ /**
68
+ * Human-formatted size (e.g. "90.4 MB").
69
+ */
70
+ size_display?: string;
71
+ /**
72
+ *
73
+ */
74
+ age_days?: number;
75
+ /**
76
+ * Server returns 0/1, not a JSON boolean.
77
+ */
78
+ is_trending?: number;
79
+ /**
80
+ * Server returns 0/1, not a JSON boolean.
81
+ */
82
+ just_added?: number;
83
+ /**
84
+ *
85
+ */
86
+ description?: string;
87
+ /**
88
+ *
89
+ */
90
+ tags?: Array<string>;
91
+ /**
92
+ *
93
+ */
94
+ hf_url?: string;
95
+ /**
96
+ *
97
+ */
98
+ created_at?: string;
99
+ /**
100
+ *
101
+ */
102
+ last_modified_at?: string;
103
+ /**
104
+ *
105
+ */
106
+ first_seen_at?: string;
107
+ /**
108
+ * Per-file entries: path, type, size_bytes, is_lfs.
109
+ */
27
110
  files?: Array<object>;
28
111
  /**
29
112
  *
@@ -32,7 +32,32 @@ function DatasetDetailFromJSONTyped(json, ignoreDiscriminator) {
32
32
  if (json == null) {
33
33
  return json;
34
34
  }
35
- return Object.assign(Object.assign({}, json), { 'id': json['id'] == null ? undefined : json['id'], 'files': json['files'] == null ? undefined : json['files'], 'passport': json['passport'] === undefined ? undefined : json['passport'] === null ? null : (0, Passport_1.PassportFromJSON)(json['passport']) });
35
+ return {
36
+ 'id': json['id'] == null ? undefined : json['id'],
37
+ 'author': json['author'] == null ? undefined : json['author'],
38
+ 'slug': json['slug'] == null ? undefined : json['slug'],
39
+ 'category': json['category'] == null ? undefined : json['category'],
40
+ 'license': json['license'] == null ? undefined : json['license'],
41
+ 'language': json['language'] == null ? undefined : json['language'],
42
+ 'downloads': json['downloads'] == null ? undefined : json['downloads'],
43
+ 'downloads_all': json['downloads_all'] == null ? undefined : json['downloads_all'],
44
+ 'likes': json['likes'] == null ? undefined : json['likes'],
45
+ 'trending_score': json['trending_score'] == null ? undefined : json['trending_score'],
46
+ 'gated': json['gated'] == null ? undefined : json['gated'],
47
+ 'main_size_bytes': json['main_size_bytes'] == null ? undefined : json['main_size_bytes'],
48
+ 'size_display': json['size_display'] == null ? undefined : json['size_display'],
49
+ 'age_days': json['age_days'] == null ? undefined : json['age_days'],
50
+ 'is_trending': json['is_trending'] == null ? undefined : json['is_trending'],
51
+ 'just_added': json['just_added'] == null ? undefined : json['just_added'],
52
+ 'description': json['description'] == null ? undefined : json['description'],
53
+ 'tags': json['tags'] == null ? undefined : json['tags'],
54
+ 'hf_url': json['hf_url'] == null ? undefined : json['hf_url'],
55
+ 'created_at': json['created_at'] == null ? undefined : json['created_at'],
56
+ 'last_modified_at': json['last_modified_at'] == null ? undefined : json['last_modified_at'],
57
+ 'first_seen_at': json['first_seen_at'] == null ? undefined : json['first_seen_at'],
58
+ 'files': json['files'] == null ? undefined : json['files'],
59
+ 'passport': json['passport'] === undefined ? undefined : json['passport'] === null ? null : (0, Passport_1.PassportFromJSON)(json['passport']),
60
+ };
36
61
  }
37
62
  function DatasetDetailToJSON(json) {
38
63
  return DatasetDetailToJSONTyped(json, false);
@@ -41,5 +66,30 @@ function DatasetDetailToJSONTyped(value, ignoreDiscriminator = false) {
41
66
  if (value == null) {
42
67
  return value;
43
68
  }
44
- return Object.assign(Object.assign({}, value), { 'id': value['id'], 'files': value['files'], 'passport': (0, Passport_1.PassportToJSON)(value['passport']) });
69
+ return {
70
+ 'id': value['id'],
71
+ 'author': value['author'],
72
+ 'slug': value['slug'],
73
+ 'category': value['category'],
74
+ 'license': value['license'],
75
+ 'language': value['language'],
76
+ 'downloads': value['downloads'],
77
+ 'downloads_all': value['downloads_all'],
78
+ 'likes': value['likes'],
79
+ 'trending_score': value['trending_score'],
80
+ 'gated': value['gated'],
81
+ 'main_size_bytes': value['main_size_bytes'],
82
+ 'size_display': value['size_display'],
83
+ 'age_days': value['age_days'],
84
+ 'is_trending': value['is_trending'],
85
+ 'just_added': value['just_added'],
86
+ 'description': value['description'],
87
+ 'tags': value['tags'],
88
+ 'hf_url': value['hf_url'],
89
+ 'created_at': value['created_at'],
90
+ 'last_modified_at': value['last_modified_at'],
91
+ 'first_seen_at': value['first_seen_at'],
92
+ 'files': value['files'],
93
+ 'passport': (0, Passport_1.PassportToJSON)(value['passport']),
94
+ };
45
95
  }
@@ -32,10 +32,182 @@ export interface ModelDetail {
32
32
  /**
33
33
  *
34
34
  */
35
- files?: Array<object>;
35
+ primary_method?: string | null;
36
+ /**
37
+ * JSON-encoded array of extra method codes.
38
+ */
39
+ secondary_methods?: string | null;
40
+ /**
41
+ *
42
+ */
43
+ confidence?: string | null;
44
+ /**
45
+ * JSON-encoded array of evidence strings.
46
+ */
47
+ classification_evidence?: string | null;
48
+ /**
49
+ *
50
+ */
51
+ classifier_version?: string | null;
52
+ /**
53
+ *
54
+ */
55
+ classified_at?: string | null;
56
+ /**
57
+ *
58
+ */
59
+ family?: string | null;
60
+ /**
61
+ *
62
+ */
63
+ params_b?: number | null;
64
+ /**
65
+ *
66
+ */
67
+ is_gguf?: number | null;
68
+ /**
69
+ *
70
+ */
71
+ is_moe?: number | null;
72
+ /**
73
+ *
74
+ */
75
+ is_multimodal?: number | null;
76
+ /**
77
+ *
78
+ */
79
+ is_image_gen?: number | null;
36
80
  /**
37
81
  *
38
82
  */
83
+ is_second_order?: number | null;
84
+ /**
85
+ *
86
+ */
87
+ downloads?: number | null;
88
+ /**
89
+ *
90
+ */
91
+ likes?: number | null;
92
+ /**
93
+ *
94
+ */
95
+ created_at?: string | null;
96
+ /**
97
+ *
98
+ */
99
+ last_modified?: string | null;
100
+ /**
101
+ *
102
+ */
103
+ first_seen_at?: string | null;
104
+ /**
105
+ *
106
+ */
107
+ last_seen_at?: string | null;
108
+ /**
109
+ *
110
+ */
111
+ readme_text?: string | null;
112
+ /**
113
+ *
114
+ */
115
+ readme_status?: string | null;
116
+ /**
117
+ * JSON-encoded array of Hub tags.
118
+ */
119
+ tags?: string | null;
120
+ /**
121
+ *
122
+ */
123
+ pipeline_tag?: string | null;
124
+ /**
125
+ *
126
+ */
127
+ library_name?: string | null;
128
+ /**
129
+ *
130
+ */
131
+ yaml_base_model?: string | null;
132
+ /**
133
+ *
134
+ */
135
+ yaml_language?: string | null;
136
+ /**
137
+ *
138
+ */
139
+ yaml_datasets?: string | null;
140
+ /**
141
+ *
142
+ */
143
+ yaml_license?: string | null;
144
+ /**
145
+ *
146
+ */
147
+ yaml_tags?: string | null;
148
+ /**
149
+ *
150
+ */
151
+ files_count?: number | null;
152
+ /**
153
+ *
154
+ */
155
+ total_size_bytes?: number | null;
156
+ /**
157
+ *
158
+ */
159
+ largest_file_bytes?: number | null;
160
+ /**
161
+ *
162
+ */
163
+ smallest_model_bytes?: number | null;
164
+ /**
165
+ * JSON-encoded array of quantisation labels.
166
+ */
167
+ quantizations?: string | null;
168
+ /**
169
+ *
170
+ */
171
+ has_mmproj?: number | null;
172
+ /**
173
+ *
174
+ */
175
+ hub_downloads_all_time?: number | null;
176
+ /**
177
+ *
178
+ */
179
+ hub_trending_score?: number | null;
180
+ /**
181
+ *
182
+ */
183
+ hub_real_params_m?: number | null;
184
+ /**
185
+ *
186
+ */
187
+ hub_context_length?: number | null;
188
+ /**
189
+ *
190
+ */
191
+ hub_siblings_count?: number | null;
192
+ /**
193
+ *
194
+ */
195
+ hub_provider_count?: number | null;
196
+ /**
197
+ *
198
+ */
199
+ hub_provider_names?: string | null;
200
+ /**
201
+ *
202
+ */
203
+ hub_enriched_at?: string | null;
204
+ /**
205
+ * Per-file manifest: filename, size_bytes, sha256, quantization, is_model_file, is_mmproj.
206
+ */
207
+ files?: Array<object>;
208
+ /**
209
+ * Two arrays under `own` and `base` — each item has benchmark_name, score, source, pertains_to.
210
+ */
39
211
  benchmarks?: object;
40
212
  /**
41
213
  *
@@ -32,7 +32,7 @@ function ModelDetailFromJSONTyped(json, ignoreDiscriminator) {
32
32
  if (json == null) {
33
33
  return json;
34
34
  }
35
- return Object.assign(Object.assign({}, json), { 'id': json['id'] == null ? undefined : json['id'], 'author': json['author'] == null ? undefined : json['author'], 'name': json['name'] == null ? undefined : json['name'], 'files': json['files'] == null ? undefined : json['files'], 'benchmarks': json['benchmarks'] == null ? undefined : json['benchmarks'], 'author_summary': json['author_summary'] === undefined ? undefined : json['author_summary'] === null ? null : (0, Author_1.AuthorFromJSON)(json['author_summary']) });
35
+ return Object.assign(Object.assign({}, json), { 'id': json['id'] == null ? undefined : json['id'], 'author': json['author'] == null ? undefined : json['author'], 'name': json['name'] == null ? undefined : json['name'], 'primary_method': json['primary_method'] === undefined ? undefined : json['primary_method'] === null ? null : json['primary_method'], 'secondary_methods': json['secondary_methods'] === undefined ? undefined : json['secondary_methods'] === null ? null : json['secondary_methods'], 'confidence': json['confidence'] === undefined ? undefined : json['confidence'] === null ? null : json['confidence'], 'classification_evidence': json['classification_evidence'] === undefined ? undefined : json['classification_evidence'] === null ? null : json['classification_evidence'], 'classifier_version': json['classifier_version'] === undefined ? undefined : json['classifier_version'] === null ? null : json['classifier_version'], 'classified_at': json['classified_at'] === undefined ? undefined : json['classified_at'] === null ? null : json['classified_at'], 'family': json['family'] === undefined ? undefined : json['family'] === null ? null : json['family'], 'params_b': json['params_b'] === undefined ? undefined : json['params_b'] === null ? null : json['params_b'], 'is_gguf': json['is_gguf'] === undefined ? undefined : json['is_gguf'] === null ? null : json['is_gguf'], 'is_moe': json['is_moe'] === undefined ? undefined : json['is_moe'] === null ? null : json['is_moe'], 'is_multimodal': json['is_multimodal'] === undefined ? undefined : json['is_multimodal'] === null ? null : json['is_multimodal'], 'is_image_gen': json['is_image_gen'] === undefined ? undefined : json['is_image_gen'] === null ? null : json['is_image_gen'], 'is_second_order': json['is_second_order'] === undefined ? undefined : json['is_second_order'] === null ? null : json['is_second_order'], 'downloads': json['downloads'] === undefined ? undefined : json['downloads'] === null ? null : json['downloads'], 'likes': json['likes'] === undefined ? undefined : json['likes'] === null ? null : json['likes'], 'created_at': json['created_at'] === undefined ? undefined : json['created_at'] === null ? null : json['created_at'], 'last_modified': json['last_modified'] === undefined ? undefined : json['last_modified'] === null ? null : json['last_modified'], 'first_seen_at': json['first_seen_at'] === undefined ? undefined : json['first_seen_at'] === null ? null : json['first_seen_at'], 'last_seen_at': json['last_seen_at'] === undefined ? undefined : json['last_seen_at'] === null ? null : json['last_seen_at'], 'readme_text': json['readme_text'] === undefined ? undefined : json['readme_text'] === null ? null : json['readme_text'], 'readme_status': json['readme_status'] === undefined ? undefined : json['readme_status'] === null ? null : json['readme_status'], 'tags': json['tags'] === undefined ? undefined : json['tags'] === null ? null : json['tags'], 'pipeline_tag': json['pipeline_tag'] === undefined ? undefined : json['pipeline_tag'] === null ? null : json['pipeline_tag'], 'library_name': json['library_name'] === undefined ? undefined : json['library_name'] === null ? null : json['library_name'], 'yaml_base_model': json['yaml_base_model'] === undefined ? undefined : json['yaml_base_model'] === null ? null : json['yaml_base_model'], 'yaml_language': json['yaml_language'] === undefined ? undefined : json['yaml_language'] === null ? null : json['yaml_language'], 'yaml_datasets': json['yaml_datasets'] === undefined ? undefined : json['yaml_datasets'] === null ? null : json['yaml_datasets'], 'yaml_license': json['yaml_license'] === undefined ? undefined : json['yaml_license'] === null ? null : json['yaml_license'], 'yaml_tags': json['yaml_tags'] === undefined ? undefined : json['yaml_tags'] === null ? null : json['yaml_tags'], 'files_count': json['files_count'] === undefined ? undefined : json['files_count'] === null ? null : json['files_count'], 'total_size_bytes': json['total_size_bytes'] === undefined ? undefined : json['total_size_bytes'] === null ? null : json['total_size_bytes'], 'largest_file_bytes': json['largest_file_bytes'] === undefined ? undefined : json['largest_file_bytes'] === null ? null : json['largest_file_bytes'], 'smallest_model_bytes': json['smallest_model_bytes'] === undefined ? undefined : json['smallest_model_bytes'] === null ? null : json['smallest_model_bytes'], 'quantizations': json['quantizations'] === undefined ? undefined : json['quantizations'] === null ? null : json['quantizations'], 'has_mmproj': json['has_mmproj'] === undefined ? undefined : json['has_mmproj'] === null ? null : json['has_mmproj'], 'hub_downloads_all_time': json['hub_downloads_all_time'] === undefined ? undefined : json['hub_downloads_all_time'] === null ? null : json['hub_downloads_all_time'], 'hub_trending_score': json['hub_trending_score'] === undefined ? undefined : json['hub_trending_score'] === null ? null : json['hub_trending_score'], 'hub_real_params_m': json['hub_real_params_m'] === undefined ? undefined : json['hub_real_params_m'] === null ? null : json['hub_real_params_m'], 'hub_context_length': json['hub_context_length'] === undefined ? undefined : json['hub_context_length'] === null ? null : json['hub_context_length'], 'hub_siblings_count': json['hub_siblings_count'] === undefined ? undefined : json['hub_siblings_count'] === null ? null : json['hub_siblings_count'], 'hub_provider_count': json['hub_provider_count'] === undefined ? undefined : json['hub_provider_count'] === null ? null : json['hub_provider_count'], 'hub_provider_names': json['hub_provider_names'] === undefined ? undefined : json['hub_provider_names'] === null ? null : json['hub_provider_names'], 'hub_enriched_at': json['hub_enriched_at'] === undefined ? undefined : json['hub_enriched_at'] === null ? null : json['hub_enriched_at'], 'files': json['files'] == null ? undefined : json['files'], 'benchmarks': json['benchmarks'] == null ? undefined : json['benchmarks'], 'author_summary': json['author_summary'] === undefined ? undefined : json['author_summary'] === null ? null : (0, Author_1.AuthorFromJSON)(json['author_summary']) });
36
36
  }
37
37
  function ModelDetailToJSON(json) {
38
38
  return ModelDetailToJSONTyped(json, false);
@@ -41,5 +41,5 @@ function ModelDetailToJSONTyped(value, ignoreDiscriminator = false) {
41
41
  if (value == null) {
42
42
  return value;
43
43
  }
44
- return Object.assign(Object.assign({}, value), { 'id': value['id'], 'author': value['author'], 'name': value['name'], 'files': value['files'], 'benchmarks': value['benchmarks'], 'author_summary': (0, Author_1.AuthorToJSON)(value['author_summary']) });
44
+ return Object.assign(Object.assign({}, value), { 'id': value['id'], 'author': value['author'], 'name': value['name'], 'primary_method': value['primary_method'], 'secondary_methods': value['secondary_methods'], 'confidence': value['confidence'], 'classification_evidence': value['classification_evidence'], 'classifier_version': value['classifier_version'], 'classified_at': value['classified_at'], 'family': value['family'], 'params_b': value['params_b'], 'is_gguf': value['is_gguf'], 'is_moe': value['is_moe'], 'is_multimodal': value['is_multimodal'], 'is_image_gen': value['is_image_gen'], 'is_second_order': value['is_second_order'], 'downloads': value['downloads'], 'likes': value['likes'], 'created_at': value['created_at'], 'last_modified': value['last_modified'], 'first_seen_at': value['first_seen_at'], 'last_seen_at': value['last_seen_at'], 'readme_text': value['readme_text'], 'readme_status': value['readme_status'], 'tags': value['tags'], 'pipeline_tag': value['pipeline_tag'], 'library_name': value['library_name'], 'yaml_base_model': value['yaml_base_model'], 'yaml_language': value['yaml_language'], 'yaml_datasets': value['yaml_datasets'], 'yaml_license': value['yaml_license'], 'yaml_tags': value['yaml_tags'], 'files_count': value['files_count'], 'total_size_bytes': value['total_size_bytes'], 'largest_file_bytes': value['largest_file_bytes'], 'smallest_model_bytes': value['smallest_model_bytes'], 'quantizations': value['quantizations'], 'has_mmproj': value['has_mmproj'], 'hub_downloads_all_time': value['hub_downloads_all_time'], 'hub_trending_score': value['hub_trending_score'], 'hub_real_params_m': value['hub_real_params_m'], 'hub_context_length': value['hub_context_length'], 'hub_siblings_count': value['hub_siblings_count'], 'hub_provider_count': value['hub_provider_count'], 'hub_provider_names': value['hub_provider_names'], 'hub_enriched_at': value['hub_enriched_at'], 'files': value['files'], 'benchmarks': value['benchmarks'], 'author_summary': (0, Author_1.AuthorToJSON)(value['author_summary']) });
45
45
  }
package/docs/Dataset.md CHANGED
@@ -11,11 +11,22 @@ Name | Type
11
11
  `slug` | string
12
12
  `category` | string
13
13
  `license` | string
14
+ `language` | string
14
15
  `downloads` | number
15
16
  `downloads_all` | number
16
17
  `likes` | number
18
+ `trending_score` | number
17
19
  `gated` | number
20
+ `main_size_bytes` | number
21
+ `size_display` | string
22
+ `age_days` | number
23
+ `is_trending` | number
24
+ `just_added` | number
25
+ `description` | string
26
+ `tags` | Array&lt;string&gt;
27
+ `hf_url` | string
18
28
  `created_at` | string
29
+ `last_modified_at` | string
19
30
  `first_seen_at` | string
20
31
 
21
32
  ## Example
@@ -30,11 +41,22 @@ const example = {
30
41
  "slug": null,
31
42
  "category": null,
32
43
  "license": null,
44
+ "language": null,
33
45
  "downloads": null,
34
46
  "downloads_all": null,
35
47
  "likes": null,
48
+ "trending_score": null,
36
49
  "gated": null,
50
+ "main_size_bytes": null,
51
+ "size_display": null,
52
+ "age_days": null,
53
+ "is_trending": null,
54
+ "just_added": null,
55
+ "description": null,
56
+ "tags": null,
57
+ "hf_url": null,
37
58
  "created_at": null,
59
+ "last_modified_at": null,
38
60
  "first_seen_at": null,
39
61
  } satisfies Dataset
40
62
 
@@ -1,13 +1,33 @@
1
1
 
2
2
  # DatasetDetail
3
3
 
4
- The full dataset record, plus files and the passport when one exists.
5
4
 
6
5
  ## Properties
7
6
 
8
7
  Name | Type
9
8
  ------------ | -------------
10
9
  `id` | string
10
+ `author` | string
11
+ `slug` | string
12
+ `category` | string
13
+ `license` | string
14
+ `language` | string
15
+ `downloads` | number
16
+ `downloads_all` | number
17
+ `likes` | number
18
+ `trending_score` | number
19
+ `gated` | number
20
+ `main_size_bytes` | number
21
+ `size_display` | string
22
+ `age_days` | number
23
+ `is_trending` | number
24
+ `just_added` | number
25
+ `description` | string
26
+ `tags` | Array&lt;string&gt;
27
+ `hf_url` | string
28
+ `created_at` | string
29
+ `last_modified_at` | string
30
+ `first_seen_at` | string
11
31
  `files` | Array&lt;object&gt;
12
32
  `passport` | [Passport](Passport.md)
13
33
 
@@ -19,6 +39,27 @@ import type { DatasetDetail } from '@abliteration/sdk'
19
39
  // TODO: Update the object below with actual values
20
40
  const example = {
21
41
  "id": null,
42
+ "author": null,
43
+ "slug": null,
44
+ "category": null,
45
+ "license": null,
46
+ "language": null,
47
+ "downloads": null,
48
+ "downloads_all": null,
49
+ "likes": null,
50
+ "trending_score": null,
51
+ "gated": null,
52
+ "main_size_bytes": null,
53
+ "size_display": null,
54
+ "age_days": null,
55
+ "is_trending": null,
56
+ "just_added": null,
57
+ "description": null,
58
+ "tags": null,
59
+ "hf_url": null,
60
+ "created_at": null,
61
+ "last_modified_at": null,
62
+ "first_seen_at": null,
22
63
  "files": null,
23
64
  "passport": null,
24
65
  } satisfies DatasetDetail
@@ -10,6 +10,49 @@ Name | Type
10
10
  `id` | string
11
11
  `author` | string
12
12
  `name` | string
13
+ `primary_method` | string
14
+ `secondary_methods` | string
15
+ `confidence` | string
16
+ `classification_evidence` | string
17
+ `classifier_version` | string
18
+ `classified_at` | string
19
+ `family` | string
20
+ `params_b` | number
21
+ `is_gguf` | number
22
+ `is_moe` | number
23
+ `is_multimodal` | number
24
+ `is_image_gen` | number
25
+ `is_second_order` | number
26
+ `downloads` | number
27
+ `likes` | number
28
+ `created_at` | string
29
+ `last_modified` | string
30
+ `first_seen_at` | string
31
+ `last_seen_at` | string
32
+ `readme_text` | string
33
+ `readme_status` | string
34
+ `tags` | string
35
+ `pipeline_tag` | string
36
+ `library_name` | string
37
+ `yaml_base_model` | string
38
+ `yaml_language` | string
39
+ `yaml_datasets` | string
40
+ `yaml_license` | string
41
+ `yaml_tags` | string
42
+ `files_count` | number
43
+ `total_size_bytes` | number
44
+ `largest_file_bytes` | number
45
+ `smallest_model_bytes` | number
46
+ `quantizations` | string
47
+ `has_mmproj` | number
48
+ `hub_downloads_all_time` | number
49
+ `hub_trending_score` | number
50
+ `hub_real_params_m` | number
51
+ `hub_context_length` | number
52
+ `hub_siblings_count` | number
53
+ `hub_provider_count` | number
54
+ `hub_provider_names` | string
55
+ `hub_enriched_at` | string
13
56
  `files` | Array&lt;object&gt;
14
57
  `benchmarks` | object
15
58
  `author_summary` | [Author](Author.md)
@@ -24,6 +67,49 @@ const example = {
24
67
  "id": null,
25
68
  "author": null,
26
69
  "name": null,
70
+ "primary_method": null,
71
+ "secondary_methods": null,
72
+ "confidence": null,
73
+ "classification_evidence": null,
74
+ "classifier_version": null,
75
+ "classified_at": null,
76
+ "family": null,
77
+ "params_b": null,
78
+ "is_gguf": null,
79
+ "is_moe": null,
80
+ "is_multimodal": null,
81
+ "is_image_gen": null,
82
+ "is_second_order": null,
83
+ "downloads": null,
84
+ "likes": null,
85
+ "created_at": null,
86
+ "last_modified": null,
87
+ "first_seen_at": null,
88
+ "last_seen_at": null,
89
+ "readme_text": null,
90
+ "readme_status": null,
91
+ "tags": null,
92
+ "pipeline_tag": null,
93
+ "library_name": null,
94
+ "yaml_base_model": null,
95
+ "yaml_language": null,
96
+ "yaml_datasets": null,
97
+ "yaml_license": null,
98
+ "yaml_tags": null,
99
+ "files_count": null,
100
+ "total_size_bytes": null,
101
+ "largest_file_bytes": null,
102
+ "smallest_model_bytes": null,
103
+ "quantizations": null,
104
+ "has_mmproj": null,
105
+ "hub_downloads_all_time": null,
106
+ "hub_trending_score": null,
107
+ "hub_real_params_m": null,
108
+ "hub_context_length": null,
109
+ "hub_siblings_count": null,
110
+ "hub_provider_count": null,
111
+ "hub_provider_names": null,
112
+ "hub_enriched_at": null,
27
113
  "files": null,
28
114
  "benchmarks": null,
29
115
  "author_summary": null,
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
+ "spaces": 2,
4
+ "generator-cli": {
5
+ "version": "7.25.0"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@abliteration/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "OpenAPI client for @abliteration/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/neymark/abliteration.git"
8
+ "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9
9
  },
10
10
  "main": "./dist/index.js",
11
11
  "types": "./dist/index.d.ts",
@@ -21,9 +21,5 @@
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org/",
23
23
  "access": "public"
24
- },
25
- "homepage": "https://abliteration.org/api",
26
- "bugs": {
27
- "url": "https://github.com/neymark/abliteration/issues"
28
24
  }
29
25
  }