fromziro/jetoncount_corpus
JetonCount's Corpus This is the corpus used to train JetonCount. JSONL Format { "source_file": "token_stats\\HuggingFaceFW_fineweb-edu00000.jsonl", "dataset_dir": "HuggingFaceFW/fineweb-edu", "index": 4020, "chars": 2178, "words": 335, "avg_chars_per_word": 5.504478, "longest_word_chars": 33, "punctuation_ratio": 0.037649, "symbol_ratio": 0.00551, "tokens": 664, "vocab_size": 2560, "tokenizer_dir": "fromziro/Er-Tiny-1.3M" }… See the full description on the dataset page: https://huggingface.co/datasets/fromziro/jetoncount_corpus.
1198
JetonCount's Corpus
This is the corpus used to train JetonCount.
JSONL Format
{
"source_file": "token_stats\\HuggingFaceFW_fineweb-edu00000.jsonl",
"dataset_dir": "HuggingFaceFW/fineweb-edu",
"index": 4020,
"chars": 2178,
"words": 335,
"avg_chars_per_word": 5.504478,
"longest_word_chars": 33,
"punctuation_ratio": 0.037649,
"symbol_ratio": 0.00551,
"tokens": 664,
"vocab_size": 2560,
"tokenizer_dir": "fromziro/Er-Tiny-1.3M"
}Field Descriptions
source_file: The original file used to generate the statistics on our local system.dataset_dir: The Hugging Face dataset identifier from which the sample originated.index: The index of the sample within the dataset when iterating through it using the Hugging Face datasets library.chars: The total number of characters in the text sample.words: The total number of words in the text sample.avg_chars_per_word: The average number of characters per word in the text sample.longest_word_chars: The length, in characters, of the longest word in the text sample.punctuation_ratio: The fraction of characters in the text sample that are punctuation characters.symbol_ratio: The fraction of characters in the text sample that are symbols (such as@,#,$,%,&, etc.).tokens: The number of tokens produced by the tokenizer specified intokenizer_dir.vocab_size: The vocabulary size of the tokenizer used to generate the token count. (Ranges from 250 to 256,000)tokenizer_dir: The Hugging Face repository containing the tokenizer used to generate the token count.
Use Cases
- Training ML models: Train token count predictors, tabular models, neural networks, gradient boosting models, or anything else you want.
- Tokenizer research: Study how text characteristics such as length, vocabulary size, and symbol density affect tokenization behavior.
- Benchmarking tokenizers: Compare tokenization efficiency across different tokenizers and vocabulary sizes using a large and diverse collection of text samples.
- Feature engineering research: Explore which textual features are most predictive of token counts and develop new feature sets for token estimation tasks.
- Dataset analysis: Analyze the statistical properties of large text corpora.
- Educational purposes: Learn about tokenization, text statistics, feature engineering, and regression.
- Anything else: The dataset is released to the community to be used in any way.
