laohur commited on
Commit
0ca5fab
·
0 Parent(s):

WordEmbedding: 384-d int8 vectors for 1,672,738 words in 42 languages

Browse files

One row per word of the cleaned vocabradar/wordfreq lists: data/<lang>.words.txt
(UTF-8, one word per line, frequency order) and data/<lang>.int8.vector
(int8, row-major, N x 384, no header). Row i of the matrix is line i of the
words file. Dequantize with v = int8 / 127.0; cosine = dot / 127^2 after
casting to float32/int32.

Vectors come from hotchpotch/bekko-embedding-v1-a25m (ModernBERT, MIT) run
through llama.cpp (BF16 GGUF, mean pooling, L2-normalized) and quantized to
int8: mean cosine 0.999017, no all-zero rows. meta.json / files.json record
per-language counts, backends and SHA-256 for every data file.

This view is limited to 50 files because it contains too many changes.   See raw diff
.gitattributes ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # int8 weight-like payloads: large, binary, exact bytes matter
2
+ *.bin filter=lfs diff=lfs merge=lfs -text
3
+ *.int8.vector filter=lfs diff=lfs merge=lfs -text
4
+ # word lists are byte-exact UTF-8 with LF endings; never let git rewrite them,
5
+ # otherwise files.json SHA-256 would depend on the checkout's autocrlf setting
6
+ *.words.txt -text
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ work/
2
+ __pycache__/
3
+ *.pyc
.hfignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .git/
README.md ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: [ar, bg, bn, ca, cs, da, de, el, en, es, fa, fi, fil, fr, he, hi, hu, id, is, it, ja, ko, lt, lv, mk, ms, nb, nl, pl, pt, ro, ru, sh, sk, sl, sv, ta, tr, uk, ur, vi, zh]
3
+ license: mit
4
+ multilinguality: multilingual
5
+ pretty_name: Word Embeddings for 1.67M Words in 42 Languages / 42 语 167 万词向量
6
+ size_categories:
7
+ - 1M<n<10M
8
+ source_datasets:
9
+ - vocabradar/wordfreq
10
+ tags:
11
+ - embeddings
12
+ - word-embeddings
13
+ - int8
14
+ - quantization
15
+ - multilingual
16
+ - llama.cpp
17
+ ---
18
+
19
+ # Word Embeddings — 1,672,738 words in 42 languages
20
+
21
+ One 384-dimensional vector for **every word** in
22
+ [vocabradar/wordfreq](https://huggingface.co/datasets/vocabradar/wordfreq):
23
+ **42 languages, 1,672,738 words**. The word lists and the vector matrices are
24
+ row-for-row aligned, so a word's line number in the list is also its row in the
25
+ matrix and its frequency rank.
26
+
27
+ Vectors come from
28
+ [`hotchpotch/bekko-embedding-v1-a25m`](https://huggingface.co/hotchpotch/bekko-embedding-v1-a25m)
29
+ — a 24.9M-parameter multilingual ModernBERT encoder (MIT), mean pooling,
30
+ L2-normalized, 384 dimensions (Matryoshka 256 / 128 / 64). Inference runs on
31
+ llama.cpp with the official BF16 GGUF (`--embedding --pooling mean
32
+ --embd-normalize 2`, Vulkan GPU offload). Each normalized vector is then
33
+ quantized to **int8 with scale 127**, which keeps the whole dataset at about
34
+ 612 MiB while preserving cosine similarity to within ~0.001.
35
+
36
+ > 中文版请见下方:[中文版说明](#zh)
37
+
38
+ ## Files
39
+
40
+ ```
41
+ WordEmbedding/
42
+ ├── README.md # this card, bilingual
43
+ ├── meta.json # model, format, per-language counts
44
+ ├── files.json # size + SHA-256 of every data file
45
+ ├── tools/
46
+ │ ├── build_dataset.py # embed (llama.cpp) + finalize (meta/files)
47
+ │ ├── gen_readme.py # regenerate the generated tables below
48
+ │ └── verify.py # re-check sizes, SHA-256, row alignment
49
+ └── data/
50
+ ├── <lang>.words.txt # UTF-8 words, one per line, frequency order
51
+ └── <lang>.int8.vector # int8 vectors, row-major, N × 384
52
+ ```
53
+
54
+ One pair of files per language (`en`, `zh`, `ar`, … — 42 in total).
55
+
56
+ ## Data format
57
+
58
+ For a language `xx`:
59
+
60
+ - `<xx>.words.txt` — plain UTF-8, **one word per line**, in cleaned
61
+ wordfreq order (descending frequency). Line `i` (0-based) has frequency rank
62
+ `i + 1`.
63
+ - `<xx>.int8.vector` — raw **int8**, **row-major**, shape `N × 384`, no header.
64
+ Row `i` is the vector of line `i` in the words file.
65
+ - `N = file size / 384`.
66
+ - Dequantize with `v = int8 / 127.0`. Rows were L2-normalized *before*
67
+ quantization, so the result is close to unit length.
68
+ - Cosine similarity: `dot(a, b) / 127²` after casting to `float32` or `int32`.
69
+ Do **not** call `numpy.dot` directly on two `int8` arrays — the accumulator
70
+ overflows for 384 dimensions.
71
+
72
+ ## Quick start
73
+
74
+ ```python
75
+ import numpy as np
76
+
77
+ words = open("data/en.words.txt", encoding="utf-8").read().splitlines()
78
+ vec = np.memmap("data/en.int8.vector", dtype=np.int8, mode="r").reshape(-1, 384)
79
+ q = vec.astype(np.float32) / 127.0 # N × 384, approximately unit length
80
+
81
+ i = words.index("apple")
82
+ sims = q @ q[i] # cosine similarities
83
+ for j in np.argsort(-sims)[1:11]:
84
+ print(f"{words[j]:20s} {sims[j]:.4f}")
85
+ ```
86
+
87
+ The same matrix works across languages: `apple` is close to `苹果`, `pomme`,
88
+ `Apfel`, and so on, because bekko is a multilingual model.
89
+
90
+ ## Precision
91
+
92
+ int8 quantization was measured on 1,000 English words:
93
+
94
+ | metric | value |
95
+ |--------|-------|
96
+ | cosine (float32 ↔ int8), min / mean | 0.99885 / 0.99902 |
97
+ | top-10 neighbour overlap (200 queries) | 98.3% |
98
+
99
+ That is well below the semantic spacing between unrelated words and is the
100
+ reason the dataset can ship at 384 bytes per word. If you need higher fidelity,
101
+ rebuild with a different `SCALE`/dtype in `tools/build_dataset.py`.
102
+
103
+ `meta.json → languages.<code>.zero_vectors` records how many rows are all zero
104
+ (words that produced no model tokens); see the per-language entries.
105
+
106
+ ## Model and build
107
+
108
+ | item | value |
109
+ |------|-------|
110
+ | base model | `hotchpotch/bekko-embedding-v1-a25m` (MIT) |
111
+ | GGUF | `hotchpotch/bekko-embedding-v1-a25m-GGUF`, `BF16`, 252,522,944 bytes, SHA-256 `f85eda97…93d559` |
112
+ | architecture | ModernBERT, 24.9M active parameters |
113
+ | output | 384 dimensions, mean pooling, L2-normalized |
114
+ | context | 8192 tokens (words are far shorter) |
115
+ | runtime | llama.cpp `llama-server --embedding` (Vulkan GPU offload) |
116
+
117
+ ```bash
118
+ # 1) place the GGUF in work/models/ (auto-downloaded from hf-mirror if absent)
119
+ # 2) point at your llama.cpp build if it is not BrowserExtention/backend/bin/llamacpp
120
+ python tools/build_dataset.py all
121
+ # or a subset / a re-run
122
+ python tools/build_dataset.py embed --langs en zh --force
123
+ python tools/build_dataset.py finalize
124
+ ```
125
+
126
+ `build_dataset.py` starts (or reuses) a local `llama-server`, posts batches of
127
+ 2048 words to `/v1/embeddings` (base64 float32 responses), and **fsyncs every
128
+ batch** to `data/<lang>.int8.vector.part`, with progress in `work/parts/<lang>.json`. An
129
+ interrupted run resumes at the last durable batch instead of redoing the whole
130
+ language; the `.part` is renamed to `<lang>.int8.vector` only after the final batch.
131
+ On a Vulkan GPU this sustains roughly 700–1,200 words/s, so the full 42-language
132
+ run takes tens of minutes, not hours. Exact provenance (model hash, llama.cpp
133
+ build, per-language backend) is recorded in `meta.json`.
134
+
135
+ Two disjoint language sets can run as separate tasks on different ports, for
136
+ example a GPU worker and a CPU worker:
137
+
138
+ ```bash
139
+ python tools/build_dataset.py embed --langs ta ru sk --port 18083 --gpu-layers 99
140
+ python tools/build_dataset.py embed --langs lt tr fi --port 18085 --gpu-layers 0 --threads 8
141
+ ```
142
+
143
+ ## Languages
144
+
145
+ <!-- BEGIN GENERATED LANGUAGE TABLE -->
146
+ | code | language | native name | words | vectors (MiB) |
147
+ |------|----------|-------------|------:|--------------:|
148
+ | ar | Arabic | العربية | 55,611 | 20.37 |
149
+ | bg | Bulgarian | български | 35,848 | 13.13 |
150
+ | bn | Bengali | বাংলা | 33,062 | 12.11 |
151
+ | ca | Catalan | català | 27,028 | 9.90 |
152
+ | cs | Czech | čeština | 51,744 | 18.95 |
153
+ | da | Danish | dansk | 29,321 | 10.74 |
154
+ | de | German | Deutsch | 38,989 | 14.28 |
155
+ | el | Greek | Ελληνικά | 43,191 | 15.82 |
156
+ | en | English | English | 28,223 | 10.34 |
157
+ | es | Spanish | español | 34,740 | 12.72 |
158
+ | fa | Persian | فارسی | 30,108 | 11.03 |
159
+ | fi | Finnish | suomi | 59,143 | 21.66 |
160
+ | fil | Filipino | Filipino | 30,098 | 11.02 |
161
+ | fr | French | français | 31,203 | 11.43 |
162
+ | he | Hebrew | עברית | 57,405 | 21.02 |
163
+ | hi | Hindi | हिन्दी | 24,031 | 8.80 |
164
+ | hu | Hungarian | magyar | 46,525 | 17.04 |
165
+ | id | Indonesian | Bahasa Indonesia | 30,967 | 11.34 |
166
+ | is | Icelandic | íslenska | 42,207 | 15.46 |
167
+ | it | Italian | italiano | 35,954 | 13.17 |
168
+ | ja | Japanese | 日本語 | 27,856 | 10.20 |
169
+ | ko | Korean | 한국어 | 26,807 | 9.82 |
170
+ | lt | Lithuanian | lietuvių | 63,973 | 23.43 |
171
+ | lv | Latvian | latviešu | 45,464 | 16.65 |
172
+ | mk | Macedonian | македонски | 32,925 | 12.06 |
173
+ | ms | Malay | Bahasa Melayu | 28,571 | 10.46 |
174
+ | nb | Norwegian Bokmål | norsk bokmål | 25,994 | 9.52 |
175
+ | nl | Dutch | Nederlands | 28,715 | 10.52 |
176
+ | pl | Polish | polski | 49,664 | 18.19 |
177
+ | pt | Portuguese | português | 33,123 | 12.13 |
178
+ | ro | Romanian | română | 43,279 | 15.85 |
179
+ | ru | Russian | русский | 59,604 | 21.83 |
180
+ | sh | Serbo-Croatian | srpskohrvatski / српскохрватски | 54,698 | 20.03 |
181
+ | sk | Slovak | slovenčina | 59,414 | 21.76 |
182
+ | sl | Slovenian | slovenščina | 53,882 | 19.73 |
183
+ | sv | Swedish | svenska | 30,515 | 11.17 |
184
+ | ta | Tamil | தமிழ் | 64,756 | 23.71 |
185
+ | tr | Turkish | Türkçe | 63,130 | 23.12 |
186
+ | uk | Ukrainian | українська | 46,286 | 16.95 |
187
+ | ur | Urdu | اردو | 22,442 | 8.22 |
188
+ | vi | Vietnamese | Tiếng Việt | 10,519 | 3.85 |
189
+ | zh | Chinese | 中文 | 35,723 | 13.08 |
190
+ | **total** | 42 languages | — | 1,672,738 | 612.57 |
191
+ <!-- END GENERATED LANGUAGE TABLE -->
192
+
193
+ *words* is the number of vectors in that language; *vectors* is the size of the
194
+ `.int8.vector` file. The total row sums both columns.
195
+
196
+ ## Licence and citation
197
+
198
+ The embedding model is MIT-licensed. The word lists are derived from
199
+ [vocabradar/wordfreq](https://huggingface.co/datasets/vocabradar/wordfreq)
200
+ (MIT metadata; upstream wordfreq 3.0.2). If you use this dataset, cite the
201
+ model and the word list:
202
+
203
+ ```bibtex
204
+ @misc{bekko_embedding_v1_a25m,
205
+ title = {bekko-embedding-v1-a25m},
206
+ author = {hotchpotch},
207
+ year = {2026},
208
+ url = {https://huggingface.co/hotchpotch/bekko-embedding-v1-a25m}
209
+ }
210
+ @misc{vocabradar_wordfreq,
211
+ title = {Cleaned Word Frequency Lists (42 languages)},
212
+ author = {VocabRadar},
213
+ year = {2026},
214
+ url = {https://huggingface.co/datasets/vocabradar/wordfreq}
215
+ }
216
+ ```
217
+
218
+ ---
219
+
220
+ <a id="zh"></a>
221
+
222
+ # 42 语 167 万词向量
223
+
224
+ 为 [vocabradar/wordfreq](https://huggingface.co/datasets/vocabradar/wordfreq)
225
+ 清洗词表中的**每一个词**提供一个 384 维向量:**42 种语言、1,672,738 个词**。
226
+ 词表与向量矩阵逐行对齐——词在词表中的行号就是它在矩阵中的行号,也是它的词频排名。
227
+
228
+ 向量由
229
+ [`hotchpotch/bekko-embedding-v1-a25m`](https://huggingface.co/hotchpotch/bekko-embedding-v1-a25m)
230
+ 生成——2490 万激活参数的多语言 ModernBERT(MIT),mean pooling、L2 归一化、384 维
231
+ (Matryoshka 可截断到 256 / 128 / 64)。推理走 llama.cpp 官方 BF16 GGUF
232
+ (`--embedding --pooling mean --embd-normalize 2`,Vulkan GPU 卸载),随后把每条归一化向量
233
+ **按 127 的比例量化为 int8**:全量约 612 MiB,余弦相似度误差约 0.001。
234
+
235
+ ## 文件
236
+
237
+ ```
238
+ WordEmbedding/
239
+ ├── README.md # 本数据卡(中英双语)
240
+ ├── meta.json # 模型、格式、逐语言统计
241
+ ├── files.json # 每个数据文件���大小与 SHA-256
242
+ ├── tools/
243
+ │ ├── build_dataset.py # 推理(llama.cpp)+ 收尾(meta/files)
244
+ │ ├── gen_readme.py # 重生成下方语言表
245
+ │ └── verify.py # 复核大小、SHA-256、词表与矩阵对齐
246
+ └── data/
247
+ ├── <lang>.words.txt # UTF-8 词表,一行一词,按词频降序
248
+ └── <lang>.int8.vector # int8 向量,行优先,N × 384
249
+ ```
250
+
251
+ 每种语言一对文件(`en`、`zh`、`ar`……共 42 种)。
252
+
253
+ ## 数据格式
254
+
255
+ 以语言 `xx` 为例:
256
+
257
+ - `<xx>.words.txt` —— 明文 UTF-8,**一行一词**,沿用清洗版 wordfreq 的词频降序;
258
+ 第 `i` 行(从 0 起)的词频排名为 `i + 1`。
259
+ - `<xx>.int8.vector` —— 裸 **int8**、**行优先**、形状 `N × 384`、无文件头;
260
+ 第 `i` 行对应词表第 `i` 行的词。
261
+ - `N = 文件字节数 / 384`。
262
+ - 反量化:`v = int8 / 127.0`。量化前每行已做 L2 归一化,因此反量化后近似单位长度。
263
+ - 余弦相似度:转成 `float32` 或 `int32` 后 `dot(a, b) / 127²`。
264
+ **不要**直接对两个 `int8` 数组做 `numpy.dot`——384 维累加会溢出。
265
+
266
+ ## 快速开始
267
+
268
+ ```python
269
+ import numpy as np
270
+
271
+ words = open("data/zh.words.txt", encoding="utf-8").read().splitlines()
272
+ vec = np.memmap("data/zh.int8.vector", dtype=np.int8, mode="r").reshape(-1, 384)
273
+ q = vec.astype(np.float32) / 127.0 # N × 384,近似单位长度
274
+
275
+ i = words.index("苹果")
276
+ sims = q @ q[i]
277
+ for j in np.argsort(-sims)[1:11]:
278
+ print(f"{words[j]:10s} {sims[j]:.4f}")
279
+ ```
280
+
281
+ 同一套矩阵天然跨语言:`苹果` 会靠近 `apple`、`pomme`、`Apfel` 等——bekko 是多语言模型。
282
+
283
+ ## 精度
284
+
285
+ 在 1000 个英文词上实测 int8 量化:
286
+
287
+ | 指标 | 数值 |
288
+ |------|------|
289
+ | float32 ↔ int8 余弦,最小 / 平均 | 0.99885 / 0.99902 |
290
+ | Top-10 邻居重合率(200 次查询) | 98.3% |
291
+
292
+ 误差远小于无关词之间的语义间距,这也是每个词只占 384 字节仍可用的原因。
293
+ 若需要更高保真度,可在 `tools/build_dataset.py` 中调整 `SCALE` 或改用更高精度重建。
294
+
295
+ `meta.json → languages.<code>.zero_vectors` 记录全零行数(分词后没有 token 的词);
296
+ 逐语言数值见该字段。
297
+
298
+ ## 模型与构建
299
+
300
+ | 项目 | 值 |
301
+ |------|----|
302
+ | 基座模型 | `hotchpotch/bekko-embedding-v1-a25m`(MIT) |
303
+ | GGUF | `hotchpotch/bekko-embedding-v1-a25m-GGUF`,`BF16`,252,522,944 字节,SHA-256 `f85eda97…93d559` |
304
+ | 架构 | ModernBERT,2490 万激活参数 |
305
+ | 输出 | 384 维,mean pooling,L2 归一化 |
306
+ | 上下文 | 8192 token(单词远短于此) |
307
+ | 运行时 | llama.cpp `llama-server --embedding`(Vulkan GPU 卸载) |
308
+
309
+ ```bash
310
+ # 1) 把 GGUF 放到 work/models/(缺失时会自动从 hf-mirror 下载)
311
+ # 2) 若 llama.cpp 不在 BrowserExtention/backend/bin/llamacpp,用参数指定
312
+ python tools/build_dataset.py all
313
+ # 只跑部分语言 / 强制重跑
314
+ python tools/build_dataset.py embed --langs en zh --force
315
+ python tools/build_dataset.py finalize
316
+ ```
317
+
318
+ `build_dataset.py` 会启动(或复用)本地 `llama-server`,每批 2048 词 POST 到
319
+ `/v1/embeddings`(base64 float32 回包),**每批 fsync 落盘**到
320
+ `data/<lang>.int8.vector.part`,进度记在 `work/parts/<lang>.json`。中断后从最后一批
321
+ 续跑,不重做整种语言;最后一批完成后才把 `.part` 改名为 `<lang>.int8.vector`。
322
+ Vulkan GPU 上约 700–1,200 词/秒,全量 42 语是几十分钟级。模型哈希、llama.cpp
323
+ 版本与逐语言后端写入 `meta.json`。
324
+
325
+ 两个任务可在不同端口上跑互不相交的语言集,例如一个 GPU 任务加一个 CPU 任务:
326
+
327
+ ```bash
328
+ python tools/build_dataset.py embed --langs ta ru sk --port 18083 --gpu-layers 99
329
+ python tools/build_dataset.py embed --langs lt tr fi --port 18085 --gpu-layers 0 --threads 8
330
+ ```
331
+
332
+ ## 语言表
333
+
334
+ <!-- BEGIN GENERATED LANGUAGE TABLE -->
335
+ | 代码 | 语言 | 本地名 | 词数 | 向量体积 (MiB) |
336
+ |------|------|--------|------:|---------------:|
337
+ | ar | Arabic | العربية | 55,611 | 20.37 |
338
+ | bg | Bulgarian | български | 35,848 | 13.13 |
339
+ | bn | Bengali | বাংলা | 33,062 | 12.11 |
340
+ | ca | Catalan | català | 27,028 | 9.90 |
341
+ | cs | Czech | čeština | 51,744 | 18.95 |
342
+ | da | Danish | dansk | 29,321 | 10.74 |
343
+ | de | German | Deutsch | 38,989 | 14.28 |
344
+ | el | Greek | Ελληνικά | 43,191 | 15.82 |
345
+ | en | English | English | 28,223 | 10.34 |
346
+ | es | Spanish | español | 34,740 | 12.72 |
347
+ | fa | Persian | فارسی | 30,108 | 11.03 |
348
+ | fi | Finnish | suomi | 59,143 | 21.66 |
349
+ | fil | Filipino | Filipino | 30,098 | 11.02 |
350
+ | fr | French | français | 31,203 | 11.43 |
351
+ | he | Hebrew | עברית | 57,405 | 21.02 |
352
+ | hi | Hindi | हिन्दी | 24,031 | 8.80 |
353
+ | hu | Hungarian | magyar | 46,525 | 17.04 |
354
+ | id | Indonesian | Bahasa Indonesia | 30,967 | 11.34 |
355
+ | is | Icelandic | íslenska | 42,207 | 15.46 |
356
+ | it | Italian | italiano | 35,954 | 13.17 |
357
+ | ja | Japanese | 日本��� | 27,856 | 10.20 |
358
+ | ko | Korean | 한국어 | 26,807 | 9.82 |
359
+ | lt | Lithuanian | lietuvių | 63,973 | 23.43 |
360
+ | lv | Latvian | latviešu | 45,464 | 16.65 |
361
+ | mk | Macedonian | македонски | 32,925 | 12.06 |
362
+ | ms | Malay | Bahasa Melayu | 28,571 | 10.46 |
363
+ | nb | Norwegian Bokmål | norsk bokmål | 25,994 | 9.52 |
364
+ | nl | Dutch | Nederlands | 28,715 | 10.52 |
365
+ | pl | Polish | polski | 49,664 | 18.19 |
366
+ | pt | Portuguese | português | 33,123 | 12.13 |
367
+ | ro | Romanian | română | 43,279 | 15.85 |
368
+ | ru | Russian | русский | 59,604 | 21.83 |
369
+ | sh | Serbo-Croatian | srpskohrvatski / српскохрватски | 54,698 | 20.03 |
370
+ | sk | Slovak | slovenčina | 59,414 | 21.76 |
371
+ | sl | Slovenian | slovenščina | 53,882 | 19.73 |
372
+ | sv | Swedish | svenska | 30,515 | 11.17 |
373
+ | ta | Tamil | தமிழ் | 64,756 | 23.71 |
374
+ | tr | Turkish | Türkçe | 63,130 | 23.12 |
375
+ | uk | Ukrainian | українська | 46,286 | 16.95 |
376
+ | ur | Urdu | اردو | 22,442 | 8.22 |
377
+ | vi | Vietnamese | Tiếng Việt | 10,519 | 3.85 |
378
+ | zh | Chinese | 中文 | 35,723 | 13.08 |
379
+ | **合计** | 42 种语言 | — | 1,672,738 | 612.57 |
380
+ <!-- END GENERATED LANGUAGE TABLE -->
381
+
382
+ *词数* 为该语言的向量条数,*向量体积* 为 `.int8.vector` 文件大小;合计行只对这两列求和。
383
+
384
+ ## 许可与引用
385
+
386
+ 向量模型为 MIT 许可;词表来自
387
+ [vocabradar/wordfreq](https://huggingface.co/datasets/vocabradar/wordfreq)
388
+ (元数据 MIT;上游 wordfreq 3.0.2)。使用本数据集请同时引用模型与词表:
389
+
390
+ ```bibtex
391
+ @misc{bekko_embedding_v1_a25m,
392
+ title = {bekko-embedding-v1-a25m},
393
+ author = {hotchpotch},
394
+ year = {2026},
395
+ url = {https://huggingface.co/hotchpotch/bekko-embedding-v1-a25m}
396
+ }
397
+ @misc{vocabradar_wordfreq,
398
+ title = {Cleaned Word Frequency Lists (42 languages)},
399
+ author = {VocabRadar},
400
+ year = {2026},
401
+ url = {https://huggingface.co/datasets/vocabradar/wordfreq}
402
+ }
403
+ ```
data/ar.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbf1ce80a4b7eac83be54f9a5a68ee018bbbd2298ef6e71aff8306a752b8c0ec
3
+ size 21354624
data/ar.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/bg.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bb14b8e0f54d1904a1f6f85fd4c387887c4de43952e9f0b529db2ade03f65f0
3
+ size 13765632
data/bg.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/bn.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13c85fa944eadd494bb9d08a18ada0403337bf98cce0e3ab5126533a80ee33bf
3
+ size 12695808
data/bn.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/ca.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1211a553e7b63675a88cacd10678730159485779429f2a89480ac2648591ded
3
+ size 10378752
data/ca.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/cs.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21a6e17e7d5d55e2dca7e94b78179903a0ee02409ce8398b42e1e4c55f548dc0
3
+ size 19869696
data/cs.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/da.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f898533d769642517895d48f7526aac955049ce5ab311563f36d1dd986faf491
3
+ size 11259264
data/da.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/de.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4028e3fa089dd6411e87bc71f4b8061643a594803ddefd8574e520d46fcb1101
3
+ size 14971776
data/de.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/el.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80b2093725d5677d07d549261321b60bbca2b9943392218dcabc47d4bacfa387
3
+ size 16585344
data/el.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/en.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b31d56fc60288202b61ea8934aa1201f410b4fdcd3abb3bf534c19acdd42b92f
3
+ size 10837632
data/en.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/es.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2274ae769763999b077bc0b28fd7ceda5712db5a59b2c574f4acc2db88a00b1
3
+ size 13340160
data/es.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/fa.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f25724549e8b77d07a9034f95ae168554e6b421fad35d2466f73852bc18ce03d
3
+ size 11561472
data/fa.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/fi.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9d7ee239e21cc40e4b7b6465ba8e309cbdfb876304674f7fec0a06c229b419d
3
+ size 22710912
data/fi.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/fil.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a3a981f229ab1bc448ddd6451dc5f9c0169c50dd06d5e6dc2724c5dffd7ca0
3
+ size 11557632
data/fil.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/fr.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ce42b5d16774cc91fa217b58c55318d0d82e26ac3ee4852cffc9dad00d50eb6
3
+ size 11981952
data/fr.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/he.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e7b79de904ee88ed3f6cc3f7d3a9c53d35135d1cb5b87a553dcaa3324ba8b7d
3
+ size 22043520
data/he.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/hi.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfd7b5006e171ad72656123d9d1359b6813732d1c53a1bca2fae9e81f51df24f
3
+ size 9227904
data/hi.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/hu.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0493049a2ab3014c28570665388fd1348b23bc94643efc1248d309bb8821bf93
3
+ size 17865600
data/hu.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/id.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:243d1aa3b8459f3040e2866b7cf5e1013fe2f9537ae6de96f36f764611612fd9
3
+ size 11891328
data/id.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/is.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73b723e9803587ded6e9cb859fab7338d4f3f09846b91a97eba319a0467f32e7
3
+ size 16207488
data/is.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/it.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2917a95a304674cb35f1968c2aa19949da8573593a8c4b7877d562415f1fa3e
3
+ size 13806336
data/it.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/ja.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e31ac167a166fd54582515e90facf29c596c3fa61addcadd372fd9301e9bb41e
3
+ size 10696704
data/ja.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/ko.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bde30bf280830ea266a50edf69135e0bf40808237fd2811af4887b7715783e2a
3
+ size 10293888
data/ko.words.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/lt.int8.vector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88dc0061fe43b53caaa68b4c0ef5db19669efb28c90618ce80cef94db56c5cb4
3
+ size 24565632
data/lt.words.txt ADDED
The diff for this file is too large to render. See raw diff