Categories: None [Edit]
tiktoken_ruby
An unofficial Ruby wrapper for Tiktoken, a BPE tokenizer written by and used by OpenAI. It can be used to count the number of tokens in text before sending it to OpenAI APIs.
Total
Ranking: 2,869 of 191,483
Downloads: 6,010,772
Daily
Ranking: 1,876 of 191,454
Downloads: 10,325
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 11,962 | 212,918 | discourse_ai-tokenizers |
| 14,118 | 153,413 | slack-smart-bot |
| 45,412 | 26,126 | jekyll-chatgpt-translate |
| 110,059 | 6,848 | openai.rb |
| 126,005 | 5,204 | dorian-commit |
| 141,448 | 4,276 | llm_conductor |
| 152,140 | 3,750 | htm |
| 180,132 | 1,657 | roseflow-tiktoken |
| 183,863 | 1,013 | nanogpt |
| 185,050 | 858 | rubocop-prompt |
| 185,394 | 815 | ghostest |
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 1,341 | 32,156,409 | rb_sys |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | gjtorikian | |
| 2 | iapark |