Skip to content

Repository files navigation

211 free LLM flashcards

One concept per card, with a diagram and an explanation. Use them to prepare for an interview, revisit something you learned, or understand a system you are building.

Browse all 211 free cards | Choose a study path

Click a card to open its full-size image and explanation.

Token vs Word vs Character: three ways to split the same sentence
Token vs Word vs Character
KV Cache: reuse stored keys and values when generating the next token
KV Cache
What is an LLM Agent? A model calls tools and reads results in a loop
What is an LLM Agent?

Study paths

Read each row from left to right, or start with the concept you need.

Start here Read in order
Attention Query, key, value → Self-attention → Multi-head attention → KV cache
RAG What is RAG? → Embeddings for retrieval → Chunking → Reranking
Inference Autoregressive generation → KV cache → Grouped-query attention → Quantization
Agents What is an LLM agent? → The agent loop → Tool use → Stopping conditions

New to LLMs? Start with tokenization and follow the reader's next-card links through the collection.

Free cards and the complete collection

  • Free online: all 211 public cards, with explanations and related concepts.
  • Free Anki sample: download 30 cards. This is a separate sample, not the full public library or paid deck.
  • Complete collection: 376 cards, including the full Anki deck, printable PDF, individual images, and lifetime updates.

What Is Inside

The visual cards are organized around the main layers of modern LLM systems:

  • Representing language: tokenization and embeddings
  • The transformer: attention, normalization, position encodings, and model variants
  • Training: objectives, losses, optimizers, scaling laws, and fine-tuning
  • Adaptation and alignment: SFT, RLHF, DPO, preference data, and guardrails
  • Running the model: decoding, inference latency, KV cache, and quantization
  • Talking to the model: prompting, reasoning, and context management
  • Knowledge and tools: retrieval, RAG, agents, and function calling
  • Beyond text: multimodal models and CLIP
  • Measuring: benchmarks, human evaluation, and contamination
  • Governing: grounding, bias, sycophancy, memorization, and safety behavior
  • Shipping: APIs, streaming, costs, rate limits, and latency optimization

Run Locally

Install dependencies.

npm install

Start the development server.

npm run dev

Build the static site.

npm run build

Preview the production build.

npm run preview

Deploy

The canonical reader is https://llmsresearch.com/cards. This public repository supplies its content through the main website's existing webhook and build workflow. GitHub Pages preserves old URLs with page-specific redirects when the migration is enabled.

Pushes to main run .github/workflows/deploy.yml, which installs dependencies, builds the Astro site, and publishes dist/ with GitHub Pages. In the repository settings, set Pages to use GitHub Actions as the build and deployment source.

Repository Layout

src/content/cards/   Card explanations in MDX, one file per card
src/pages/           Astro routes for the map, card pages, and about page
src/layouts/         Shared page layout
src/styles/          Global CSS
public/cards/        Card image assets

Generated and local-only folders such as node_modules/, dist/, and .astro/ are ignored.

Card Content

Each card has two parts:

  • an image in public/cards/
  • an MDX explanation in src/content/cards/

The MDX frontmatter stores the card order, title, chapter, category, summary, image path, and related-card links. The body text explains the concept in a few paragraphs and is rendered on the card page.

Contributing

If a card is wrong, unclear, or missing an important nuance, open an issue with the card title and the proposed correction. Text corrections should be small and factual. Image changes are handled separately because the card images are licensed under NoDerivatives terms.

License

See LICENSE. The card images are licensed under CC BY-NC-ND 4.0.

Releases

Packages

Contributors

Languages