References
Selected links for learning about AI, organized by category and keyword. Each item says why it is worth reading.
Categories
Keywords
Papers
arxiv.org
Attention Is All You Need
The paper that introduced the Transformer architecture, the basis of current LLMs.
Keywords: transformer, attention, architecture
Papers
arxiv.org
Lost in the Middle: How Language Models Use Long Contexts
A study of how models retrieve information worse when it sits in the middle of long contexts.
Keywords: context window, long context, retrieval
Documentation
docs.claude.com
Prompt engineering overview
An overview of prompt techniques in Anthropic's documentation.
Keywords: prompt, instructions, examples
Videos
youtube.com
Intro to Large Language Models, Andrej Karpathy
A video introduction to what LLMs are, how they are trained, and where they fail.
Keywords: llm, training, limits
Courses
huggingface.co
Hugging Face LLM Course
A free course on language models, with hands-on code.
Keywords: llm, transformers, practice
Tools
platform.openai.com
Tokenizer
A tool for seeing how a text is split into tokens.
Keywords: tokens, tokenization
Papers
aclanthology.org
Lost in the Middle (published version in TACL)
The revised, published version of the study on where information sits in long contexts.
Keywords: context window, long context, position
Papers
arxiv.org
RULER: What's the Real Context Size of Your Long-Context Language Models?
A benchmark that shows performance drops as context grows, even in models that claim long contexts.
Keywords: context window, long context, benchmark
Papers
arxiv.org
Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs
A study of how splitting numbers into tokens affects arithmetic in frontier LLMs.
Keywords: tokens, tokenization, arithmetic
Papers
arxiv.org
Language Model Tokenizers Introduce Unfairness Between Languages
Measures how the same text becomes very different token counts depending on the language.
Keywords: tokens, tokenization, languages
Papers
aclanthology.org
Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Models
Analyzes the cost and performance of a commercial model's API across 22 languages.
Keywords: tokens, cost, languages
Papers
dl.acm.org
Survey of Hallucination in Natural Language Generation
A literature survey that defines and classifies hallucinations in text generation.
Keywords: hallucination, text generation, survey
Papers
nature.com
Fabrication and errors in the bibliographic citations generated by ChatGPT
Measures how many citations ChatGPT produced in literature reviews were fabricated or contained errors.
Keywords: hallucination, citations, sources
Documentation
platform.claude.com
Context windows
How the context window works, what counts toward it, and why more context is not automatically better.
Keywords: context window, tokens, context rot
Documentation
platform.claude.com
Reduce hallucinations
Techniques for reducing hallucinations: allow uncertainty, quote passages literally, and check claims.
Keywords: hallucination, sources, citations
Documentation
platform.claude.com
Token counting
How to count the tokens in a message before you send it, and why the count changes between models.
Keywords: tokens, counting, cost
Documentation
platform.claude.com
Memory tool
Documents memory across conversations as an application feature, outside the model.
Keywords: memory, context, agents
Documentation
platform.claude.com
Prompting best practices
A guide to prompt techniques: clarity, examples, XML tags, and long context.
Keywords: prompt, examples, long context
Documentation
anthropic.com
Effective context engineering for AI agents
An engineering essay on treating context as a finite resource and why it degrades.
Keywords: context, context rot, agents
Documentation
support.claude.com
Use Claude's chat search and memory to build on previous context
A help page that describes memory and chat search in the Claude product.
Keywords: memory, product, conversations
Courses
github.com
Anthropic's Prompt Engineering Interactive Tutorial
An interactive tutorial in nine chapters, with exercises on prompt engineering.
Keywords: prompt, practice, exercises
Videos
youtube.com
Let's build the GPT Tokenizer, Andrej Karpathy
A lecture of more than two hours that builds a tokenizer with byte pair encoding from scratch.
Keywords: tokens, tokenization, bpe
Glossaries
platform.claude.com
Glossary (Anthropic)
Short definitions of terms such as token, context window, RAG, RLHF, and temperature.
Keywords: glossary, terms, definitions
Glossaries
developers.google.com
Machine Learning Glossary (Google for Developers)
A broad machine-learning glossary, including language-model terms.
Keywords: glossary, machine learning, terms