Categories: None [Edit]
ruby_llm-tokenizer
Pure-Ruby facade over Hugging Face `tokenizers`, OpenAI `tiktoken_ruby`, and
SentencePiece bindings that maps ruby_llm model identifiers (gpt-4o,
llama-3, mistral, ...) to the correct tokenizer and exposes a small API for
counting, analyzing, and truncating text against a model's context window.
Includes an opt-in approximation backend for models with no published
tokenizer (Claude).
Total
Ranking: 189,380 of 193,756
Downloads: 564
Daily
Ranking: 21,663 of 193,649
Downloads: 12
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 2,812 | 6,565,875 | tiktoken_ruby |
| 5,250 | 1,423,212 | tokenizers |
| 169,039 | 2,815 | sentencepiece |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | washu214 |