Skip to content

Comment on Show HN: LLaMA tokenizer that runs in browser

Comments

Does anyone know of a chatgpt/gpt-4 tokenizer that can run client-side?

Thanks for the recommendations. I found the one I needed because of this comment thread.

Yes, tiktoken, here's a client side visualizer for it

https://github.com/functorism/gpt4-tokenizer-visualizer

Thanks for the recommendations everyone.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.