Okay so before we get into the code, let me tell you why I even did this. I could've just used a library. tiktoken exists. HuggingFace tokenizers exist. But I wanted to actually get it — like really u

Markdown supported · ⌘↵ to post
No responses yet.