vecnode's picture
v1.0.1: tokenizer bundle - recipe, measured counts, id-stream sha256, verifier
7437abd verified
Raw History Blame Contribute Delete
5.65 kB
{
"schema": 1,
"kind": "tokenizer-bundle",
"repo": "vecnode/supercollider-moe-dataset",
"generated_by": "scripts/build_tokenizer_bundle.py",
"dataset_revision": "v0.1.23",
"seq_len": 512,
"sft_seq": 512,
"tokenizer": {
"name": "MiniMind BPE",
"model_type": "BPE",
"decoder": "ByteLevel",
"vocab_size": 6400,
"merges": 6108,
"added_tokens": 36,
"post_processor": null,
"special_tokens": {
"bos": {
"token": "<|im_start|>",
"id": 1
},
"eos": {
"token": "<|im_end|>",
"id": 2
},
"pad": {
"token": "<|endoftext|>",
"id": 0
},
"unk": {
"token": "<|endoftext|>",
"id": 0
}
},
"files": {
"tokenizer.json": {
"bytes": 482372,
"sha256": "8bf5868abfc7ea919186b57e2b411adefe3b0922b53052c5839937e166b9d395"
},
"tokenizer_config.json": {
"bytes": 13642,
"sha256": "e42b762555734279158ca292431c831fa387c48c35d9b1b205f4fc6c83b79d34"
}
},
"model_max_length_in_config": 131072
},
"recipe": {
"pretrain": {
"add_special_tokens": false,
"max_length": 510,
"truncation": "never — P1 guarantees it cannot fire; tokenize.py fails instead of truncating",
"bos_prepend": 1,
"eos_append": 2,
"pad_to": 512,
"pad_id": 0,
"ids_dtype": "uint16"
},
"sft": {
"deterministic": false,
"add_generation_prompt": false,
"tokenize": "apply_chat_template(conversations, tokenize=False) then encode",
"sft_seq": 512,
"note": "the loader prepends a system prompt to 20% of rows at load time; see RECIPE.md"
}
},
"files": {
"data/pretrain/train.jsonl": {
"rows": 59179,
"chars": 55068866,
"tokens": 25247960,
"tokens_with_specials": 25366318,
"chars_per_token": 2.181,
"tokens_per_row": {
"mean": 426.6,
"median": 510,
"p90": 510,
"max": 510
},
"max_tokens_in_any_row": 510,
"deterministic": true,
"ids_encoding": "concat([bos] + ids + [eos] per row, file order) as little-endian uint16",
"ids_count": 25366318,
"ids_sha256": "73b92fefbd01b218a415b4cbefcfab0d51fbe5d9b210d941ee8076a41d32f101",
"first_ids": [
1,
86,
120,
1067,
70,
6132,
4591,
4195,
550,
256,
3084,
1177,
52,
48,
5486,
352
],
"last_ids": [
3287,
338,
62,
234,
128,
2463,
234,
234,
51,
49,
3287,
338,
62,
234,
624,
2
]
},
"data/pretrain/val.jsonl": {
"rows": 1235,
"chars": 1139491,
"tokens": 527909,
"tokens_with_specials": 530379,
"chars_per_token": 2.158,
"tokens_per_row": {
"mean": 427.5,
"median": 510,
"p90": 510,
"max": 510
},
"max_tokens_in_any_row": 510,
"deterministic": true,
"ids_encoding": "concat([bos] + ids + [eos] per row, file order) as little-endian uint16",
"ids_count": 530379,
"ids_sha256": "0a0f5ef74a7e43cce1375b631707be9728215424e87dee937cf5b8f395f2cb09",
"first_ids": [
1,
86,
120,
1067,
70,
6132,
4591,
2882,
111,
676,
256,
3084,
707,
71,
109,
50
],
"last_ids": [
5403,
70,
722,
892,
395,
2281,
37,
2463,
725,
3086,
234,
234,
128,
234,
624,
2
]
},
"data/sft/train.jsonl": {
"rows": 10614,
"chars": 5856638,
"tokens": 2608405,
"chars_per_token": 2.245,
"tokens_per_row": {
"mean": 245.8,
"median": 248,
"p90": 398,
"max": 516
},
"rows_over_sft_seq": 4,
"deterministic": false,
"note": "reference tokenization only: the training loader injects a system prompt for 20% of rows at load time, so these ids are the fixed part, not the ids a run saw",
"ids_encoding": "concat(ids per row, file order) as little-endian uint16; no bos/eos added (the chat template emits <|im_start|>/<|im_end|> itself)",
"ids_count": 2608405,
"reference_ids_sha256": "f470b8bb112e1958a5f4839e5bcd0fdfda810e7ffed8b7781c5cc11b2b24abea",
"max_tokens_in_any_row": 516
},
"data/sft/val.jsonl": {
"rows": 229,
"chars": 90956,
"tokens": 35411,
"chars_per_token": 2.569,
"tokens_per_row": {
"mean": 154.6,
"median": 121,
"p90": 370,
"max": 452
},
"rows_over_sft_seq": 0,
"deterministic": false,
"note": "reference tokenization only: the training loader injects a system prompt for 20% of rows at load time, so these ids are the fixed part, not the ids a run saw",
"ids_encoding": "concat(ids per row, file order) as little-endian uint16; no bos/eos added (the chat template emits <|im_start|>/<|im_end|> itself)",
"ids_count": 35411,
"reference_ids_sha256": "7c5023e65ae38957312d52fd78a9d6ccc3d04e2442945217af33e1d91a8b3d8f",
"max_tokens_in_any_row": 452
}
}
}