Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by simonw

5 months ago

I hadn't realized OpenAI's tiktoken Python library could work with other models outside of the OpenAI family, that's really useful: https://github.com/therealoliver/Deepdive-llama3-from-scratc...

2 comments

simonw

Reply

moffkalast  5 months ago

It's more than just that, practically every notable open model released in the past year or so uses tiktoken as the tokenizer.

therealoliver  5 months ago

I'm glad to have helped you :)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities