I blame the tokenizer | David Quarel
davidquarel.github.io · 1,693 words · saved by 1 readers
To those that developed the tokenizer for the Llama-2 family of language models, I have a bone to pick with you.
To those that developed the tokenizer for the Llama-2 family of language models, I have a bone to pick with you. So I’m procrastinating working on an extension of a paper that claims the Llama-2 family of models “think in English” . They show that if you use logit lens 1 during a forward pass on a multi-shot translation prompt from, say, French to German, internally the model assigns a high probability to the corresponding English word. That’s very curious! I want to query meta-llama/llama-2-7b-hf with a large amount of responses of the form Français: " jour" - Deutsch: " Tag" Français: " homm
saved by
related reading
- LLM Inference Performance Engineering: Best Practices | Databricks Blogdatabricks.com
- Extending Context is Hard | kaiokendevkaiokendev.github.io
- interpreting GPT: the logit lens — LessWronglesswrong.com
- The Bitter Lesson is coming for Tokenization – ⛰️ lucalplucalp.dev
- Attention Is Off By One – Evan Millerevanmiller.org
- Llama 2 · Hugging Facehuggingface.co
- The End of Tokenizationronaldyu.substack.com
- The Annotated Transformernlp.seas.harvard.edu
- What language do language models speak?tcz.hu
- Fine-Tuning Llama-2: Tailoring Models to Unique Applicationsanyscale.com
- [2309.10668] Language Modeling Is Compressionarxiv.org
- How LLMs Actually Work | 0xkato0xkato.xyz