Add README (repo layout) and xet/LFS rule for fixtures/
Browse files- .gitattributes +1 -0
- README.md +36 -0
.gitattributes
CHANGED
|
@@ -60,3 +60,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
llama-3-tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
xnli.txt filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
llama-3-tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
xnli.txt filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
fixtures/**/*.txt filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: tokenizers test data
|
| 3 |
+
viewer: false
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# tokenizers-test-data
|
| 7 |
+
|
| 8 |
+
Test and benchmark fixtures for [huggingface/tokenizers](https://github.com/huggingface/tokenizers),
|
| 9 |
+
pulled on demand by the repo Makefiles (`make test` / `make bench` / `make fixtures`
|
| 10 |
+
via `hf download`).
|
| 11 |
+
|
| 12 |
+
## Layout
|
| 13 |
+
|
| 14 |
+
- `fixtures/` — multilingual + modality corpora for cross-language encode
|
| 15 |
+
benchmarks. Organized, documented, and reproducible: see
|
| 16 |
+
[`fixtures/FIXTURES.md`](./fixtures/FIXTURES.md) for provenance and
|
| 17 |
+
[`fixtures/fixtures_manifest.json`](./fixtures/fixtures_manifest.json) for
|
| 18 |
+
exact sources, pinned revisions, and sizes. Rebuild any file with
|
| 19 |
+
[`fixtures/fetch_fixtures.py`](./fixtures/fetch_fixtures.py).
|
| 20 |
+
- `fixtures/lang/<iso639-3>_<iso15924>.txt` — ~5 MB of real web text per
|
| 21 |
+
language (FineWeb-2 / FineWeb), 13 non-Latin scripts + English baseline
|
| 22 |
+
- `fixtures/modalities/` — source code, math/LaTeX, and coding-agent
|
| 23 |
+
trajectories
|
| 24 |
+
- **Root files (legacy)** — tokenizer JSONs, vocab/merges files, and text
|
| 25 |
+
corpora referenced by their flat paths from the `tokenizers` repo Makefiles
|
| 26 |
+
(Rust, Python, and Node bindings) on `main` and release branches. Do not
|
| 27 |
+
move or rename them; new additions should go into organized subdirectories
|
| 28 |
+
instead.
|
| 29 |
+
|
| 30 |
+
## Licensing
|
| 31 |
+
|
| 32 |
+
Corpora under `fixtures/` are small excerpts of public datasets, each under
|
| 33 |
+
its own license — FineWeb/FineWeb-2 (ODC-By), open-web-math (ODC-By),
|
| 34 |
+
SWE-smith-trajectories (MIT), and permissively-licensed OSS repos for code
|
| 35 |
+
(see the manifest for the exact repo list and commit SHAs). Root-level files
|
| 36 |
+
predate this README and carry the licenses of their original sources.
|