vijaym Claude Opus 4.7 (1M context) commited on
Commit
78e474b
·
1 Parent(s): a5f4341

Add config.json and drop unregistered library_name

Browse files

The Hub counts downloads via per-library query files. With
`library_name: pytorch` (not registered in huggingface.js) and no
`config.json` in the repo, nothing was being counted. Removing the
library tag falls back to the defaults, of which `config.json` is the
standard one. The config mirrors the architecture and label maps from
training_metadata.json.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (2) hide show
  1. README.md +0 -1
  2. config.json +237 -0
README.md CHANGED
@@ -7,7 +7,6 @@ tags:
7
  - code
8
  - byte-level
9
  - lite
10
- library_name: pytorch
11
  pipeline_tag: text-classification
12
  metrics:
13
  - f1
 
7
  - code
8
  - byte-level
9
  - lite
 
10
  pipeline_tag: text-classification
11
  metrics:
12
  - f1
config.json ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "byte_hybrid",
3
+ "architectures": ["ByteHybrid"],
4
+ "config_name": "base_ngram",
5
+ "num_classes": 107,
6
+ "max_len": 1023,
7
+ "n_params": 2289515,
8
+ "byte_vocab_size": 257,
9
+ "pad_id": 256,
10
+ "hyperparams": {
11
+ "d_model": 256,
12
+ "n_conv": 3,
13
+ "conv_kernel": 15,
14
+ "n_attn": 1,
15
+ "n_heads": 4,
16
+ "ngram_buckets": 4096,
17
+ "ngram_dim": 64
18
+ },
19
+ "id2label": {
20
+ "0": "Julia",
21
+ "1": "Go",
22
+ "2": "Raku",
23
+ "3": "Pascal",
24
+ "4": "Perl",
25
+ "5": "Python",
26
+ "6": "Nim",
27
+ "7": "J",
28
+ "8": "C",
29
+ "9": "Haskell",
30
+ "10": "Mathematica/Wolfram Language",
31
+ "11": "Kotlin",
32
+ "12": "Java",
33
+ "13": "Ruby",
34
+ "14": "Racket",
35
+ "15": "C++",
36
+ "16": "Tcl",
37
+ "17": "C#",
38
+ "18": "Scala",
39
+ "19": "Ada",
40
+ "20": "Factor",
41
+ "21": "Rust",
42
+ "22": "Lua",
43
+ "23": "D",
44
+ "24": "Common Lisp",
45
+ "25": "AutoHotkey",
46
+ "26": "JavaScript",
47
+ "27": "F#",
48
+ "28": "Wren",
49
+ "29": "Clojure",
50
+ "30": "Fortran",
51
+ "31": "PureBasic",
52
+ "32": "OCaml",
53
+ "33": "Awk",
54
+ "34": "R",
55
+ "35": "Swift",
56
+ "36": "Forth",
57
+ "37": "Elixir",
58
+ "38": "Erlang",
59
+ "39": "PowerShell",
60
+ "40": "Groovy",
61
+ "41": "REXX",
62
+ "42": "Visual Basic .NET",
63
+ "43": "PHP",
64
+ "44": "Prolog",
65
+ "45": "Scheme",
66
+ "46": "AppleScript",
67
+ "47": "COBOL",
68
+ "48": "FreeBASIC",
69
+ "49": "Smalltalk",
70
+ "50": "PicoLisp",
71
+ "51": "MATLAB",
72
+ "52": "Oz",
73
+ "53": "Standard ML",
74
+ "54": "Lasso",
75
+ "55": "Crystal",
76
+ "56": "APL",
77
+ "57": "Stata",
78
+ "58": "CoffeeScript",
79
+ "59": "Batchfile",
80
+ "60": "jq",
81
+ "61": "GAP",
82
+ "62": "Red",
83
+ "63": "Emacs Lisp",
84
+ "64": "Eiffel",
85
+ "65": "Fantom",
86
+ "66": "Ring",
87
+ "67": "Pike",
88
+ "68": "Rebol",
89
+ "69": "ActionScript",
90
+ "70": "MAXScript",
91
+ "71": "Vala",
92
+ "72": "Dart",
93
+ "73": "Processing",
94
+ "74": "Ceylon",
95
+ "75": "AutoIt",
96
+ "76": "Io",
97
+ "77": "M4",
98
+ "78": "Zig",
99
+ "79": "LFE",
100
+ "80": "ATS",
101
+ "81": "Logtalk",
102
+ "82": "ABAP",
103
+ "83": "Scilab",
104
+ "84": "IDL",
105
+ "85": "LabVIEW",
106
+ "86": "ColdFusion",
107
+ "87": "SAS",
108
+ "88": "Haxe",
109
+ "89": "VBA",
110
+ "90": "BASIC",
111
+ "91": "V",
112
+ "92": "VBScript",
113
+ "93": "E",
114
+ "94": "Euphoria",
115
+ "95": "ARM Assembly",
116
+ "96": "Component Pascal",
117
+ "97": "M",
118
+ "98": "Modula-2",
119
+ "99": "BQN",
120
+ "100": "Befunge",
121
+ "101": "Objective-C",
122
+ "102": "NewLisp",
123
+ "103": "Nemerle",
124
+ "104": "Modula-3",
125
+ "105": "Mercury",
126
+ "106": "QuickBASIC"
127
+ },
128
+ "label2id": {
129
+ "ABAP": 82,
130
+ "APL": 56,
131
+ "ARM Assembly": 95,
132
+ "ATS": 80,
133
+ "ActionScript": 69,
134
+ "Ada": 19,
135
+ "AppleScript": 46,
136
+ "AutoHotkey": 25,
137
+ "AutoIt": 75,
138
+ "Awk": 33,
139
+ "BASIC": 90,
140
+ "BQN": 99,
141
+ "Batchfile": 59,
142
+ "Befunge": 100,
143
+ "C": 8,
144
+ "C#": 17,
145
+ "C++": 15,
146
+ "COBOL": 47,
147
+ "Ceylon": 74,
148
+ "Clojure": 29,
149
+ "CoffeeScript": 58,
150
+ "ColdFusion": 86,
151
+ "Common Lisp": 24,
152
+ "Component Pascal": 96,
153
+ "Crystal": 55,
154
+ "D": 23,
155
+ "Dart": 72,
156
+ "E": 93,
157
+ "Eiffel": 64,
158
+ "Elixir": 37,
159
+ "Emacs Lisp": 63,
160
+ "Erlang": 38,
161
+ "Euphoria": 94,
162
+ "F#": 27,
163
+ "Factor": 20,
164
+ "Fantom": 65,
165
+ "Forth": 36,
166
+ "Fortran": 30,
167
+ "FreeBASIC": 48,
168
+ "GAP": 61,
169
+ "Go": 1,
170
+ "Groovy": 40,
171
+ "Haskell": 9,
172
+ "Haxe": 88,
173
+ "IDL": 84,
174
+ "Io": 76,
175
+ "J": 7,
176
+ "Java": 12,
177
+ "JavaScript": 26,
178
+ "Julia": 0,
179
+ "Kotlin": 11,
180
+ "LFE": 79,
181
+ "LabVIEW": 85,
182
+ "Lasso": 54,
183
+ "Logtalk": 81,
184
+ "Lua": 22,
185
+ "M": 97,
186
+ "M4": 77,
187
+ "MATLAB": 51,
188
+ "MAXScript": 70,
189
+ "Mathematica/Wolfram Language": 10,
190
+ "Mercury": 105,
191
+ "Modula-2": 98,
192
+ "Modula-3": 104,
193
+ "Nemerle": 103,
194
+ "NewLisp": 102,
195
+ "Nim": 6,
196
+ "OCaml": 32,
197
+ "Objective-C": 101,
198
+ "Oz": 52,
199
+ "PHP": 43,
200
+ "Pascal": 3,
201
+ "Perl": 4,
202
+ "PicoLisp": 50,
203
+ "Pike": 67,
204
+ "PowerShell": 39,
205
+ "Processing": 73,
206
+ "Prolog": 44,
207
+ "PureBasic": 31,
208
+ "Python": 5,
209
+ "QuickBASIC": 106,
210
+ "R": 34,
211
+ "REXX": 41,
212
+ "Racket": 14,
213
+ "Raku": 2,
214
+ "Rebol": 68,
215
+ "Red": 62,
216
+ "Ring": 66,
217
+ "Ruby": 13,
218
+ "Rust": 21,
219
+ "SAS": 87,
220
+ "Scala": 18,
221
+ "Scheme": 45,
222
+ "Scilab": 83,
223
+ "Smalltalk": 49,
224
+ "Standard ML": 53,
225
+ "Stata": 57,
226
+ "Swift": 35,
227
+ "Tcl": 16,
228
+ "V": 91,
229
+ "VBA": 89,
230
+ "VBScript": 92,
231
+ "Vala": 71,
232
+ "Visual Basic .NET": 42,
233
+ "Wren": 28,
234
+ "Zig": 78,
235
+ "jq": 60
236
+ }
237
+ }