web-coding-42m / tokenizer /tokenizer_statistics.json
quachtohai's picture
Upload tokenizer/tokenizer_statistics.json with huggingface_hub
ae32379 verified
Raw History Blame Contribute Delete
1.5 kB
{
"vocab_size_requested": 32000,
"vocab_size_actual": 32000,
"special_tokens": [
"<pad>",
"<unk>",
"<bos>",
"<eos>",
"<project>",
"<file>",
"<endfile>",
"<endproject>"
],
"training_projects": 42517,
"training_files": 68420,
"training_chars": 642934051,
"sample_files": 5000,
"sample_chars": 43941892,
"sample_tokens": 13706666,
"chars_per_token": 3.205877490558244,
"tokens_per_char": 0.3119270786064469,
"original_corpus_chars": 637890236,
"estimated_total_tokens": 198975237.78705698,
"languages": {
"html": {
"sample_chars": 20472120,
"sample_tokens": 6452511,
"chars_per_token": 3.172736939154385,
"tokens_per_char": 0.31518528613548574
},
"css": {
"sample_chars": 4078885,
"sample_tokens": 1563407,
"chars_per_token": 2.6089719439659667,
"tokens_per_char": 0.383292738088963
},
"javascript": {
"sample_chars": 19390887,
"sample_tokens": 5690748,
"chars_per_token": 3.4074408144588375,
"tokens_per_char": 0.2934753835654862
}
},
"test_examples": {
"html": {
"chars": 119,
"tokens": 50,
"chars_per_token": 2.38
},
"css": {
"chars": 89,
"tokens": 38,
"chars_per_token": 2.3421052631578947
},
"javascript": {
"chars": 108,
"tokens": 36,
"chars_per_token": 3.0
},
"project": {
"chars": 160,
"tokens": 50,
"chars_per_token": 3.2
}
}
}