zurawiki / tiktoken-rs

Ready-made tokenizer library for working with GPT and tiktoken
MIT License
240 stars 47 forks source link

Support for other LLMs? #62

Open carlca opened 6 months ago

carlca commented 6 months ago

Is this tokenizer library limited to certain models? The reason I ask is that I've been trying to add a new local LLM (codellama:7b-code) to the Zed editor, and while I can get it to go through the motions of working...

SCR-20240224-nflr

...under the surface there are signs that it's not as simple as I'd hoped...

SCR-20240224-nfzl

It's been suggested to me that the problem is because the Zed project uses your tiktoken library and that the library would need updating. I'm operating at the very limits of my abilities here, so any thoughts on this would be really appreciated 😉