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

    Open
  • 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

    Open
  • Documentation

    docs.claude.com

    Prompt engineering overview

    An overview of prompt techniques in Anthropic's documentation.

    Keywords: prompt, instructions, examples

    Open
  • 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

    Open
  • Courses

    huggingface.co

    Hugging Face LLM Course

    A free course on language models, with hands-on code.

    Keywords: llm, transformers, practice

    Open
  • Tools

    platform.openai.com

    Tokenizer

    A tool for seeing how a text is split into tokens.

    Keywords: tokens, tokenization

    Open
  • 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

    Open
  • 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

    Open
  • 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

    Open
  • 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

    Open
  • 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

    Open
  • 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

    Open
  • 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

    Open
  • 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

    Open
  • Documentation

    platform.claude.com

    Reduce hallucinations

    Techniques for reducing hallucinations: allow uncertainty, quote passages literally, and check claims.

    Keywords: hallucination, sources, citations

    Open
  • 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

    Open
  • Documentation

    platform.claude.com

    Memory tool

    Documents memory across conversations as an application feature, outside the model.

    Keywords: memory, context, agents

    Open
  • Documentation

    platform.claude.com

    Prompting best practices

    A guide to prompt techniques: clarity, examples, XML tags, and long context.

    Keywords: prompt, examples, long context

    Open
  • 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

    Open
  • 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

    Open
  • Courses

    github.com

    Anthropic's Prompt Engineering Interactive Tutorial

    An interactive tutorial in nine chapters, with exercises on prompt engineering.

    Keywords: prompt, practice, exercises

    Open
  • 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

    Open
  • Glossaries

    platform.claude.com

    Glossary (Anthropic)

    Short definitions of terms such as token, context window, RAG, RLHF, and temperature.

    Keywords: glossary, terms, definitions

    Open
  • Glossaries

    developers.google.com

    Machine Learning Glossary (Google for Developers)

    A broad machine-learning glossary, including language-model terms.

    Keywords: glossary, machine learning, terms

    Open