Reddit r/MachineLearning· /u/Rajucg·· 27 天前AI 评分49
动画演示 GPT-4o 的 tokenizer 如何切分 "strawberry":真实 token id、微型 BPE 运行与空格归属
I animated what GPT-4o's tokenizer does to "strawberry": real token ids, a tiny BPE run, and why the space belongs to the word (6 min video) [D]
AI 导读
一支 6 分钟讲解视频动画演示了 GPT-4o 的 tokenizer(o200k_base)处理 "strawberry" 的全过程:该问句被切成 8 个 token,而 " strawberry" 是单一 token(id 101830),三个 r 隐藏在一个 id 里。
来源:Reddit r/MachineLearning · reddit.com