JamesQuartz commited on
Commit
7098035
·
verified ·
1 Parent(s): 66dbfc3

Upload folder using huggingface_hub

Browse files
Files changed (8) hide show
  1. LICENSE +189 -0
  2. README.md +205 -0
  3. merges.txt +0 -0
  4. special_tokens_map.json +5 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +15 -0
  7. training_report.json +338 -0
  8. vocab.json +0 -0
LICENSE ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean any work of authorship, including
48
+ the original version of the Work and any modifications or additions
49
+ to that Work or Derivative Works thereof, that is intentionally
50
+ submitted to the Licensor for inclusion in the Work by the copyright owner
51
+ or by an individual or Legal Entity authorized to submit on behalf of
52
+ the copyright owner. For the purposes of this definition, "submitted"
53
+ means any form of electronic, verbal, or written communication sent
54
+ to the Licensor or its representatives, including but not limited to
55
+ communication on electronic mailing lists, source code control systems,
56
+ and issue tracking systems that are managed by, or on behalf of, the
57
+ Licensor for the purpose of discussing and improving the Work, but
58
+ excluding communication that is conspicuously marked or otherwise
59
+ designated in writing by the copyright owner as "Not a Contribution."
60
+
61
+ "Contributor" shall mean Licensor and any individual or Legal Entity
62
+ on behalf of whom a Contribution has been received by the Licensor and
63
+ subsequently incorporated within the Work.
64
+
65
+ 2. Grant of Copyright License. Subject to the terms and conditions of
66
+ this License, each Contributor hereby grants to You a perpetual,
67
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
68
+ copyright license to reproduce, prepare Derivative Works of,
69
+ publicly display, publicly perform, sublicense, and distribute the
70
+ Work and such Derivative Works in Source or Object form.
71
+
72
+ 3. Grant of Patent License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ (except as stated in this section) patent license to make, have made,
76
+ use, offer to sell, sell, import, and otherwise transfer the Work,
77
+ where such license applies only to those patent claims licensable
78
+ by such Contributor that are necessarily infringed by their
79
+ Contribution(s) alone or by combination of their Contribution(s)
80
+ with the Work to which such Contribution(s) was submitted. If You
81
+ institute patent litigation against any entity (including a
82
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
83
+ or a Contribution incorporated within the Work constitutes direct
84
+ or contributory patent infringement, then any patent licenses
85
+ granted to You under this License for that Work shall terminate
86
+ as of the date such litigation is filed.
87
+
88
+ 4. Redistribution. You may reproduce and distribute copies of the
89
+ Work or Derivative Works thereof in any medium, with or without
90
+ modifications, and in Source or Object form, provided that You
91
+ meet the following conditions:
92
+
93
+ (a) You must give any other recipients of the Work or
94
+ Derivative Works a copy of this License; and
95
+
96
+ (b) You must cause any modified files to carry prominent notices
97
+ stating that You changed the files; and
98
+
99
+ (c) You must retain, in the Source form of any Derivative Works
100
+ that You distribute, all copyright, patent, trademark, and
101
+ attribution notices from the Source form of the Work,
102
+ excluding those notices that do not pertain to any part of
103
+ the Derivative Works; and
104
+
105
+ (d) If the Work includes a "NOTICE" text file as part of its
106
+ distribution, then any Derivative Works that You distribute must
107
+ include a readable copy of the attribution notices contained
108
+ within such NOTICE file, excluding any notices that do not
109
+ pertain to any part of the Derivative Works, in at least one
110
+ of the following places: within a NOTICE text file distributed
111
+ as part of the Derivative Works; within the Source form or
112
+ documentation, if provided along with the Derivative Works; or,
113
+ within a display generated by the Derivative Works, if and
114
+ wherever such third-party notices normally appear. The contents
115
+ of the NOTICE file are for informational purposes only and
116
+ do not modify the License. You may add Your own attribution
117
+ notices within Derivative Works that You distribute, alongside
118
+ or as an addendum to the NOTICE text from the Work, provided
119
+ that such additional attribution notices cannot be construed
120
+ as modifying the License.
121
+
122
+ You may add Your own copyright statement to Your modifications and
123
+ may provide additional or different license terms and conditions
124
+ for use, reproduction, or distribution of Your modifications, or
125
+ for any such Derivative Works as a whole, provided Your use,
126
+ reproduction, and distribution of the Work otherwise complies with
127
+ the conditions stated in this License.
128
+
129
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
130
+ any Contribution intentionally submitted for inclusion in the Work
131
+ by You to the Licensor shall be under the terms and conditions of
132
+ this License, without any additional terms or conditions.
133
+ Notwithstanding the above, nothing herein shall supersede or modify
134
+ the terms of any separate license agreement you may have executed
135
+ with Licensor regarding such Contributions.
136
+
137
+ 6. Trademarks. This License does not grant permission to use the trade
138
+ names, trademarks, service marks, or product names of the Licensor,
139
+ except as required for reasonable and customary use in describing the
140
+ origin of the Work and reproducing the content of the NOTICE file.
141
+
142
+ 7. Disclaimer of Warranty. Unless required by applicable law or
143
+ agreed to in writing, Licensor provides the Work (and each
144
+ Contributor provides its Contributions) on an "AS IS" BASIS,
145
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
146
+ implied, including, without limitation, any warranties or conditions
147
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
148
+ PARTICULAR PURPOSE. You are solely responsible for determining the
149
+ appropriateness of using or redistributing the Work and assume any
150
+ risks associated with Your exercise of permissions under this License.
151
+
152
+ 8. Limitation of Liability. In no event and under no legal theory,
153
+ whether in tort (including negligence), contract, or otherwise,
154
+ unless required by applicable law (such as deliberate and grossly
155
+ negligent acts) or agreed to in writing, shall any Contributor be
156
+ liable to You for damages, including any direct, indirect, special,
157
+ incidental, or consequential damages of any character arising as a
158
+ result of this License or out of the use or inability to use the
159
+ Work (including but not limited to damages for loss of goodwill,
160
+ work stoppage, computer failure or malfunction, or any and all
161
+ other commercial damages or losses), even if such Contributor
162
+ has been advised of the possibility of such damages.
163
+
164
+ 9. Accepting Warranty or Additional Liability. While redistributing
165
+ the Work or Derivative Works thereof, You may choose to offer,
166
+ and charge a fee for, acceptance of support, warranty, indemnity,
167
+ or other liability obligations and/or rights consistent with this
168
+ License. However, in accepting such obligations, You may act only
169
+ on Your own behalf and on Your sole responsibility, not on behalf
170
+ of any other Contributor, and only if You agree to indemnify,
171
+ defend, and hold each Contributor harmless for any liability
172
+ incurred by, or claims asserted against, such Contributor by reason
173
+ of your accepting any such warranty or additional liability.
174
+
175
+ END OF TERMS AND CONDITIONS
176
+
177
+ Copyright 2025-2026 AENEA Global Ltd
178
+
179
+ Licensed under the Apache License, Version 2.0 (the "License");
180
+ you may not use this file except in compliance with the License.
181
+ You may obtain a copy of the License at
182
+
183
+ http://www.apache.org/licenses/LICENSE-2.0
184
+
185
+ Unless required by applicable law or agreed to in writing, software
186
+ distributed under the License is distributed on an "AS IS" BASIS,
187
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
188
+ See the License for the specific language governing permissions and
189
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - de
5
+ - fr
6
+ - es
7
+ - pt
8
+ - it
9
+ - nl
10
+ - pl
11
+ - ro
12
+ - cs
13
+ - sv
14
+ - da
15
+ - "no"
16
+ - fi
17
+ - hu
18
+ - hr
19
+ - bg
20
+ - tr
21
+ - ca
22
+ - ru
23
+ - uk
24
+ - sr
25
+ - zh
26
+ - ja
27
+ - ko
28
+ - ar
29
+ - fa
30
+ - he
31
+ - hi
32
+ - bn
33
+ - th
34
+ - vi
35
+ - ka
36
+ - hy
37
+ - el
38
+ - yi
39
+ - ur
40
+ - ta
41
+ - te
42
+ - gu
43
+ - pa
44
+ - ml
45
+ - kn
46
+ - am
47
+ - si
48
+ - my
49
+ - km
50
+ - mr
51
+ - ne
52
+ - or
53
+ - bo
54
+ - dv
55
+ - eu
56
+ - gl
57
+ - gd
58
+ - et
59
+ - sk
60
+ - lt
61
+ - sl
62
+ - lv
63
+ - af
64
+ - sq
65
+ - sw
66
+ - is
67
+ - tl
68
+ - cy
69
+ - ga
70
+ - br
71
+ - la
72
+ - mk
73
+ - id
74
+ - code
75
+ license: apache-2.0
76
+ library_name: tokenizers
77
+ tags:
78
+ - tokenizer
79
+ - bpe
80
+ - multilingual
81
+ - code
82
+ - quartz
83
+ - aenea
84
+ - coding
85
+ - python
86
+ - flores
87
+ pipeline_tag: text-generation
88
+ ---
89
+
90
+ # QT_V.2 Code 114K — Multilingual Coding Tokenizer
91
+
92
+ **Lowest total tokens on our 66-test field benchmark of any tokenizer at any vocab size.** 114,688 vocabulary optimised for multilingual coding models. Trained with doubled code weight (37% of corpus) including 450K high-quality Python functions from CodeSearchNet. Beats Llama 3, Tekken, and Qwen 2.5 on total tokens while using 10–37% less vocabulary. Validated on FLORES-200 across 204 languages.
93
+
94
+ Part of the **QT_V.2 tokenizer family** by [Quartz Data Infrastructure](https://quartz.host), the open data layer behind [AENEA](https://aenea.app).
95
+
96
+ ## FLORES-200 Results (204 Languages · 1,012 Parallel Sentences)
97
+
98
+ | Metric | QT Code 114K | QT 96K | QT 64K | Llama 3 (128K) | Tekken (131K) | Qwen 2.5 (152K) |
99
+ |---|---|---|---|---|---|---|
100
+ | **Total tokens** | 13,007,924 | **12,961,617** | 13,592,357 | 16,764,198 | 14,421,539 | 15,425,680 |
101
+ | **Equity ratio** | 43.3× | **31.6×** | 41.0× | 118.6× | 127.9× | 77.7× |
102
+ | Mean fertility | 4.03 | **3.94** | 4.18 | 5.72 | 5.34 | 4.91 |
103
+
104
+ QT Code 114K uses **22.4% fewer tokens than Llama 3** and **9.8% fewer than Tekken** across all 204 FLORES languages — with 10–37% less vocabulary.
105
+
106
+ ### Key FLORES Languages (tok/word)
107
+
108
+ | Language | QT Code | Llama 3 | Tekken | Qwen 2.5 |
109
+ |---|---|---|---|---|
110
+ | Japanese | **32.1** | 38.9 | 41.3 | 35.8 |
111
+ | Tibetan | **46.5** | 149.8 | 168.4 | 98.0 |
112
+ | Sinhala | **3.58** | 11.37 | 16.60 | 9.17 |
113
+ | Amharic | **3.40** | 11.95 | 11.98 | 6.45 |
114
+ | Georgian | **3.46** | 15.47 | 3.93 | 8.33 |
115
+ | Odia | **4.10** | 16.90 | 18.30 | 13.65 |
116
+
117
+ ## Field Benchmark (66 Tests)
118
+
119
+ | Metric | Value |
120
+ |---|---|
121
+ | **Total tokens** | **3,314** (lowest of any tokenizer) |
122
+ | vs Llama 3 (128K) | 41.2% fewer tokens |
123
+ | vs Tekken (131K) | 23.8% fewer tokens |
124
+ | vs Qwen 2.5 (152K) | 36.1% fewer tokens |
125
+
126
+ ### Code Performance
127
+
128
+ | Language | QT Code | QT 96K | QT 64K | Llama 3 | Tekken | Qwen 2.5 |
129
+ |---|---|---|---|---|---|---|
130
+ | Python | **110** | 115 | 125 | 97 | 112 | 105 |
131
+ | JavaScript | **67** | 71 | 71 | 65 | 69 | 64 |
132
+ | Rust | **111** | 113 | 117 | 108 | 111 | 107 |
133
+
134
+ Python compression improved from 125 (64K) to 115 (96K) to **110** (Code 114K) — closing the gap versus Llama 3's 97 from 28.9% to 13.4%.
135
+
136
+ ### Category Totals (lower is better)
137
+
138
+ | Category | QT Code | Llama 3 | Tekken | Qwen 2.5 |
139
+ |---|---|---|---|---|
140
+ | Natural Languages (20) | **1,033** | 1,599 | 1,038 | 1,535 |
141
+ | V1 Expansion (14) | **662** | 1,758 | 1,092 | 1,509 |
142
+ | V2 New Scripts (3) | **188** | 692 | 740 | 523 |
143
+ | Celtic / Brythonic (8) | **312** | 391 | 341 | 384 |
144
+ | Code (3) | 288 | **270** | 292 | 276 |
145
+ | **TOTAL (66 tests)** | **3,314** | 5,639 | 4,347 | 5,183 |
146
+
147
+ ## When to Use This Variant
148
+
149
+ **QT_V.2 Code 114K** is designed for multilingual coding assistants and code generation models. It wins Natural Languages outright (1,033 — beating Tekken's 1,038) while offering competitive code compression. Ideal for models that must serve both code and diverse natural language users.
150
+
151
+ Also available: [QT_V.2 64K](https://huggingface.co/QuartzOpen/QT_V.2_64K) (smallest embedding) · [QT_V.2 96K](https://huggingface.co/QuartzOpen/QT_V.2_96K) (best all-round)
152
+
153
+ ## Usage
154
+
155
+ ```python
156
+ from tokenizers import Tokenizer
157
+ tok = Tokenizer.from_file("tokenizer.json")
158
+ encoded = tok.encode("def fibonacci(n):\n if n <= 1:\n return n\n return fibonacci(n-1) + fibonacci(n-2)")
159
+ print(encoded.tokens)
160
+ ```
161
+
162
+ ## Specifications
163
+
164
+ | Spec | Value |
165
+ |---|---|
166
+ | Vocabulary | 114,688 |
167
+ | Languages | 71 natural + 15 code (incl. CodeSearchNet) |
168
+ | Script families | 26 |
169
+ | Pretokenizer | Llama 3 regex |
170
+ | Arithmetic | Single-digit splitting |
171
+ | Max token length | 15 chars |
172
+ | Avg token length | 6.24 chars |
173
+ | Compression | 3.60 chars/token |
174
+
175
+ ## Training
176
+
177
+ Byte-level BPE with Llama 3 regex pretokenizer. Code-heavy corpus:
178
+
179
+ | Category | Share | Sources |
180
+ |---|---|---|
181
+ | Wikipedia | 37.3% | 71 languages (wiki_ultra_clean v7.3) |
182
+ | Code | 37.4% | 14 languages + CodeSearchNet Python (450K functions) |
183
+ | Stack Exchange | 25.3% | 49 sites (se_ultra_clean v1) |
184
+
185
+ ## Files
186
+
187
+ `tokenizer.json` · `vocab.json` · `merges.txt` · `training_report.json`
188
+
189
+ ## Contact
190
+
191
+ Open-source: quartzopensource@gmail.com
192
+ Commercial licensing & enterprise: commercial@aeneaglobal.com
193
+
194
+ ## License
195
+
196
+ Apache 2.0 — Copyright 2025-2026 AENEA Global Ltd
197
+
198
+ ```bibtex
199
+ @misc{qt_v2_2026,
200
+ title={QT_V.2: A Multilingual BPE Tokenizer Family},
201
+ author={AENEA Global Ltd},
202
+ year={2026},
203
+ url={https://quartz.host},
204
+ }
205
+ ```
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|bos|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<pad>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokenizer_class": "PreTrainedTokenizerFast",
3
+ "model_type": "bpe",
4
+ "bos_token": "<|bos|>",
5
+ "eos_token": "<|endoftext|>",
6
+ "pad_token": "<pad>",
7
+ "unk_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "model_max_length": 131072,
10
+ "added_tokens_decoder": {
11
+ "0": {"content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true},
12
+ "1": {"content": "<|bos|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true},
13
+ "2": {"content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true}
14
+ }
15
+ }
training_report.json ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "vocab_size": 114688,
3
+ "avg_token_length_chars": 6.24,
4
+ "max_token_length_chars": 15,
5
+ "single_byte_tokens": 256,
6
+ "special_tokens": [
7
+ {
8
+ "token": "<pad>",
9
+ "id": 0
10
+ },
11
+ {
12
+ "token": "<|bos|>",
13
+ "id": 1
14
+ },
15
+ {
16
+ "token": "<|endoftext|>",
17
+ "id": 2
18
+ },
19
+ {
20
+ "token": "<",
21
+ "id": 30
22
+ },
23
+ {
24
+ "token": "[",
25
+ "id": 61
26
+ },
27
+ {
28
+ "token": "[User",
29
+ "id": 984
30
+ },
31
+ {
32
+ "token": "[System",
33
+ "id": 1019
34
+ },
35
+ {
36
+ "token": "[]",
37
+ "id": 2190
38
+ },
39
+ {
40
+ "token": "['",
41
+ "id": 2206
42
+ },
43
+ {
44
+ "token": "[\"",
45
+ "id": 3088
46
+ },
47
+ {
48
+ "token": "</",
49
+ "id": 3103
50
+ },
51
+ {
52
+ "token": "[i",
53
+ "id": 3156
54
+ },
55
+ {
56
+ "token": "<T",
57
+ "id": 4720
58
+ },
59
+ {
60
+ "token": "[:",
61
+ "id": 6758
62
+ },
63
+ {
64
+ "token": "[Oracle",
65
+ "id": 8458
66
+ },
67
+ {
68
+ "token": "<String",
69
+ "id": 8677
70
+ },
71
+ {
72
+ "token": "<int",
73
+ "id": 8793
74
+ },
75
+ {
76
+ "token": "[string",
77
+ "id": 9942
78
+ },
79
+ {
80
+ "token": "<string",
81
+ "id": 10055
82
+ },
83
+ {
84
+ "token": "[str",
85
+ "id": 10751
86
+ }
87
+ ],
88
+ "compression_ratio_chars_per_token": 3.597,
89
+ "fertility_tokens_per_word": 4.042,
90
+ "training_files": 1086,
91
+ "training_time_seconds": 308.3,
92
+ "config": {
93
+ "preset": "llama3",
94
+ "vocab_size": 114688,
95
+ "min_frequency": 2,
96
+ "bpe_dropout": null,
97
+ "single_digit": true,
98
+ "max_token_length": 16,
99
+ "special_tokens": [
100
+ "<pad>",
101
+ "<|bos|>",
102
+ "<|endoftext|>"
103
+ ],
104
+ "sample_ratio": 0.12
105
+ },
106
+ "per_language_evaluation": {
107
+ "ar": {
108
+ "chars": 135,
109
+ "bytes": 250,
110
+ "tokens": 38,
111
+ "words": 20,
112
+ "chars_per_token": 3.553,
113
+ "bytes_per_token": 6.579,
114
+ "tokens_per_word": 1.9,
115
+ "byte_fragmentation_ratio": 0.132
116
+ },
117
+ "arithmetic": {
118
+ "chars": 88,
119
+ "bytes": 88,
120
+ "tokens": 78,
121
+ "words": 18,
122
+ "chars_per_token": 1.128,
123
+ "bytes_per_token": 1.128,
124
+ "tokens_per_word": 4.333,
125
+ "byte_fragmentation_ratio": 0.987
126
+ },
127
+ "bn": {
128
+ "chars": 129,
129
+ "bytes": 347,
130
+ "tokens": 68,
131
+ "words": 21,
132
+ "chars_per_token": 1.897,
133
+ "bytes_per_token": 5.103,
134
+ "tokens_per_word": 3.238,
135
+ "byte_fragmentation_ratio": 0.0
136
+ },
137
+ "de": {
138
+ "chars": 177,
139
+ "bytes": 180,
140
+ "tokens": 29,
141
+ "words": 23,
142
+ "chars_per_token": 6.103,
143
+ "bytes_per_token": 6.207,
144
+ "tokens_per_word": 1.261,
145
+ "byte_fragmentation_ratio": 0.069
146
+ },
147
+ "el": {
148
+ "chars": 158,
149
+ "bytes": 289,
150
+ "tokens": 52,
151
+ "words": 26,
152
+ "chars_per_token": 3.038,
153
+ "bytes_per_token": 5.558,
154
+ "tokens_per_word": 2.0,
155
+ "byte_fragmentation_ratio": 0.154
156
+ },
157
+ "en": {
158
+ "chars": 224,
159
+ "bytes": 224,
160
+ "tokens": 40,
161
+ "words": 30,
162
+ "chars_per_token": 5.6,
163
+ "bytes_per_token": 5.6,
164
+ "tokens_per_word": 1.333,
165
+ "byte_fragmentation_ratio": 0.175
166
+ },
167
+ "es": {
168
+ "chars": 162,
169
+ "bytes": 168,
170
+ "tokens": 36,
171
+ "words": 26,
172
+ "chars_per_token": 4.5,
173
+ "bytes_per_token": 4.667,
174
+ "tokens_per_word": 1.385,
175
+ "byte_fragmentation_ratio": 0.25
176
+ },
177
+ "fa": {
178
+ "chars": 153,
179
+ "bytes": 281,
180
+ "tokens": 42,
181
+ "words": 28,
182
+ "chars_per_token": 3.643,
183
+ "bytes_per_token": 6.69,
184
+ "tokens_per_word": 1.5,
185
+ "byte_fragmentation_ratio": 0.024
186
+ },
187
+ "fr": {
188
+ "chars": 175,
189
+ "bytes": 183,
190
+ "tokens": 39,
191
+ "words": 26,
192
+ "chars_per_token": 4.487,
193
+ "bytes_per_token": 4.692,
194
+ "tokens_per_word": 1.5,
195
+ "byte_fragmentation_ratio": 0.333
196
+ },
197
+ "he": {
198
+ "chars": 136,
199
+ "bytes": 249,
200
+ "tokens": 43,
201
+ "words": 22,
202
+ "chars_per_token": 3.163,
203
+ "bytes_per_token": 5.791,
204
+ "tokens_per_word": 1.955,
205
+ "byte_fragmentation_ratio": 0.14
206
+ },
207
+ "hi": {
208
+ "chars": 137,
209
+ "bytes": 353,
210
+ "tokens": 67,
211
+ "words": 30,
212
+ "chars_per_token": 2.045,
213
+ "bytes_per_token": 5.269,
214
+ "tokens_per_word": 2.233,
215
+ "byte_fragmentation_ratio": 0.0
216
+ },
217
+ "hy": {
218
+ "chars": 140,
219
+ "bytes": 257,
220
+ "tokens": 48,
221
+ "words": 20,
222
+ "chars_per_token": 2.917,
223
+ "bytes_per_token": 5.354,
224
+ "tokens_per_word": 2.4,
225
+ "byte_fragmentation_ratio": 0.229
226
+ },
227
+ "ja": {
228
+ "chars": 70,
229
+ "bytes": 210,
230
+ "tokens": 41,
231
+ "words": 1,
232
+ "chars_per_token": 1.707,
233
+ "bytes_per_token": 5.122,
234
+ "tokens_per_word": 41.0,
235
+ "byte_fragmentation_ratio": 0.0
236
+ },
237
+ "javascript": {
238
+ "chars": 212,
239
+ "bytes": 212,
240
+ "tokens": 53,
241
+ "words": 31,
242
+ "chars_per_token": 4.0,
243
+ "bytes_per_token": 4.0,
244
+ "tokens_per_word": 1.71,
245
+ "byte_fragmentation_ratio": 0.245
246
+ },
247
+ "ka": {
248
+ "chars": 126,
249
+ "bytes": 346,
250
+ "tokens": 47,
251
+ "words": 14,
252
+ "chars_per_token": 2.681,
253
+ "bytes_per_token": 7.362,
254
+ "tokens_per_word": 3.357,
255
+ "byte_fragmentation_ratio": 0.085
256
+ },
257
+ "ko": {
258
+ "chars": 73,
259
+ "bytes": 185,
260
+ "tokens": 33,
261
+ "words": 16,
262
+ "chars_per_token": 2.212,
263
+ "bytes_per_token": 5.606,
264
+ "tokens_per_word": 2.062,
265
+ "byte_fragmentation_ratio": 0.061
266
+ },
267
+ "math": {
268
+ "chars": 152,
269
+ "bytes": 172,
270
+ "tokens": 83,
271
+ "words": 28,
272
+ "chars_per_token": 1.831,
273
+ "bytes_per_token": 2.072,
274
+ "tokens_per_word": 2.964,
275
+ "byte_fragmentation_ratio": 0.771
276
+ },
277
+ "python": {
278
+ "chars": 202,
279
+ "bytes": 202,
280
+ "tokens": 60,
281
+ "words": 32,
282
+ "chars_per_token": 3.367,
283
+ "bytes_per_token": 3.367,
284
+ "tokens_per_word": 1.875,
285
+ "byte_fragmentation_ratio": 0.5
286
+ },
287
+ "ru": {
288
+ "chars": 190,
289
+ "bytes": 357,
290
+ "tokens": 45,
291
+ "words": 23,
292
+ "chars_per_token": 4.222,
293
+ "bytes_per_token": 7.933,
294
+ "tokens_per_word": 1.957,
295
+ "byte_fragmentation_ratio": 0.022
296
+ },
297
+ "th": {
298
+ "chars": 123,
299
+ "bytes": 367,
300
+ "tokens": 51,
301
+ "words": 2,
302
+ "chars_per_token": 2.412,
303
+ "bytes_per_token": 7.196,
304
+ "tokens_per_word": 25.5,
305
+ "byte_fragmentation_ratio": 0.0
306
+ },
307
+ "uk": {
308
+ "chars": 157,
309
+ "bytes": 291,
310
+ "tokens": 43,
311
+ "words": 22,
312
+ "chars_per_token": 3.651,
313
+ "bytes_per_token": 6.767,
314
+ "tokens_per_word": 1.955,
315
+ "byte_fragmentation_ratio": 0.116
316
+ },
317
+ "vi": {
318
+ "chars": 143,
319
+ "bytes": 190,
320
+ "tokens": 41,
321
+ "words": 34,
322
+ "chars_per_token": 3.488,
323
+ "bytes_per_token": 4.634,
324
+ "tokens_per_word": 1.206,
325
+ "byte_fragmentation_ratio": 0.146
326
+ },
327
+ "zh": {
328
+ "chars": 62,
329
+ "bytes": 186,
330
+ "tokens": 34,
331
+ "words": 1,
332
+ "chars_per_token": 1.824,
333
+ "bytes_per_token": 5.471,
334
+ "tokens_per_word": 34.0,
335
+ "byte_fragmentation_ratio": 0.0
336
+ }
337
+ }
338
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff