another gem for the eco system #795
Replies: 4 comments
-
|
That's pretty cool. Is there any chance to add Anthropic and Gemini tokenizers? |
Beta Was this translation helpful? Give feedback.
-
|
if you can point me to thier tokenizers i can, when i went looking i couldnt find a tokenizer for anthorpic that was public. ill check for a gemini one today |
Beta Was this translation helpful? Give feedback.
-
|
i found sentencepeice which should cover gemini so ill add support for it |
Beta Was this translation helpful? Give feedback.
-
|
0.1.1 released, hass gemmi tokenization support. anthropic isnt possible atm as they dont detail what they use , known issue |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/washu/ruby_llm-tokenizer
facade over several tokenizers. lets you check token acccounting before you submit and deter,me if you need to truncate
Beta Was this translation helpful? Give feedback.
All reactions