{
 "schema_version": 3,
 "book": "language-models-from-the-ground-up",
 "edition": "2026.12.2",
 "line": "main",
 "prev_edition": "2026.12.1",
 "chapters": [
  {
   "chapter_id": "predicting-the-next-word",
   "title": "Predicting the next word",
   "order": 1,
   "file": "chapters/01-predicting-the-next-word.md",
   "sha256": "31258eb6c2ba030185bce7b4bcebd41e76739f26e766bb66104430a01a9d1335",
   "rendered_sha256": "31258eb6c2ba030185bce7b4bcebd41e76739f26e766bb66104430a01a9d1335",
   "content_sha256": "31258eb6c2ba030185bce7b4bcebd41e76739f26e766bb66104430a01a9d1335",
   "changed": false
  },
  {
   "chapter_id": "tokens",
   "title": "Tokens",
   "order": 2,
   "file": "chapters/02-tokens.md",
   "sha256": "f890fefbfbbb30430306dfccc41505db41d7e875e7dd0175f07562e6d9b0c0ce",
   "rendered_sha256": "f890fefbfbbb30430306dfccc41505db41d7e875e7dd0175f07562e6d9b0c0ce",
   "content_sha256": "f890fefbfbbb30430306dfccc41505db41d7e875e7dd0175f07562e6d9b0c0ce",
   "changed": false
  },
  {
   "chapter_id": "counting-further-back",
   "title": "Counting further back",
   "order": 3,
   "file": "chapters/03-counting-further-back.md",
   "sha256": "da2197d63ec7561330147c7b618617ff4241e69407da53751a2029bb6da11eb5",
   "rendered_sha256": "da2197d63ec7561330147c7b618617ff4241e69407da53751a2029bb6da11eb5",
   "content_sha256": "da2197d63ec7561330147c7b618617ff4241e69407da53751a2029bb6da11eb5",
   "changed": false
  },
  {
   "chapter_id": "words-as-vectors",
   "title": "Words as vectors",
   "order": 4,
   "file": "chapters/04-words-as-vectors.md",
   "sha256": "c7896a2bf48f8947c0f6b9c60a228454b3368113c6957769b96a20ae58793a7a",
   "rendered_sha256": "fb87dc1bb64bb22ca0207ae92438019190908525e16a6a9fc3d79550c2f872a3",
   "content_sha256": "fb87dc1bb64bb22ca0207ae92438019190908525e16a6a9fc3d79550c2f872a3",
   "changed": false
  },
  {
   "chapter_id": "a-neural-language-model",
   "title": "A neural language model",
   "order": 5,
   "file": "chapters/05-a-neural-language-model.md",
   "sha256": "4a880cd0162810de7eb7c108179d9b390f81d55a363a1278c530074d5c57e5a3",
   "rendered_sha256": "1984d5a0e17fb11bd7543ec2e7795543c5aeb7d45725d444935a561e40cb39a8",
   "content_sha256": "1984d5a0e17fb11bd7543ec2e7795543c5aeb7d45725d444935a561e40cb39a8",
   "changed": false
  },
  {
   "chapter_id": "attention",
   "title": "Attention",
   "order": 6,
   "file": "chapters/06-attention.md",
   "sha256": "e839c48af5f6beac52cdf5a26a3e9758656ff07144cc27e723fb7e89f6bd684c",
   "rendered_sha256": "e839c48af5f6beac52cdf5a26a3e9758656ff07144cc27e723fb7e89f6bd684c",
   "content_sha256": "e839c48af5f6beac52cdf5a26a3e9758656ff07144cc27e723fb7e89f6bd684c",
   "changed": false
  },
  {
   "chapter_id": "the-transformer-block",
   "title": "The transformer block",
   "order": 7,
   "file": "chapters/07-the-transformer-block.md",
   "sha256": "ebed1f8d13866dcfbd824ceca69317d1293686ad712c82791156d29e200c30eb",
   "rendered_sha256": "a938bf969132cde56ac70f63aceecd661deb8d67a9e1effc0d2ac9451729f46a",
   "content_sha256": "a938bf969132cde56ac70f63aceecd661deb8d67a9e1effc0d2ac9451729f46a",
   "changed": false
  },
  {
   "chapter_id": "training-a-small-model",
   "title": "Training a small model",
   "order": 8,
   "file": "chapters/08-training-a-small-model.md",
   "sha256": "03f70267dcbb49534f8d65be0ae93f70b04006c2577ef20ce5b940e1dac85a6b",
   "rendered_sha256": "03f70267dcbb49534f8d65be0ae93f70b04006c2577ef20ce5b940e1dac85a6b",
   "content_sha256": "03f70267dcbb49534f8d65be0ae93f70b04006c2577ef20ce5b940e1dac85a6b",
   "changed": false
  },
  {
   "chapter_id": "choosing-the-next-token",
   "title": "Choosing the next token",
   "order": 9,
   "file": "chapters/09-choosing-the-next-token.md",
   "sha256": "ca25e931f9b3f54907a92cf68ec2519f326a19c4963233781740db4eff521f9c",
   "rendered_sha256": "a26e18926f1544074ff053369d07d136a74808e18c339eba67a36b5623d94b48",
   "content_sha256": "a26e18926f1544074ff053369d07d136a74808e18c339eba67a36b5623d94b48",
   "changed": false
  },
  {
   "chapter_id": "inside-an-open-model",
   "title": "Inside an open model",
   "order": 10,
   "file": "chapters/10-inside-an-open-model.md",
   "sha256": "fce5b5e2998e2982d873ec41af8edc85501aa7b91b5188e36b2894eb5ed52e71",
   "rendered_sha256": "7b9e60a8bf7315f5242ceef539b21db5cd1f9de7d46e98068ece8dc75102e79a",
   "content_sha256": "7b9e60a8bf7315f5242ceef539b21db5cd1f9de7d46e98068ece8dc75102e79a",
   "changed": false
  },
  {
   "chapter_id": "from-predicting-to-following",
   "title": "From predicting to following instructions",
   "order": 11,
   "file": "chapters/11-from-predicting-to-following.md",
   "sha256": "fb12d4571f15b943c5d7d0a89cadd36b954cbcf077574d049024402f8a761b93",
   "rendered_sha256": "fb12d4571f15b943c5d7d0a89cadd36b954cbcf077574d049024402f8a761b93",
   "content_sha256": "fb12d4571f15b943c5d7d0a89cadd36b954cbcf077574d049024402f8a761b93",
   "changed": false
  }
 ],
 "sections": [
  {
   "section_id": "load-the-store-text",
   "chapter_id": "predicting-the-next-word",
   "title": "Load the store's text",
   "order": 1,
   "level": 2,
   "parent_id": null,
   "sha256": "c9281f46290e12a39ac1e465d173ebfea9821469439eef0ad73b8268b023090f",
   "rendered_sha256": "6cde57eb4ab9b56469be5952ff7fca76d146b5d8cba072b31363e13a099a2d9f",
   "content_sha256": "6cde57eb4ab9b56469be5952ff7fca76d146b5d8cba072b31363e13a099a2d9f",
   "changed": false,
   "example_ids": [
    "store-text"
   ]
  },
  {
   "section_id": "count-word-pairs",
   "chapter_id": "predicting-the-next-word",
   "title": "Count which word follows which",
   "order": 2,
   "level": 2,
   "parent_id": null,
   "sha256": "fb15f90d0261bc5a97fb220455503e552622e1c1413b15289cf1789d25b82328",
   "rendered_sha256": "ed5a87ae6b0c03ff87194a783a49e7d199addb010d0e1534fd27771609646221",
   "content_sha256": "ed5a87ae6b0c03ff87194a783a49e7d199addb010d0e1534fd27771609646221",
   "changed": false,
   "example_ids": [
    "count-next-words"
   ]
  },
  {
   "section_id": "counts-to-probabilities",
   "chapter_id": "predicting-the-next-word",
   "title": "Turn counts into probabilities",
   "order": 3,
   "level": 2,
   "parent_id": null,
   "sha256": "bec2344299010081a52add93d4d114de2ab50827a28f02b7e50e2b84e4541a75",
   "rendered_sha256": "d40afea3ab6f9b26665be3f1c91df7418a493a5c2d0c29974836989a83b92748",
   "content_sha256": "d40afea3ab6f9b26665be3f1c91df7418a493a5c2d0c29974836989a83b92748",
   "changed": false,
   "example_ids": [
    "next-word-probabilities",
    "figure-next-word-distribution"
   ]
  },
  {
   "section_id": "suggest-next-words",
   "chapter_id": "predicting-the-next-word",
   "title": "Suggest the next word as a shopper types",
   "order": 4,
   "level": 2,
   "parent_id": null,
   "sha256": "433f3f0b59d026a80cacc588552d9f019677660aa7e450fc3b86f91edc8e828a",
   "rendered_sha256": "0520f90d72c72c11e3bd9b0c4ca3fa91bea5c0a0c98a5c25191930131391a3a4",
   "content_sha256": "0520f90d72c72c11e3bd9b0c4ca3fa91bea5c0a0c98a5c25191930131391a3a4",
   "changed": false,
   "example_ids": [
    "autocomplete"
   ]
  },
  {
   "section_id": "generate-one-word-at-a-time",
   "chapter_id": "predicting-the-next-word",
   "title": "Generate names one word at a time",
   "order": 5,
   "level": 2,
   "parent_id": null,
   "sha256": "25e7b7b7b13e6d3f302abd531f5af90fe990389bad3d70c9b1531e7876ef5373",
   "rendered_sha256": "04d7f405d68d763b337b2e3996e4a86e346f02f2e21d5f542a0c1f2b46435f36",
   "content_sha256": "04d7f405d68d763b337b2e3996e4a86e346f02f2e21d5f542a0c1f2b46435f36",
   "changed": false,
   "example_ids": [
    "generate-names"
   ]
  },
  {
   "section_id": "score-with-perplexity",
   "chapter_id": "predicting-the-next-word",
   "title": "Score a model with perplexity",
   "order": 6,
   "level": 2,
   "parent_id": null,
   "sha256": "2b9f70afff129c05898dc04212cb438ab084bbfedfa5b98eefde2a630925e62a",
   "rendered_sha256": "54b2a6f238838bcf1ebdda9ef7c6cd39746dcb3b90935ec54ccefcb638fbd0e4",
   "content_sha256": "54b2a6f238838bcf1ebdda9ef7c6cd39746dcb3b90935ec54ccefcb638fbd0e4",
   "changed": false,
   "example_ids": [
    "perplexity-by-hand"
   ]
  },
  {
   "section_id": "unseen-pairs-break-the-model",
   "chapter_id": "predicting-the-next-word",
   "title": "Unseen word pairs break the model",
   "order": 7,
   "level": 2,
   "parent_id": null,
   "sha256": "60cbbafcfbd05480e714c98a309af3321ecc8967b6530d9817e565475e7d993e",
   "rendered_sha256": "d2fc4a853289a668d2a3c8e7139c93e4b9de52e4dff091862855b43d14ba5fbc",
   "content_sha256": "d2fc4a853289a668d2a3c8e7139c93e4b9de52e4dff091862855b43d14ba5fbc",
   "changed": false,
   "example_ids": [
    "perplexity-on-new-names"
   ]
  },
  {
   "section_id": "smooth-unseen-pairs",
   "chapter_id": "predicting-the-next-word",
   "title": "Give unseen pairs a little probability",
   "order": 8,
   "level": 2,
   "parent_id": null,
   "sha256": "255cfb42d8c75695db56256eb8cfa5942fd38058cbd495c87157943a98c8c9ba",
   "rendered_sha256": "ec755edd2660ead46e5491669c17bfcb108da4ed62b410648e15f5a1f2400ebc",
   "content_sha256": "ec755edd2660ead46e5491669c17bfcb108da4ed62b410648e15f5a1f2400ebc",
   "changed": false,
   "example_ids": [
    "add-one-smoothing"
   ]
  },
  {
   "section_id": "next-word-in-production",
   "chapter_id": "predicting-the-next-word",
   "title": "What goes wrong in production",
   "order": 9,
   "level": 2,
   "parent_id": null,
   "sha256": "a50032bcf5f4175857f313a344e7b823f6ec063017c03eadfd99f5b2b9fceb16",
   "rendered_sha256": "a50032bcf5f4175857f313a344e7b823f6ec063017c03eadfd99f5b2b9fceb16",
   "content_sha256": "a50032bcf5f4175857f313a344e7b823f6ec063017c03eadfd99f5b2b9fceb16",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "next-word-decisions",
   "chapter_id": "predicting-the-next-word",
   "title": "What this chapter decided",
   "order": 10,
   "level": 2,
   "parent_id": null,
   "sha256": "7af5427046e068b828e7d63fe70f01b343ebfa24dd514e402fb0406793923916",
   "rendered_sha256": "7af5427046e068b828e7d63fe70f01b343ebfa24dd514e402fb0406793923916",
   "content_sha256": "7af5427046e068b828e7d63fe70f01b343ebfa24dd514e402fb0406793923916",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "words-leave-gaps",
   "chapter_id": "tokens",
   "title": "Words leave gaps",
   "order": 11,
   "level": 2,
   "parent_id": null,
   "sha256": "325c7d188fe9c44d838f359cabe517dfffc39f48822ecc8bb9770c702e2730b4",
   "rendered_sha256": "883e15fc5b1eaee833c950928147ab297a58c743e8b656ed779fd26aebb8e7d2",
   "content_sha256": "883e15fc5b1eaee833c950928147ab297a58c743e8b656ed779fd26aebb8e7d2",
   "changed": false,
   "example_ids": [
    "unseen-words"
   ]
  },
  {
   "section_id": "characters-cover-everything",
   "chapter_id": "tokens",
   "title": "Characters cover everything",
   "order": 12,
   "level": 2,
   "parent_id": null,
   "sha256": "07e473c000cfb5e9e0c932bbd28e6208cb1f02a27207279484074ab7e34b83bd",
   "rendered_sha256": "58fa0c317ffbb2a9f149d2f861878d60d344722040bdb5d5c4637c1f6c09a742",
   "content_sha256": "58fa0c317ffbb2a9f149d2f861878d60d344722040bdb5d5c4637c1f6c09a742",
   "changed": false,
   "example_ids": [
    "character-tokens"
   ]
  },
  {
   "section_id": "merge-frequent-pairs",
   "chapter_id": "tokens",
   "title": "Merge the most frequent pair, again and again",
   "order": 13,
   "level": 2,
   "parent_id": null,
   "sha256": "947f5b9ddf42033e3d9330de5dfb0827010dd97dc3917bb79d43340b6fdc2911",
   "rendered_sha256": "947f5b9ddf42033e3d9330de5dfb0827010dd97dc3917bb79d43340b6fdc2911",
   "content_sha256": "947f5b9ddf42033e3d9330de5dfb0827010dd97dc3917bb79d43340b6fdc2911",
   "changed": false,
   "example_ids": [
    "merge-pairs-by-hand"
   ]
  },
  {
   "section_id": "train-the-store-tokenizer",
   "chapter_id": "tokens",
   "title": "Train the store's tokenizer",
   "order": 14,
   "level": 2,
   "parent_id": null,
   "sha256": "01ef0245a7b80e69a5f3f9b8d58d831530a6da56ab6a7854f4549de971b14215",
   "rendered_sha256": "9dd9290dc3d8b37da7f8571455d412d96846703822614841692f25263372e1be",
   "content_sha256": "9dd9290dc3d8b37da7f8571455d412d96846703822614841692f25263372e1be",
   "changed": false,
   "example_ids": [
    "store-tokenizer"
   ]
  },
  {
   "section_id": "choose-how-many-merges",
   "chapter_id": "tokens",
   "title": "Choose how many merges",
   "order": 15,
   "level": 2,
   "parent_id": null,
   "sha256": "4d87dcfd0b2dddb2017b7cbbb42a2319920f77ebae2d90e780be7123711444d0",
   "rendered_sha256": "4e730bddcda2a18b42c803ae6b9335ee12857212d93456b00091202551b9b0c5",
   "content_sha256": "4e730bddcda2a18b42c803ae6b9335ee12857212d93456b00091202551b9b0c5",
   "changed": false,
   "example_ids": [
    "vocabulary-size",
    "figure-merges-trade-off"
   ]
  },
  {
   "section_id": "read-an-open-tokenizer",
   "chapter_id": "tokens",
   "title": "Read an open model's tokenizer",
   "order": 16,
   "level": 2,
   "parent_id": null,
   "sha256": "aa9b480e2eebbe871e1f8353912cc62eab82325c1c14ff4c68ff273632791288",
   "rendered_sha256": "7b1e209339bf7bb827353bd0bde8a02e542475e3c57873210099c35785330605",
   "content_sha256": "30cbffa55b71fde0698fd98f476b16494d429493051431fb4075f8a37d0bf5ba",
   "changed": false,
   "example_ids": [
    "smollm2-tokens"
   ]
  },
  {
   "section_id": "apply-merges-by-hand",
   "chapter_id": "tokens",
   "title": "Apply SmolLM2's merges by hand",
   "order": 17,
   "level": 2,
   "parent_id": null,
   "sha256": "27adea70e7803e5c5c4b4acd18563ef3d57890e8c98e96a9cec5e50a582d3fe3",
   "rendered_sha256": "27adea70e7803e5c5c4b4acd18563ef3d57890e8c98e96a9cec5e50a582d3fe3",
   "content_sha256": "27adea70e7803e5c5c4b4acd18563ef3d57890e8c98e96a9cec5e50a582d3fe3",
   "changed": false,
   "example_ids": [
    "merges-by-hand"
   ]
  },
  {
   "section_id": "tokens-in-production",
   "chapter_id": "tokens",
   "title": "What goes wrong in production",
   "order": 18,
   "level": 2,
   "parent_id": null,
   "sha256": "2256a7a9ed396535c5ed2fd907e46156c70b6a2e003a7d13a94dfa8b0a6c2789",
   "rendered_sha256": "b886c59efda027eb13add0129ba8fb4113faa99bf692a4d7e661b3eb7df1cdea",
   "content_sha256": "b886c59efda027eb13add0129ba8fb4113faa99bf692a4d7e661b3eb7df1cdea",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "tokens-decisions",
   "chapter_id": "tokens",
   "title": "What this chapter decided",
   "order": 19,
   "level": 2,
   "parent_id": null,
   "sha256": "90e329bae61688d77872a31de9af5880c4e7a05113462332b227eeeea7dc70d9",
   "rendered_sha256": "de208cd94782f5af23c566452bbc17e42dccba4226b7ea070645d9feab98fb72",
   "content_sha256": "de208cd94782f5af23c566452bbc17e42dccba4226b7ea070645d9feab98fb72",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "longer-contexts-fit-training",
   "chapter_id": "counting-further-back",
   "title": "Longer contexts fit the training text better",
   "order": 20,
   "level": 2,
   "parent_id": null,
   "sha256": "d76d771e70ffe602633c464567dafdf5101e23bc2608ac41a6066f0f6907ad34",
   "rendered_sha256": "24d25cdde542ff4952dffce876ac088b1e580a33c89abdce283b35040296b97c",
   "content_sha256": "24d25cdde542ff4952dffce876ac088b1e580a33c89abdce283b35040296b97c",
   "changed": false,
   "example_ids": [
    "ngram-memorizes"
   ]
  },
  {
   "section_id": "longer-contexts-run-out",
   "chapter_id": "counting-further-back",
   "title": "Longer contexts run out of evidence",
   "order": 21,
   "level": 2,
   "parent_id": null,
   "sha256": "c2590e2cbce1a62e245de6ade3326a0d51538b903db21391640d8f5c843fc344",
   "rendered_sha256": "ac6c46990e37c729e23b0400e5add961c3a4e0134e7e0ab9ea3d39909490cc2f",
   "content_sha256": "ac6c46990e37c729e23b0400e5add961c3a4e0134e7e0ab9ea3d39909490cc2f",
   "changed": false,
   "example_ids": [
    "unseen-ngrams"
   ]
  },
  {
   "section_id": "mix-short-and-long-contexts",
   "chapter_id": "counting-further-back",
   "title": "Mix short and long contexts",
   "order": 22,
   "level": 2,
   "parent_id": null,
   "sha256": "87c0b3e9be857fbe18e0d6c96079c887283f7141ae6b80d707d442000e9b7ced",
   "rendered_sha256": "ba6cf9dfd1c2056c26e7a1df17eb342ff4ec838f7682a4c273e233cb5745bedd",
   "content_sha256": "ba6cf9dfd1c2056c26e7a1df17eb342ff4ec838f7682a4c273e233cb5745bedd",
   "changed": false,
   "example_ids": [
    "interpolate-orders"
   ]
  },
  {
   "section_id": "count-contexts-a-token-follows",
   "chapter_id": "counting-further-back",
   "title": "Count the contexts a token follows",
   "order": 23,
   "level": 2,
   "parent_id": null,
   "sha256": "232eec5ad0882bfa9a3c9994345383fbfe07a163c84d15f306452a7c025820af",
   "rendered_sha256": "232eec5ad0882bfa9a3c9994345383fbfe07a163c84d15f306452a7c025820af",
   "content_sha256": "232eec5ad0882bfa9a3c9994345383fbfe07a163c84d15f306452a7c025820af",
   "changed": false,
   "example_ids": [
    "continuation-counts"
   ]
  },
  {
   "section_id": "smooth-with-kneser-ney",
   "chapter_id": "counting-further-back",
   "title": "Smooth with Kneser-Ney",
   "order": 24,
   "level": 2,
   "parent_id": null,
   "sha256": "15df5d08724e333a2befd88634f22ffe3414ca25c12266dff5573833dbf70603",
   "rendered_sha256": "1a11fcd8b5dfce4f2d4bb82b990e81622a29580299c930338f087a82b0098883",
   "content_sha256": "1a11fcd8b5dfce4f2d4bb82b990e81622a29580299c930338f087a82b0098883",
   "changed": false,
   "example_ids": [
    "kneser-ney-by-hand",
    "kneser-ney-by-order",
    "figure-perplexity-by-order"
   ]
  },
  {
   "section_id": "autocomplete-with-more-context",
   "chapter_id": "counting-further-back",
   "title": "Autocomplete with three tokens of context",
   "order": 25,
   "level": 2,
   "parent_id": null,
   "sha256": "dc8202f6004466e077aa81922b644f03489b13f961a3532ce5804d24ae4b6369",
   "rendered_sha256": "dc8202f6004466e077aa81922b644f03489b13f961a3532ce5804d24ae4b6369",
   "content_sha256": "dc8202f6004466e077aa81922b644f03489b13f961a3532ce5804d24ae4b6369",
   "changed": false,
   "example_ids": [
    "ngram-autocomplete"
   ]
  },
  {
   "section_id": "the-baseline",
   "chapter_id": "counting-further-back",
   "title": "The baseline every later model is measured against",
   "order": 26,
   "level": 2,
   "parent_id": null,
   "sha256": "aafe311ed41b25f0f18f7e02994f5c035a920b355113c446e06f1d8eec0c6d49",
   "rendered_sha256": "f48c1673faaa035f4703c47f68441f6c7a1eeef5fb0420c74079f16d41334223",
   "content_sha256": "f48c1673faaa035f4703c47f68441f6c7a1eeef5fb0420c74079f16d41334223",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "ngrams-in-production",
   "chapter_id": "counting-further-back",
   "title": "What goes wrong in production",
   "order": 27,
   "level": 2,
   "parent_id": null,
   "sha256": "db35ea92f2e2a26e18cf927cf7620f9035dfaa544b08ecf7668f3208b8b9b61c",
   "rendered_sha256": "db35ea92f2e2a26e18cf927cf7620f9035dfaa544b08ecf7668f3208b8b9b61c",
   "content_sha256": "db35ea92f2e2a26e18cf927cf7620f9035dfaa544b08ecf7668f3208b8b9b61c",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "ngrams-decisions",
   "chapter_id": "counting-further-back",
   "title": "What this chapter decided",
   "order": 28,
   "level": 2,
   "parent_id": null,
   "sha256": "cf78b70d36d5934fa6335ff51859ed424f15d4b9f4dfbcf6dd72e4f15607ab12",
   "rendered_sha256": "b628f0467fcacdb56d71bc2bc382b1ec9b54b0e01d03d163ece04b14007a89be",
   "content_sha256": "b628f0467fcacdb56d71bc2bc382b1ec9b54b0e01d03d163ece04b14007a89be",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "one-hot-vectors-know-nothing",
   "chapter_id": "words-as-vectors",
   "title": "One-hot vectors know nothing",
   "order": 29,
   "level": 2,
   "parent_id": null,
   "sha256": "29f8da0628810e506e45e22f99a52a9df1211ae5e68a40c06c83aa6c87e0cf47",
   "rendered_sha256": "3d989572014b1a60aece286768350421a44ad342069e8865cacf6301b3ebf0a2",
   "content_sha256": "3d989572014b1a60aece286768350421a44ad342069e8865cacf6301b3ebf0a2",
   "changed": false,
   "example_ids": [
    "one-hot-vectors"
   ]
  },
  {
   "section_id": "describe-by-neighbours",
   "chapter_id": "words-as-vectors",
   "title": "Describe a token by the tokens around it",
   "order": 30,
   "level": 2,
   "parent_id": null,
   "sha256": "a8824807d7da23028299e80d8c07e545173ebffef6f84dfb7176916f3eb4272a",
   "rendered_sha256": "71ac195b40428a22ba65545c28cec9ef1e20e01333dd7e3f45bd8d4c0a551da5",
   "content_sha256": "71ac195b40428a22ba65545c28cec9ef1e20e01333dd7e3f45bd8d4c0a551da5",
   "changed": false,
   "example_ids": [
    "cooccurrence-counts"
   ]
  },
  {
   "section_id": "weigh-by-surprise",
   "chapter_id": "words-as-vectors",
   "title": "Weigh co-occurrence by surprise",
   "order": 31,
   "level": 2,
   "parent_id": null,
   "sha256": "1172250d931caccf4f24e63739fb7092390d06e49155b84e9c101938e3bcb940",
   "rendered_sha256": "94ea2f2ab8af047171c6f7df7a31791621d0382067769e8aba9c7e6a9ba7dd36",
   "content_sha256": "94ea2f2ab8af047171c6f7df7a31791621d0382067769e8aba9c7e6a9ba7dd36",
   "changed": false,
   "example_ids": [
    "ppmi-neighbours"
   ]
  },
  {
   "section_id": "compress-into-dense-vectors",
   "chapter_id": "words-as-vectors",
   "title": "Compress counts into dense vectors",
   "order": 32,
   "level": 2,
   "parent_id": null,
   "sha256": "b7e87759ab9585977b70f23aee78e2d99a6e843c4cb9773274997f807cee75d4",
   "rendered_sha256": "98011622d1d0be08ae7c0d145b1ef9d2bd3159655ad4ea93b5e0b6819bc5df7a",
   "content_sha256": "98011622d1d0be08ae7c0d145b1ef9d2bd3159655ad4ea93b5e0b6819bc5df7a",
   "changed": false,
   "example_ids": [
    "svd-neighbours",
    "figure-token-map"
   ]
  },
  {
   "section_id": "learn-by-predicting-neighbours",
   "chapter_id": "words-as-vectors",
   "title": "Learn vectors by predicting neighbours",
   "order": 33,
   "level": 2,
   "parent_id": null,
   "sha256": "245fe1b24c17503dbc7cb6bfd31e5edd6bdc8dde036210eb4faf7a85bbe2de7f",
   "rendered_sha256": "b7d00e51c29ad53bbdae595d0ae664f6143b5059422d37ae2d4de9ec33e93f5a",
   "content_sha256": "b7d00e51c29ad53bbdae595d0ae664f6143b5059422d37ae2d4de9ec33e93f5a",
   "changed": false,
   "example_ids": [
    "skipgram-step"
   ]
  },
  {
   "section_id": "compare-learned-and-counted",
   "chapter_id": "words-as-vectors",
   "title": "Compare learned vectors with counted ones",
   "order": 34,
   "level": 2,
   "parent_id": null,
   "sha256": "3a88674e503c647f726c98f444e07960577a2df268fdbd57c914a6207b1231f9",
   "rendered_sha256": "6a50a28105eb7f817ae3ba3a3ff712aff5b0a80e92b154c2151689e12dbbd86e",
   "content_sha256": "6a50a28105eb7f817ae3ba3a3ff712aff5b0a80e92b154c2151689e12dbbd86e",
   "changed": false,
   "example_ids": [
    "skipgram-neighbours"
   ]
  },
  {
   "section_id": "analogies-and-where-they-fail",
   "chapter_id": "words-as-vectors",
   "title": "Analogies, and where they fail",
   "order": 35,
   "level": 2,
   "parent_id": null,
   "sha256": "02cf861e7aef2abda7c0f9e5835fd04c4e82e09b43925f2180e975807d2109da",
   "rendered_sha256": "02cf861e7aef2abda7c0f9e5835fd04c4e82e09b43925f2180e975807d2109da",
   "content_sha256": "02cf861e7aef2abda7c0f9e5835fd04c4e82e09b43925f2180e975807d2109da",
   "changed": false,
   "example_ids": [
    "analogies"
   ]
  },
  {
   "section_id": "find-similar-names",
   "chapter_id": "words-as-vectors",
   "title": "Find similar names with vectors",
   "order": 36,
   "level": 2,
   "parent_id": null,
   "sha256": "1912db63daf9e6de402a7910877f186739b1543cc1db70e06ef386234c79a345",
   "rendered_sha256": "1912db63daf9e6de402a7910877f186739b1543cc1db70e06ef386234c79a345",
   "content_sha256": "1912db63daf9e6de402a7910877f186739b1543cc1db70e06ef386234c79a345",
   "changed": false,
   "example_ids": [
    "name-vectors"
   ]
  },
  {
   "section_id": "vectors-in-production",
   "chapter_id": "words-as-vectors",
   "title": "What goes wrong in production",
   "order": 37,
   "level": 2,
   "parent_id": null,
   "sha256": "17e6c4f3e21be03930e9123bf6ed5fdc54011cadf0a5cefe9a288e1fd4ee6093",
   "rendered_sha256": "17e6c4f3e21be03930e9123bf6ed5fdc54011cadf0a5cefe9a288e1fd4ee6093",
   "content_sha256": "17e6c4f3e21be03930e9123bf6ed5fdc54011cadf0a5cefe9a288e1fd4ee6093",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "vectors-decisions",
   "chapter_id": "words-as-vectors",
   "title": "What this chapter decided",
   "order": 38,
   "level": 2,
   "parent_id": null,
   "sha256": "97b1677583876964a90fb35741c889a661479698879f7e28e73b05936c4f4c4a",
   "rendered_sha256": "97b1677583876964a90fb35741c889a661479698879f7e28e73b05936c4f4c4a",
   "content_sha256": "97b1677583876964a90fb35741c889a661479698879f7e28e73b05936c4f4c4a",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "predict-from-a-window",
   "chapter_id": "a-neural-language-model",
   "title": "Predict from a window of embeddings",
   "order": 39,
   "level": 2,
   "parent_id": null,
   "sha256": "f31a47b69f2f80c550dc7b9c6292a80e889b94ea7aa55ccb3ea768b915b21c93",
   "rendered_sha256": "c5f44836ba7c092cebe025daee9dc24b9c3a5eb80bc7bfe679d0ace556fe6f9d",
   "content_sha256": "c5f44836ba7c092cebe025daee9dc24b9c3a5eb80bc7bfe679d0ace556fe6f9d",
   "changed": false,
   "example_ids": [
    "window-model-by-hand"
   ]
  },
  {
   "section_id": "compute-gradients",
   "chapter_id": "a-neural-language-model",
   "title": "Compute gradients by backpropagation",
   "order": 40,
   "level": 2,
   "parent_id": null,
   "sha256": "f94d0fa2b1fcedbf2facb7f84a7b1f143706eccfabe8914619fe20230dd4a96b",
   "rendered_sha256": "4edcef10cbbb0acdd975ecc258528ba38b4cf62ecf3e86ea8c2a98305beb7dcc",
   "content_sha256": "4edcef10cbbb0acdd975ecc258528ba38b4cf62ecf3e86ea8c2a98305beb7dcc",
   "changed": false,
   "example_ids": [
    "gradients-by-hand"
   ]
  },
  {
   "section_id": "take-gradient-descent-steps",
   "chapter_id": "a-neural-language-model",
   "title": "Take gradient descent steps",
   "order": 41,
   "level": 2,
   "parent_id": null,
   "sha256": "2ed7e6db380aecdd619286ed0c54c2ce6dcb3e6b07ef7710eac933d4d749603a",
   "rendered_sha256": "685f9e32c6b093582722bc8c123b3675d9da8552128db16d16a500edf4b2b4fa",
   "content_sha256": "685f9e32c6b093582722bc8c123b3675d9da8552128db16d16a500edf4b2b4fa",
   "changed": false,
   "example_ids": [
    "gradient-descent-by-hand"
   ]
  },
  {
   "section_id": "train-with-pytorch",
   "chapter_id": "a-neural-language-model",
   "title": "Train with PyTorch",
   "order": 42,
   "level": 2,
   "parent_id": null,
   "sha256": "26e51dcc0ee4f57678631ff075a10892e575035d01800fbda83ed73a0bded66e",
   "rendered_sha256": "30df9eb28712ae3fc59aa1234389df0a9d9834930f504bef5121ae77821192b5",
   "content_sha256": "30df9eb28712ae3fc59aa1234389df0a9d9834930f504bef5121ae77821192b5",
   "changed": false,
   "example_ids": [
    "same-as-pytorch"
   ]
  },
  {
   "section_id": "stop-at-the-best-epoch",
   "chapter_id": "a-neural-language-model",
   "title": "Stop when validation loss turns up",
   "order": 43,
   "level": 2,
   "parent_id": null,
   "sha256": "09d2a5112212afb56b46d256e9fa37b400e000ee1d8f95c2033067e7b687bed1",
   "rendered_sha256": "081a26d8ecdd81344afafb54bdc3dea82236c1c4816431aa7b6cbb39d06834b5",
   "content_sha256": "081a26d8ecdd81344afafb54bdc3dea82236c1c4816431aa7b6cbb39d06834b5",
   "changed": false,
   "example_ids": [
    "training-curve"
   ]
  },
  {
   "section_id": "compare-with-the-baseline",
   "chapter_id": "a-neural-language-model",
   "title": "Compare with the baseline",
   "order": 44,
   "level": 2,
   "parent_id": null,
   "sha256": "560e509d2b0b2d06eb4dec7bbe2bb98933e0052fed89cabc8be6a8c961579415",
   "rendered_sha256": "15abb1a2fb3011bbea9a9ad1681adaf38dfafa937f2ac9658160ebb5801d1680",
   "content_sha256": "15abb1a2fb3011bbea9a9ad1681adaf38dfafa937f2ac9658160ebb5801d1680",
   "changed": false,
   "example_ids": [
    "neural-vs-baseline",
    "seen-and-unseen-contexts"
   ]
  },
  {
   "section_id": "mix-with-the-counts",
   "chapter_id": "a-neural-language-model",
   "title": "Mix the network with the counts",
   "order": 45,
   "level": 2,
   "parent_id": null,
   "sha256": "807d11485484dde0f145bd09f36c48ffd23434d0b2d7618fef30ce5e2b81c05d",
   "rendered_sha256": "09df9db28b39b39eda9227e02bd7000fa9e4f3d77d8a837f3eb5e4b1672e8ed4",
   "content_sha256": "09df9db28b39b39eda9227e02bd7000fa9e4f3d77d8a837f3eb5e4b1672e8ed4",
   "changed": false,
   "example_ids": [
    "mix-neural-and-counts",
    "figure-mixing-curve"
   ]
  },
  {
   "section_id": "same-kind-of-text",
   "chapter_id": "a-neural-language-model",
   "title": "More text helps only if it's the same kind",
   "order": 46,
   "level": 2,
   "parent_id": null,
   "sha256": "e3efce7e7c83bc3cd4ff78dbdd2dcd6fe1323cb4da85ac4ecb7840473d2dfbd3",
   "rendered_sha256": "90c2d90afd6316394deb0d16f0a2b6326e2c6031e25f5c2f9ceb19794429cd9d",
   "content_sha256": "90c2d90afd6316394deb0d16f0a2b6326e2c6031e25f5c2f9ceb19794429cd9d",
   "changed": false,
   "example_ids": [
    "more-text-of-another-kind"
   ]
  },
  {
   "section_id": "suggest-from-similar-contexts",
   "chapter_id": "a-neural-language-model",
   "title": "Suggest from similar contexts",
   "order": 47,
   "level": 2,
   "parent_id": null,
   "sha256": "2b51176b5231be962c399a453f3e6fdbe565e00ac8d09885f1178f52a3114786",
   "rendered_sha256": "6ca5b25a2a3e0fd470b468a9c18500a3c2d1d093a187c1acbf72dffcece1255f",
   "content_sha256": "6ca5b25a2a3e0fd470b468a9c18500a3c2d1d093a187c1acbf72dffcece1255f",
   "changed": false,
   "example_ids": [
    "neural-autocomplete"
   ]
  },
  {
   "section_id": "neural-in-production",
   "chapter_id": "a-neural-language-model",
   "title": "What goes wrong in production",
   "order": 48,
   "level": 2,
   "parent_id": null,
   "sha256": "00958fe523de470526cfd2ba65bd1c8fdbc71dd62a7f3a6b035551ef468716f9",
   "rendered_sha256": "00958fe523de470526cfd2ba65bd1c8fdbc71dd62a7f3a6b035551ef468716f9",
   "content_sha256": "00958fe523de470526cfd2ba65bd1c8fdbc71dd62a7f3a6b035551ef468716f9",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "neural-decisions",
   "chapter_id": "a-neural-language-model",
   "title": "What this chapter decided",
   "order": 49,
   "level": 2,
   "parent_id": null,
   "sha256": "3059cd37474ae362cead3808b448ed8c16d066c9978a727db662594aa0b7f6d3",
   "rendered_sha256": "481b5adaa045ec48258f67078c546d9a8c726508624e157f29658a665c111e81",
   "content_sha256": "481b5adaa045ec48258f67078c546d9a8c726508624e157f29658a665c111e81",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "look-back-with-a-weighted-average",
   "chapter_id": "attention",
   "title": "Look back with a weighted average",
   "order": 50,
   "level": 2,
   "parent_id": null,
   "sha256": "6a07c298da8a68f6f5c8c57d7fc08ae156d4cf72bb47d58c90437b9c8e3033fc",
   "rendered_sha256": "6a07c298da8a68f6f5c8c57d7fc08ae156d4cf72bb47d58c90437b9c8e3033fc",
   "content_sha256": "6a07c298da8a68f6f5c8c57d7fc08ae156d4cf72bb47d58c90437b9c8e3033fc",
   "changed": false,
   "example_ids": [
    "attention-by-hand"
   ]
  },
  {
   "section_id": "hide-the-future",
   "chapter_id": "attention",
   "title": "Hide the future with a causal mask",
   "order": 51,
   "level": 2,
   "parent_id": null,
   "sha256": "43ed59b5799507c020b8774b0e96b668bc3eeeb719db11cd3dc1247540e82c09",
   "rendered_sha256": "395de434133f9fe4af8122dccc74eec187caeb2546229702c5e6d8e40bdb2ea8",
   "content_sha256": "395de434133f9fe4af8122dccc74eec187caeb2546229702c5e6d8e40bdb2ea8",
   "changed": false,
   "example_ids": [
    "causal-mask"
   ]
  },
  {
   "section_id": "scale-the-scores",
   "chapter_id": "attention",
   "title": "Scale the scores",
   "order": 52,
   "level": 2,
   "parent_id": null,
   "sha256": "04b8ad9ffa7296d551fac0d22bcfebe9825b0a62c39f91e1c50c0c7a270b9c86",
   "rendered_sha256": "83b9e0bdf9fde9848848e0181efe24b73bdd65d86bf59a476021936d0bfb28ec",
   "content_sha256": "83b9e0bdf9fde9848848e0181efe24b73bdd65d86bf59a476021936d0bfb28ec",
   "changed": false,
   "example_ids": [
    "scaling-matters",
    "figure-scaling-keeps-spread"
   ]
  },
  {
   "section_id": "several-heads",
   "chapter_id": "attention",
   "title": "Several heads look for different things",
   "order": 53,
   "level": 2,
   "parent_id": null,
   "sha256": "c1f2a6f2291f59caf9bd3a32fa90e2a8782bd8bb3aeab18e49ca53b24345e9e0",
   "rendered_sha256": "072cd04a3fdcbd88a92bda585649393698bc3abbf34a8e5f6d856ca830393d88",
   "content_sha256": "072cd04a3fdcbd88a92bda585649393698bc3abbf34a8e5f6d856ca830393d88",
   "changed": false,
   "example_ids": [
    "attention-heads"
   ]
  },
  {
   "section_id": "read-trained-heads",
   "chapter_id": "attention",
   "title": "Read what trained heads attend to",
   "order": 54,
   "level": 2,
   "parent_id": null,
   "sha256": "84edf592a06578171fe1a5c961cf97a5e5756f3328d34f2a57d705bc1ff77fff",
   "rendered_sha256": "4db98616fa42af66082fcab687431bbd82019f10e7d4e3c79b0193a12735d0ba",
   "content_sha256": "4db98616fa42af66082fcab687431bbd82019f10e7d4e3c79b0193a12735d0ba",
   "changed": false,
   "example_ids": [
    "trained-attention"
   ]
  },
  {
   "section_id": "test-what-the-model-copies",
   "chapter_id": "attention",
   "title": "Test what the model copies",
   "order": 55,
   "level": 2,
   "parent_id": null,
   "sha256": "7d8c1ba24dcf185ac4f1de32ffe1fa4c324af31575e9f172195e2efd946a7b34",
   "rendered_sha256": "de31d58fbb44fcf8be844a44adbcbe004e8ab6e392c2182f4e8b237930e7f6b5",
   "content_sha256": "de31d58fbb44fcf8be844a44adbcbe004e8ab6e392c2182f4e8b237930e7f6b5",
   "changed": false,
   "example_ids": [
    "copy-from-the-name"
   ]
  },
  {
   "section_id": "attend-to-the-previous-token",
   "chapter_id": "attention",
   "title": "Some heads attend to the previous token",
   "order": 56,
   "level": 2,
   "parent_id": null,
   "sha256": "66aa676873ec3b53c4f592d58c51d4ac6809c9980acc0bc23f5396a0e38c1e63",
   "rendered_sha256": "e91cfbe5b74f84b35ccf0afc94a85760a3290909d6ff1c7c51efedf2104a8231",
   "content_sha256": "e91cfbe5b74f84b35ccf0afc94a85760a3290909d6ff1c7c51efedf2104a8231",
   "changed": false,
   "example_ids": [
    "previous-token-heads",
    "figure-previous-token-pattern"
   ]
  },
  {
   "section_id": "reach-past-the-window",
   "chapter_id": "attention",
   "title": "Reach past the window",
   "order": 57,
   "level": 2,
   "parent_id": null,
   "sha256": "a84080466164ff14bd6105561a863ada879f0be5398352f4a062b88c9ef610eb",
   "rendered_sha256": "accb9b586b35b4a06ad07e08680843644e0122e43e4af17748dabdae4bf450ca",
   "content_sha256": "accb9b586b35b4a06ad07e08680843644e0122e43e4af17748dabdae4bf450ca",
   "changed": false,
   "example_ids": [
    "attention-reaches-back"
   ]
  },
  {
   "section_id": "attention-in-production",
   "chapter_id": "attention",
   "title": "What goes wrong in production",
   "order": 58,
   "level": 2,
   "parent_id": null,
   "sha256": "9fa7cd0b666a229519f1c98707772acae0559690af23729f269352e17c3816dd",
   "rendered_sha256": "771b9e1502f61fc2a0a6d5c52b417c5bd1323f877277b360e07061fde1796c96",
   "content_sha256": "771b9e1502f61fc2a0a6d5c52b417c5bd1323f877277b360e07061fde1796c96",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "attention-decisions",
   "chapter_id": "attention",
   "title": "What this chapter decided",
   "order": 59,
   "level": 2,
   "parent_id": null,
   "sha256": "5a9338b754b52a8ceac5b6dd7beec17044a2b45dcea01a001a099b885a029e8e",
   "rendered_sha256": "54091ce2082055560073516f5f713db866e83a0c4302b8f1b31e2a4853d37f45",
   "content_sha256": "54091ce2082055560073516f5f713db866e83a0c4302b8f1b31e2a4853d37f45",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "add-to-the-residual-stream",
   "chapter_id": "the-transformer-block",
   "title": "Add each part's output to a residual stream",
   "order": 60,
   "level": 2,
   "parent_id": null,
   "sha256": "bfbfa6ae1cabc2d4b8639ecf19be56ec168e03d267145bb74c5a8a3bc09535e5",
   "rendered_sha256": "b763b236a7ccb4b320f8ae3f566272b3708d59289897ab92a7a20b90a9ff5298",
   "content_sha256": "b763b236a7ccb4b320f8ae3f566272b3708d59289897ab92a7a20b90a9ff5298",
   "changed": false,
   "example_ids": [
    "residual-stream"
   ]
  },
  {
   "section_id": "normalize-before-each-part",
   "chapter_id": "the-transformer-block",
   "title": "Normalize before each part",
   "order": 61,
   "level": 2,
   "parent_id": null,
   "sha256": "4460fa2aba5bc3125010a9f5b35226151214d024b2c9a924dcbbda075575558b",
   "rendered_sha256": "25438c3586b194fdfa9eae2b01e84f7dac72a836b5e526bfed186e0efe7a4fca",
   "content_sha256": "25438c3586b194fdfa9eae2b01e84f7dac72a836b5e526bfed186e0efe7a4fca",
   "changed": false,
   "example_ids": [
    "rms-norm-by-hand"
   ]
  },
  {
   "section_id": "transform-each-position",
   "chapter_id": "the-transformer-block",
   "title": "Transform each position with a gated feed-forward layer",
   "order": 62,
   "level": 2,
   "parent_id": null,
   "sha256": "bf67ac84b90ba7bef624b9ebb364c85ab6dcefd6add67ae102032eee0803760b",
   "rendered_sha256": "702efeff8c6ec04dc4956dc2d1c07079468ffe2d4e017ffc826129d3df1c8ee8",
   "content_sha256": "702efeff8c6ec04dc4956dc2d1c07079468ffe2d4e017ffc826129d3df1c8ee8",
   "changed": false,
   "example_ids": [
    "gated-feed-forward"
   ]
  },
  {
   "section_id": "rotary-positions",
   "chapter_id": "the-transformer-block",
   "title": "Give attention positions with rotations",
   "order": 63,
   "level": 2,
   "parent_id": null,
   "sha256": "65478fed5b6cba9f40b01062ea416467b2fd71f979763fdf1383be6e4b403fc2",
   "rendered_sha256": "d23b6faa2a3ba986572e73536e9695a06fdd9ebc8d2d17a0faa1de362e28c1c0",
   "content_sha256": "d23b6faa2a3ba986572e73536e9695a06fdd9ebc8d2d17a0faa1de362e28c1c0",
   "changed": false,
   "example_ids": [
    "rope-by-hand",
    "figure-rope-depends-on-offset"
   ]
  },
  {
   "section_id": "tie-the-output",
   "chapter_id": "the-transformer-block",
   "title": "Tie the output layer to the embeddings",
   "order": 64,
   "level": 2,
   "parent_id": null,
   "sha256": "286bad6f7cfb4ad44919ddcd7623c0c3bc18ffa5dba8dcd9fa2bdada5770c709",
   "rendered_sha256": "286bad6f7cfb4ad44919ddcd7623c0c3bc18ffa5dba8dcd9fa2bdada5770c709",
   "content_sha256": "286bad6f7cfb4ad44919ddcd7623c0c3bc18ffa5dba8dcd9fa2bdada5770c709",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "check-against-pytorch",
   "chapter_id": "the-transformer-block",
   "title": "Check the model against PyTorch",
   "order": 65,
   "level": 2,
   "parent_id": null,
   "sha256": "a91bee866fde589845d1f89cd78c59a4520d28fc51a507837789a078c7efc963",
   "rendered_sha256": "24d27eb42ed2543438e0646415e4792b62fff8d39b0329945e85eb1fdd95623f",
   "content_sha256": "24d27eb42ed2543438e0646415e4792b62fff8d39b0329945e85eb1fdd95623f",
   "changed": false,
   "example_ids": [
    "transformer-same-as-pytorch"
   ]
  },
  {
   "section_id": "leave-out-a-block",
   "chapter_id": "the-transformer-block",
   "title": "Leave out a block to see what it does",
   "order": 66,
   "level": 2,
   "parent_id": null,
   "sha256": "4e3ac73b208af0dd80a18d6333db6ff89da47ecfbf1dda21a7d84c0590a86ff4",
   "rendered_sha256": "2a4e4df26dbb020c45c8ea1ad8b7461879303312ac4502ff2d1cc8f338bd21d1",
   "content_sha256": "2a4e4df26dbb020c45c8ea1ad8b7461879303312ac4502ff2d1cc8f338bd21d1",
   "changed": false,
   "example_ids": [
    "skip-a-block"
   ]
  },
  {
   "section_id": "measure-mismatched-details",
   "chapter_id": "the-transformer-block",
   "title": "Measure what a mismatched detail costs",
   "order": 67,
   "level": 2,
   "parent_id": null,
   "sha256": "2dac6002717a2d53f1e09a33fa4753b76375fac6af73d1d8d5d1953922758b32",
   "rendered_sha256": "8bdc53b086988303a85c5b571bdfed6bee445887d7ef04447c036dd7b4b37dc9",
   "content_sha256": "8bdc53b086988303a85c5b571bdfed6bee445887d7ef04447c036dd7b4b37dc9",
   "changed": false,
   "example_ids": [
    "mismatched-details"
   ]
  },
  {
   "section_id": "count-the-parameters",
   "chapter_id": "the-transformer-block",
   "title": "Count where the parameters go",
   "order": 68,
   "level": 2,
   "parent_id": null,
   "sha256": "bf58713f8614ea20f490fb3b7af6eb455bd8c5767eb93cc20414acad1ab42a6a",
   "rendered_sha256": "abf43c93301f0666fa9788a6b4cfc0c7220dd474d5608dc629765de4edc3b6ae",
   "content_sha256": "abf43c93301f0666fa9788a6b4cfc0c7220dd474d5608dc629765de4edc3b6ae",
   "changed": false,
   "example_ids": [
    "transformer-parameters"
   ]
  },
  {
   "section_id": "transformer-in-production",
   "chapter_id": "the-transformer-block",
   "title": "What goes wrong in production",
   "order": 69,
   "level": 2,
   "parent_id": null,
   "sha256": "58a20761dc18585ad800d08e899d01d57ff5d5e900b287ccf3ad3b5a7014b844",
   "rendered_sha256": "3cfb63eeb0f8ace205422fb5bbb8d7a4ae93fcb56045c35713588984f079c00d",
   "content_sha256": "3cfb63eeb0f8ace205422fb5bbb8d7a4ae93fcb56045c35713588984f079c00d",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "transformer-decisions",
   "chapter_id": "the-transformer-block",
   "title": "What this chapter decided",
   "order": 70,
   "level": 2,
   "parent_id": null,
   "sha256": "fa2b3d59b354111b76e73ed3a91105b5f67910e84eabb91531f82748c6729883",
   "rendered_sha256": "cb2666752ec36a9fa32c18b450622a65ea0bed9449de1044859d44b3f5022b6a",
   "content_sha256": "cb2666752ec36a9fa32c18b450622a65ea0bed9449de1044859d44b3f5022b6a",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "turn-products-into-batches",
   "chapter_id": "training-a-small-model",
   "title": "Turn products into batches",
   "order": 71,
   "level": 2,
   "parent_id": null,
   "sha256": "e369ef96895d673aafa869b75c9fc4671dbbcb89edf82f2c81d06e80363fce7b",
   "rendered_sha256": "990fec7c8e26ce2cee5a8f14d626d740a7d47733c3b25d958f5022570df5c84d",
   "content_sha256": "990fec7c8e26ce2cee5a8f14d626d740a7d47733c3b25d958f5022570df5c84d",
   "changed": false,
   "example_ids": [
    "training-batches"
   ]
  },
  {
   "section_id": "update-with-adamw",
   "chapter_id": "training-a-small-model",
   "title": "Update with AdamW and clipped gradients",
   "order": 72,
   "level": 2,
   "parent_id": null,
   "sha256": "59f15c4431c6e74c1215a6fc2412c358e4e912fa7f4cbfd4663527d811772237",
   "rendered_sha256": "fdef3671a63148908ab90ad820ca75b1e88134e158b088f94cda1390814405b6",
   "content_sha256": "fdef3671a63148908ab90ad820ca75b1e88134e158b088f94cda1390814405b6",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "warm-up-then-decay",
   "chapter_id": "training-a-small-model",
   "title": "Warm up, then decay the step size",
   "order": 73,
   "level": 2,
   "parent_id": null,
   "sha256": "434c751f5e2fcaf93ba1aff62cd4a2b5c154b7c6c6a23319e6832e0b25a42474",
   "rendered_sha256": "eeca40fac1e79c3e9b0bfbf6eb5d111d8520ffc172605434964af881ed09f425",
   "content_sha256": "eeca40fac1e79c3e9b0bfbf6eb5d111d8520ffc172605434964af881ed09f425",
   "changed": false,
   "example_ids": [
    "learning-rate-schedule",
    "figure-learning-rate-schedule"
   ]
  },
  {
   "section_id": "read-the-training-curve",
   "chapter_id": "training-a-small-model",
   "title": "Read the training curve",
   "order": 74,
   "level": 2,
   "parent_id": null,
   "sha256": "ed9fab398c9bb87dea7b1599060bb4a8807c0d07acfd093198deb087b71c0a7e",
   "rendered_sha256": "a9be5936c1c7926a5ebd99b24232f45a8067974b374eeeb24833fd69691ac5e3",
   "content_sha256": "a9be5936c1c7926a5ebd99b24232f45a8067974b374eeeb24833fd69691ac5e3",
   "changed": false,
   "example_ids": [
    "transformer-training-curve"
   ]
  },
  {
   "section_id": "compare-on-names",
   "chapter_id": "training-a-small-model",
   "title": "Compare with the baseline on names",
   "order": 75,
   "level": 2,
   "parent_id": null,
   "sha256": "118b16e48dfb0b41f08f42d9a79b0a0d1c7bcf6531bec2c966e2d21dfdb38918",
   "rendered_sha256": "f9df6c637b3ea172696907f57750088a320e208d0d84f443a8db717d37259474",
   "content_sha256": "f9df6c637b3ea172696907f57750088a320e208d0d84f443a8db717d37259474",
   "changed": false,
   "example_ids": [
    "transformer-on-names"
   ]
  },
  {
   "section_id": "compare-on-descriptions",
   "chapter_id": "training-a-small-model",
   "title": "Compare on descriptions",
   "order": 76,
   "level": 2,
   "parent_id": null,
   "sha256": "fbc2b2ab5ebe137a916b8d22b73dac7980135d27fbb8f5ac63355541ff90d535",
   "rendered_sha256": "a94279f213bcd786b5419994124b188b463f89687e0cadef4a170015ca71017a",
   "content_sha256": "a94279f213bcd786b5419994124b188b463f89687e0cadef4a170015ca71017a",
   "changed": false,
   "example_ids": [
    "transformer-on-descriptions"
   ]
  },
  {
   "section_id": "what-width-data-and-steps-buy",
   "chapter_id": "training-a-small-model",
   "title": "What width, data and steps buy",
   "order": 77,
   "level": 2,
   "parent_id": null,
   "sha256": "bc0d0aada070876e0ac3b2e3e9ac86078b419a111af9e85f2edcb91b2c13a7f5",
   "rendered_sha256": "29437cf43c95e84402b219bc99ffd448f4fc08f1c0cb146277a668a51342c5a4",
   "content_sha256": "29437cf43c95e84402b219bc99ffd448f4fc08f1c0cb146277a668a51342c5a4",
   "changed": false,
   "example_ids": [
    "width-data-and-steps"
   ]
  },
  {
   "section_id": "autocomplete-in-the-search-box",
   "chapter_id": "training-a-small-model",
   "title": "Suggest the next word in the search box",
   "order": 78,
   "level": 2,
   "parent_id": null,
   "sha256": "8a4c6e3e4ab8c793a9e2f8c0831e811d033dfed6354a90bcf2e90d633da83670",
   "rendered_sha256": "a15e9180389042a8b1c625a47f550df29a44c291ad5ceca8624e5c8fd032f161",
   "content_sha256": "a15e9180389042a8b1c625a47f550df29a44c291ad5ceca8624e5c8fd032f161",
   "changed": false,
   "example_ids": [
    "transformer-autocomplete"
   ]
  },
  {
   "section_id": "training-in-production",
   "chapter_id": "training-a-small-model",
   "title": "What goes wrong in production",
   "order": 79,
   "level": 2,
   "parent_id": null,
   "sha256": "43363c0d2990b9bf727948d4ba612a42b21de288f506112f5e17cd5d99ff6f01",
   "rendered_sha256": "43363c0d2990b9bf727948d4ba612a42b21de288f506112f5e17cd5d99ff6f01",
   "content_sha256": "43363c0d2990b9bf727948d4ba612a42b21de288f506112f5e17cd5d99ff6f01",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "training-decisions",
   "chapter_id": "training-a-small-model",
   "title": "What this chapter decided",
   "order": 80,
   "level": 2,
   "parent_id": null,
   "sha256": "b7cfeb59a8e6f34064d529bf6b494174f01541786ada3f5bad4b171b0b0046d0",
   "rendered_sha256": "652fe138e3e3cfc8a89b74e2e0e178ad8090d579010d961dc48532b3ac5c2430",
   "content_sha256": "652fe138e3e3cfc8a89b74e2e0e178ad8090d579010d961dc48532b3ac5c2430",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "choose-the-likeliest-token",
   "chapter_id": "choosing-the-next-token",
   "title": "Choose the likeliest token",
   "order": 81,
   "level": 2,
   "parent_id": null,
   "sha256": "f3780720731029235a6c5ed3621960da343a98953202f1ab3a35cf5033d51170",
   "rendered_sha256": "52f22a151e49f0307e6074843347bacc8c10a43fa2e64e6afd3f44a3103ad950",
   "content_sha256": "52f22a151e49f0307e6074843347bacc8c10a43fa2e64e6afd3f44a3103ad950",
   "changed": false,
   "example_ids": [
    "greedy-description"
   ]
  },
  {
   "section_id": "search-for-the-likeliest-text",
   "chapter_id": "choosing-the-next-token",
   "title": "Search for the likeliest text",
   "order": 82,
   "level": 2,
   "parent_id": null,
   "sha256": "8fa877e9afaa4b814ec7fd22c8a5b58cdaf006f638d5958539423e4024874f95",
   "rendered_sha256": "cb429b1fa19f963748a3b73fe18331e906ef8c48a42d05ba6a540d2b0b8c9497",
   "content_sha256": "cb429b1fa19f963748a3b73fe18331e906ef8c48a42d05ba6a540d2b0b8c9497",
   "changed": false,
   "example_ids": [
    "beam-search"
   ]
  },
  {
   "section_id": "sample-with-a-temperature",
   "chapter_id": "choosing-the-next-token",
   "title": "Sample, with a temperature",
   "order": 83,
   "level": 2,
   "parent_id": null,
   "sha256": "b665776112962cd3506d9cebaef3829ba12521aaa2abb7f23ccd863586bd6e7b",
   "rendered_sha256": "c91021a57143115735052e67496bbc6cc55185265c0010af8588e87a3e90c84f",
   "content_sha256": "c91021a57143115735052e67496bbc6cc55185265c0010af8588e87a3e90c84f",
   "changed": false,
   "example_ids": [
    "temperature-by-hand",
    "figure-temperature-flattens"
   ]
  },
  {
   "section_id": "sample-and-cut-the-tail",
   "chapter_id": "choosing-the-next-token",
   "title": "Sample, and cut the tail",
   "order": 84,
   "level": 2,
   "parent_id": null,
   "sha256": "2f1a467ed666e24450fe5449c05dc9c793cbf461f86ba5c6132d2a03767fdfd2",
   "rendered_sha256": "db9623145f62ea4ac30ea437eeccd76a784deecef5a8ec482757c986ab166b7c",
   "content_sha256": "db9623145f62ea4ac30ea437eeccd76a784deecef5a8ec482757c986ab166b7c",
   "changed": false,
   "example_ids": [
    "sample-descriptions"
   ]
  },
  {
   "section_id": "measure-each-setting",
   "chapter_id": "choosing-the-next-token",
   "title": "Measure what each setting writes",
   "order": 85,
   "level": 2,
   "parent_id": null,
   "sha256": "c4573512c8ba1ed194f724f6cd5506ea0629fb35f00abb8ce660471907df42af",
   "rendered_sha256": "a411c8c306ae082c78f365a00fad5834d3d22d8a9995d9047216cd262793bd6f",
   "content_sha256": "a411c8c306ae082c78f365a00fad5834d3d22d8a9995d9047216cd262793bd6f",
   "changed": false,
   "example_ids": [
    "measure-decoding"
   ]
  },
  {
   "section_id": "penalize-repetition",
   "chapter_id": "choosing-the-next-token",
   "title": "Penalize repetition",
   "order": 86,
   "level": 2,
   "parent_id": null,
   "sha256": "69d3d0942ee2bd5790699bd4f67500e08695ecb0adf4fafc4d47b84ef6c1b748",
   "rendered_sha256": "119dc470a1a4904bfd11a056470ac41e258e100ab24fc68b4a18243c6b3b9fcc",
   "content_sha256": "119dc470a1a4904bfd11a056470ac41e258e100ab24fc68b4a18243c6b3b9fcc",
   "changed": false,
   "example_ids": [
    "repetition-penalty-by-hand"
   ]
  },
  {
   "section_id": "forbid-an-empty-description",
   "chapter_id": "choosing-the-next-token",
   "title": "Forbid an empty description",
   "order": 87,
   "level": 2,
   "parent_id": null,
   "sha256": "efb10906331b96ba422fc1ce40be0cb2242808c838015330274431cb2389039e",
   "rendered_sha256": "f82a2f98720cca1bcca541f9f990596e80406a8a19b55a2aab4b2e6bcce194bd",
   "content_sha256": "f82a2f98720cca1bcca541f9f990596e80406a8a19b55a2aab4b2e6bcce194bd",
   "changed": false,
   "example_ids": [
    "minimum-length"
   ]
  },
  {
   "section_id": "decoding-in-production",
   "chapter_id": "choosing-the-next-token",
   "title": "What goes wrong in production",
   "order": 88,
   "level": 2,
   "parent_id": null,
   "sha256": "000f18096e61caeb8ce6434f801d919a0c788a9c0f3ad39869feb8addf463dd2",
   "rendered_sha256": "98c4f4313cce1fd6be677c9d37074dc0546d8aecfacde34cc02b8462f22abd8e",
   "content_sha256": "98c4f4313cce1fd6be677c9d37074dc0546d8aecfacde34cc02b8462f22abd8e",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "decoding-decisions",
   "chapter_id": "choosing-the-next-token",
   "title": "What this chapter decided",
   "order": 89,
   "level": 2,
   "parent_id": null,
   "sha256": "0d45a8d1c136e2e2806e9f340de178fb207e412faaf03e230a21b2b1c9aac715",
   "rendered_sha256": "0d45a8d1c136e2e2806e9f340de178fb207e412faaf03e230a21b2b1c9aac715",
   "content_sha256": "0d45a8d1c136e2e2806e9f340de178fb207e412faaf03e230a21b2b1c9aac715",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "parameters-at-scale",
   "chapter_id": "inside-an-open-model",
   "title": "Count the parameters at scale",
   "order": 90,
   "level": 2,
   "parent_id": null,
   "sha256": "3f00fbf229314bffd408d6aabfbbf9173803466ca0d45043906b0a8f29ce902c",
   "rendered_sha256": "cd33c9192b4420893b216452ac6c611870cfb097782aed73bbf6ff4398661e05",
   "content_sha256": "cd33c9192b4420893b216452ac6c611870cfb097782aed73bbf6ff4398661e05",
   "changed": false,
   "example_ids": [
    "open-model-parameters"
   ]
  },
  {
   "section_id": "grow-the-same-design",
   "chapter_id": "inside-an-open-model",
   "title": "Compare a family's sizes",
   "order": 91,
   "level": 2,
   "parent_id": null,
   "sha256": "c66f2c4d53fc6d6d3c815725f59e6d64910bf0868f4e99d70122e39503d8e694",
   "rendered_sha256": "d7197eac1a15191ae4c17702f848e5f3c0e297252b1e8eaf5caed249870d0548",
   "content_sha256": "d7197eac1a15191ae4c17702f848e5f3c0e297252b1e8eaf5caed249870d0548",
   "changed": false,
   "example_ids": [
    "open-model-family"
   ]
  },
  {
   "section_id": "cost-to-run",
   "chapter_id": "inside-an-open-model",
   "title": "Count what it costs to run",
   "order": 92,
   "level": 2,
   "parent_id": null,
   "sha256": "b3ed8434b7fcd93bed6613640caa8ffd91b9653a151bfaac106f64462ce40a07",
   "rendered_sha256": "c04b86b56b51c8adbbfae12c1aedf70f6b0f320325051c47f71936d233274df3",
   "content_sha256": "c04b86b56b51c8adbbfae12c1aedf70f6b0f320325051c47f71936d233274df3",
   "changed": false,
   "example_ids": [
    "open-model-memory",
    "figure-kv-cache-grows"
   ]
  },
  {
   "section_id": "score-the-store-text",
   "chapter_id": "inside-an-open-model",
   "title": "Score the store's text with a general model",
   "order": 93,
   "level": 2,
   "parent_id": null,
   "sha256": "cf140119bfc797fdfb4e4815ed46c619fbec240ed6427d15aa672ad7370e2f99",
   "rendered_sha256": "233520272da9c3b7efac991fda67a339d6974997e60bed4104b508eddd2e0d19",
   "content_sha256": "233520272da9c3b7efac991fda67a339d6974997e60bed4104b508eddd2e0d19",
   "changed": false,
   "example_ids": [
    "open-model-on-the-store"
   ]
  },
  {
   "section_id": "same-heads-at-scale",
   "chapter_id": "inside-an-open-model",
   "title": "Find the same heads at scale",
   "order": 94,
   "level": 2,
   "parent_id": null,
   "sha256": "0ccba21623cdff4c2e665dd12578ceca81f8a21f16bac4580b92ad7240daf86e",
   "rendered_sha256": "f60b050cb9ffc228c3fd91d4a67d152ae4fe56ace08624bf3302c3332400229b",
   "content_sha256": "f60b050cb9ffc228c3fd91d4a67d152ae4fe56ace08624bf3302c3332400229b",
   "changed": false,
   "example_ids": [
    "open-model-heads",
    "figure-first-token-sinks"
   ]
  },
  {
   "section_id": "copying-at-scale",
   "chapter_id": "inside-an-open-model",
   "title": "Test copying at scale",
   "order": 95,
   "level": 2,
   "parent_id": null,
   "sha256": "7ba19187dc3ca8de30be6aa8b246ee987dde20249c39fabcb2a47eb55199966e",
   "rendered_sha256": "6ea3c6e5df880cda5e4ba44cbb5900f486f4189827279066cc1a87506ec3473d",
   "content_sha256": "6ea3c6e5df880cda5e4ba44cbb5900f486f4189827279066cc1a87506ec3473d",
   "changed": false,
   "example_ids": [
    "open-model-copying"
   ]
  },
  {
   "section_id": "suggestions-at-scale",
   "chapter_id": "inside-an-open-model",
   "title": "Suggest the next word at scale",
   "order": 96,
   "level": 2,
   "parent_id": null,
   "sha256": "1c94af1df82ff1c5398853e25ff0bad26637ac1d844f876b822665ef485a34ed",
   "rendered_sha256": "c67bb05f989d56b371e9c894b91f322ca18655ce47d7f8d523081ae5eb84be11",
   "content_sha256": "c67bb05f989d56b371e9c894b91f322ca18655ce47d7f8d523081ae5eb84be11",
   "changed": false,
   "example_ids": [
    "open-model-autocomplete"
   ]
  },
  {
   "section_id": "side-by-side",
   "chapter_id": "inside-an-open-model",
   "title": "Set the two models side by side",
   "order": 97,
   "level": 2,
   "parent_id": null,
   "sha256": "44a47a51cf10945b1c889106bee97a99e479248569ee72817918587c814a9513",
   "rendered_sha256": "2e970ebb61659afaf88bf194c37b04446ce8e105f7425b988825d17ff18386d3",
   "content_sha256": "2e970ebb61659afaf88bf194c37b04446ce8e105f7425b988825d17ff18386d3",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "open-models-in-production",
   "chapter_id": "inside-an-open-model",
   "title": "What goes wrong in production",
   "order": 98,
   "level": 2,
   "parent_id": null,
   "sha256": "9a3e5fdedf259893e839758603ebe489032b40450c6e04daac6b51adaf899e37",
   "rendered_sha256": "75bec9738967696ad6a1ed2a7bf97a9ad8bce96d147e09e658bfd100af4a3a20",
   "content_sha256": "75bec9738967696ad6a1ed2a7bf97a9ad8bce96d147e09e658bfd100af4a3a20",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "open-model-decisions",
   "chapter_id": "inside-an-open-model",
   "title": "What this chapter decided",
   "order": 99,
   "level": 2,
   "parent_id": null,
   "sha256": "233a78ccaa85ca9170a9c2493c657a065289c019618bb8dd4b712bcf0ba350f7",
   "rendered_sha256": "2024d2be9ca483aed52cf51e5386b879755c9db22307ce28298b23a3342406c5",
   "content_sha256": "2024d2be9ca483aed52cf51e5386b879755c9db22307ce28298b23a3342406c5",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "build-the-losses",
   "chapter_id": "from-predicting-to-following",
   "title": "Build the two training losses by hand",
   "order": 100,
   "level": 2,
   "parent_id": null,
   "sha256": "36738fe78aa87f54f6d51ee8fba8b7d13f8f097bcfdd947bb47429bae3ae57f9",
   "rendered_sha256": "358ff6230c21361bfff1851c5e0575a5ba18a2adca7da3b4cb2bb3b27f16983b",
   "content_sha256": "358ff6230c21361bfff1851c5e0575a5ba18a2adca7da3b4cb2bb3b27f16983b",
   "changed": false,
   "example_ids": [
    "instruction-loss-by-hand",
    "dpo-loss-by-hand",
    "figure-dpo-loss-curve"
   ]
  },
  {
   "section_id": "ask-base-and-tuned",
   "chapter_id": "from-predicting-to-following",
   "title": "Ask the base model and the tuned model",
   "order": 101,
   "level": 2,
   "parent_id": null,
   "sha256": "7689af0d64f14aedf7f9a1b8ef85d260ba6bc49c3abe22dd6ed9b5fa0fbf41d0",
   "rendered_sha256": "5f0f245bff59a020e063f489c96b1ade1826578ac9fba05474c8d808265db491",
   "content_sha256": "5f0f245bff59a020e063f489c96b1ade1826578ac9fba05474c8d808265db491",
   "changed": false,
   "example_ids": [
    "base-and-tuned"
   ]
  },
  {
   "section_id": "format-the-request",
   "chapter_id": "from-predicting-to-following",
   "title": "Format the request as the model was tuned",
   "order": 102,
   "level": 2,
   "parent_id": null,
   "sha256": "4f1164d9f52026ce98456289e507ec9b651b69249ddddd6543d29909a512cfbf",
   "rendered_sha256": "daea7cd2a2fa31fb7d9964bc9394357f58b1f042690def79975ecce1d0710318",
   "content_sha256": "daea7cd2a2fa31fb7d9964bc9394357f58b1f042690def79975ecce1d0710318",
   "changed": false,
   "example_ids": [
    "chat-template"
   ]
  },
  {
   "section_id": "measure-made-up-details",
   "chapter_id": "from-predicting-to-following",
   "title": "Measure made-up product details",
   "order": 103,
   "level": 2,
   "parent_id": null,
   "sha256": "e6244af2691c9b4366190d3673ab5880c824bc79754b2d2516953518a4e2b023",
   "rendered_sha256": "fbc6013c397a04197d4cf1eb3d2437287421f0ec3aa16a6b729cc94c8d9876d5",
   "content_sha256": "fbc6013c397a04197d4cf1eb3d2437287421f0ec3aa16a6b729cc94c8d9876d5",
   "changed": false,
   "example_ids": [
    "made-up-materials"
   ]
  },
  {
   "section_id": "check-confidence",
   "chapter_id": "from-predicting-to-following",
   "title": "Check whether confidence warns you",
   "order": 104,
   "level": 2,
   "parent_id": null,
   "sha256": "9bef27fd04a82e8d444b3dded0306a8987df28a95978df34cbb974d65ed7153a",
   "rendered_sha256": "bc0c2abdffca255cedfd45dbf9ad2759e85c6eb9701096a0bab52770067cd62f",
   "content_sha256": "bc0c2abdffca255cedfd45dbf9ad2759e85c6eb9701096a0bab52770067cd62f",
   "changed": false,
   "example_ids": [
    "answer-confidence",
    "figure-confidence-overlap"
   ]
  },
  {
   "section_id": "find-what-context-loses",
   "chapter_id": "from-predicting-to-following",
   "title": "Find what a longer context loses",
   "order": 105,
   "level": 2,
   "parent_id": null,
   "sha256": "13178f5b39c2a1317f352d8fdca277c312e6e42c3f8bc7bdd00890f99d3103e5",
   "rendered_sha256": "31a437d181c015d874b3ccb27796f3912b5d6950f4dfa89550d27a37aa85878f",
   "content_sha256": "31a437d181c015d874b3ccb27796f3912b5d6950f4dfa89550d27a37aa85878f",
   "changed": false,
   "example_ids": [
    "answer-position"
   ]
  },
  {
   "section_id": "adapt-a-model",
   "chapter_id": "from-predicting-to-following",
   "title": "Adapt a model to your text",
   "order": 106,
   "level": 2,
   "parent_id": null,
   "sha256": "b760b271ea1614a18f309c5234d4d1bd941e2379387a42c86eda6775ba1f2497",
   "rendered_sha256": "799b39a7756e8cdc873e11cb5c20a5666bc7aa6fcc0f702bb1c5788c7fd8e6be",
   "content_sha256": "799b39a7756e8cdc873e11cb5c20a5666bc7aa6fcc0f702bb1c5788c7fd8e6be",
   "changed": false,
   "example_ids": [
    "lora-parameters"
   ]
  },
  {
   "section_id": "look-back-at-the-yardstick",
   "chapter_id": "from-predicting-to-following",
   "title": "Look back at the yardstick",
   "order": 107,
   "level": 2,
   "parent_id": null,
   "sha256": "a43e9ac18903cf0660a3a7e7978551baa2980ce3462fe8cf4a658a5771e9e412",
   "rendered_sha256": "734dee7425b9ce1e7034a2956db881bbe42e7dc8765eefe3e45820b3817b0bc3",
   "content_sha256": "734dee7425b9ce1e7034a2956db881bbe42e7dc8765eefe3e45820b3817b0bc3",
   "changed": false,
   "example_ids": [
    "test-names"
   ]
  },
  {
   "section_id": "instruction-models-in-production",
   "chapter_id": "from-predicting-to-following",
   "title": "What goes wrong in production",
   "order": 108,
   "level": 2,
   "parent_id": null,
   "sha256": "28532b42480ed9cf75b988855c2b2b4d63b031cbc4c24921ede68850bf1de8da",
   "rendered_sha256": "81ce97abc2e4071ce95d970fff7c0aa471b22709b850865ae6290dc644e6ce1d",
   "content_sha256": "81ce97abc2e4071ce95d970fff7c0aa471b22709b850865ae6290dc644e6ce1d",
   "changed": false,
   "example_ids": []
  },
  {
   "section_id": "instruction-decisions",
   "chapter_id": "from-predicting-to-following",
   "title": "What this chapter decided",
   "order": 109,
   "level": 2,
   "parent_id": null,
   "sha256": "1726a58fcd835f30f6cd613a048e03bd4b716f33d4f97e56e013cb81af77ab5a",
   "rendered_sha256": "1726a58fcd835f30f6cd613a048e03bd4b716f33d4f97e56e013cb81af77ab5a",
   "content_sha256": "1726a58fcd835f30f6cd613a048e03bd4b716f33d4f97e56e013cb81af77ab5a",
   "changed": false,
   "example_ids": []
  }
 ],
 "examples": [
  {
   "example_id": "store-text",
   "chapter_id": "predicting-the-next-word",
   "section_id": "load-the-store-text",
   "file": "examples/store-text.py",
   "sha256": "27b94213e53497acdf31858685bdc559aad59a7f1754ffddc41781731722365a",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "count-next-words",
   "chapter_id": "predicting-the-next-word",
   "section_id": "count-word-pairs",
   "file": "examples/count-next-words.py",
   "sha256": "553702c9019c4ade8db2db6cc2866b84e180a5b910bc56320cd3465736e4bc82",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "next-word-probabilities",
   "chapter_id": "predicting-the-next-word",
   "section_id": "counts-to-probabilities",
   "file": "examples/next-word-probabilities.py",
   "sha256": "deedf65d098c4d1a08e0ef4a59e0066d2781d75fb36c0ff1a1dfa8670fc611dc",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-next-word-distribution",
   "chapter_id": "predicting-the-next-word",
   "section_id": "counts-to-probabilities",
   "file": "examples/figure-next-word-distribution.py",
   "sha256": "dcd74f2a1902ede5f7702314c6543130dc6bdc1aabd70cad910b1f42b044d36d",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "autocomplete",
   "chapter_id": "predicting-the-next-word",
   "section_id": "suggest-next-words",
   "file": "examples/autocomplete.py",
   "sha256": "99cbc1d37557b38b6a6a6db7241af302c7f4419a65c10b14d7292febc7281a28",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "generate-names",
   "chapter_id": "predicting-the-next-word",
   "section_id": "generate-one-word-at-a-time",
   "file": "examples/generate-names.py",
   "sha256": "7f95c8bba827cb3e78db2ef4435a77d24b78a7734926a4d276d852f326e6137f",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "perplexity-by-hand",
   "chapter_id": "predicting-the-next-word",
   "section_id": "score-with-perplexity",
   "file": "examples/perplexity-by-hand.py",
   "sha256": "41430b68f630bbff80e98dcf55a96d005ae1cc375663dacadf75e9cb4bed7814",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "perplexity-on-new-names",
   "chapter_id": "predicting-the-next-word",
   "section_id": "unseen-pairs-break-the-model",
   "file": "examples/perplexity-on-new-names.py",
   "sha256": "cb4fcd1f5525bc1e266dbd60b6da5833f3b2087f30b932d5f0aa6700c9840afd",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "add-one-smoothing",
   "chapter_id": "predicting-the-next-word",
   "section_id": "smooth-unseen-pairs",
   "file": "examples/add-one-smoothing.py",
   "sha256": "12db38e3cf5e1367c23069ed171ef7ab3a5ca93a8561862a1c332cd67ef678e2",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "unseen-words",
   "chapter_id": "tokens",
   "section_id": "words-leave-gaps",
   "file": "examples/unseen-words.py",
   "sha256": "5497664c2570131c8ecc1eddec3b77448f93f1a77a28cd178283b94c92c3ecc6",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "character-tokens",
   "chapter_id": "tokens",
   "section_id": "characters-cover-everything",
   "file": "examples/character-tokens.py",
   "sha256": "6524204aa697dd23b7bfea266b4a5e4a7f42e5917e521d72c7fc0de8b067a86c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "merge-pairs-by-hand",
   "chapter_id": "tokens",
   "section_id": "merge-frequent-pairs",
   "file": "examples/merge-pairs-by-hand.py",
   "sha256": "b38225355e8b066ce5206a3382b6b19d5b1f515a5adda69ce7bfd0b9eb3773e4",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "store-tokenizer",
   "chapter_id": "tokens",
   "section_id": "train-the-store-tokenizer",
   "file": "examples/store-tokenizer.py",
   "sha256": "b1c168ff718af7db2fdbce9c52fcbd996961931080c746940e28883dbdd94922",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "vocabulary-size",
   "chapter_id": "tokens",
   "section_id": "choose-how-many-merges",
   "file": "examples/vocabulary-size.py",
   "sha256": "3948140b7eef8c7ddebab64d910a104001d7c899c8831f2cdc5d95de6d8909d4",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-merges-trade-off",
   "chapter_id": "tokens",
   "section_id": "choose-how-many-merges",
   "file": "examples/figure-merges-trade-off.py",
   "sha256": "98f14598fb3fbdfb9893937f1fbee39dbe50c27322b671f8bdda833b49fa446e",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "smollm2-tokens",
   "chapter_id": "tokens",
   "section_id": "read-an-open-tokenizer",
   "file": "examples/smollm2-tokens.py",
   "sha256": "e12b6e42a3c4fd1bf93c4d39c389a1f889f7b6170c2bdce9f3b9212a001f78bc",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0",
    "tokenizers": "0.23.3"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas",
    "tokenizers"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "merges-by-hand",
   "chapter_id": "tokens",
   "section_id": "apply-merges-by-hand",
   "file": "examples/merges-by-hand.py",
   "sha256": "fae2089c451dac656259a790447b641e33a4eabd0a736be7577680932acedd9e",
   "versions": {
    "python": "3.12.15",
    "tokenizers": "0.23.3"
   },
   "direct": [
    "tokenizers"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "ngram-memorizes",
   "chapter_id": "counting-further-back",
   "section_id": "longer-contexts-fit-training",
   "file": "examples/ngram-memorizes.py",
   "sha256": "305dd2e14a26b1984fc31e5fbaaa7d924c68a9939c61d4ba90da4d64936b0be4",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "unseen-ngrams",
   "chapter_id": "counting-further-back",
   "section_id": "longer-contexts-run-out",
   "file": "examples/unseen-ngrams.py",
   "sha256": "c407b98278db4c1369972b42cd505794cf513118b685708082f51a940795cd92",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "interpolate-orders",
   "chapter_id": "counting-further-back",
   "section_id": "mix-short-and-long-contexts",
   "file": "examples/interpolate-orders.py",
   "sha256": "25520af794ce1043648c432e004565d1eb9be1dc0817f3ab721b686dd6c86ce8",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "continuation-counts",
   "chapter_id": "counting-further-back",
   "section_id": "count-contexts-a-token-follows",
   "file": "examples/continuation-counts.py",
   "sha256": "de2e8148440e7907d89b3a971078efeae04360f9c1d7b619eb15f7f1921ab214",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "kneser-ney-by-hand",
   "chapter_id": "counting-further-back",
   "section_id": "smooth-with-kneser-ney",
   "file": "examples/kneser-ney-by-hand.py",
   "sha256": "8f99b7190c2b2fe324506a8695c89b353e7d67eed9084578961fbf97a462fde6",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "kneser-ney-by-order",
   "chapter_id": "counting-further-back",
   "section_id": "smooth-with-kneser-ney",
   "file": "examples/kneser-ney-by-order.py",
   "sha256": "1f997c98191fba78f259305ebc24bd71a7ae7653fe2460993677e1d0d65fd30e",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-perplexity-by-order",
   "chapter_id": "counting-further-back",
   "section_id": "smooth-with-kneser-ney",
   "file": "examples/figure-perplexity-by-order.py",
   "sha256": "18c42064aa39d95565f0075517247e804a2c9461eebccabd5dbcbba79f631137",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "ngram-autocomplete",
   "chapter_id": "counting-further-back",
   "section_id": "autocomplete-with-more-context",
   "file": "examples/ngram-autocomplete.py",
   "sha256": "db334d3bc79607c5eb4ae20629a32355e30bd593fabc22dc1e58fe64f206d708",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "one-hot-vectors",
   "chapter_id": "words-as-vectors",
   "section_id": "one-hot-vectors-know-nothing",
   "file": "examples/one-hot-vectors.py",
   "sha256": "27bb8a0e42b756168ad94350d8510d7cefe62ee63da34d72e1189a7b8a8cc527",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "cooccurrence-counts",
   "chapter_id": "words-as-vectors",
   "section_id": "describe-by-neighbours",
   "file": "examples/cooccurrence-counts.py",
   "sha256": "68e8e239013aeacc209d1c89c7c416a9cf8bf35dc1dc74a9a742d0cc8a3d322c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "ppmi-neighbours",
   "chapter_id": "words-as-vectors",
   "section_id": "weigh-by-surprise",
   "file": "examples/ppmi-neighbours.py",
   "sha256": "c26c9f303c1cbedaa4dc1a0ea5db3b358d677c20049144621f0d4dbabf26d170",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "svd-neighbours",
   "chapter_id": "words-as-vectors",
   "section_id": "compress-into-dense-vectors",
   "file": "examples/svd-neighbours.py",
   "sha256": "16eba0e5cd6db88e60bcc829097cd26b247ba1495a74d9d29aadf3915067da69",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-token-map",
   "chapter_id": "words-as-vectors",
   "section_id": "compress-into-dense-vectors",
   "file": "examples/figure-token-map.py",
   "sha256": "bcb1594d7382f7b88343af458511ccc62dab3e73d2d3235197e228f048ccb7ed",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "skipgram-step",
   "chapter_id": "words-as-vectors",
   "section_id": "learn-by-predicting-neighbours",
   "file": "examples/skipgram-step.py",
   "sha256": "e011652fff2620eed4c35820d1a461c1d576dd14d79522892b7994c3b3b752f0",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "skipgram-neighbours",
   "chapter_id": "words-as-vectors",
   "section_id": "compare-learned-and-counted",
   "file": "examples/skipgram-neighbours.py",
   "sha256": "148f05e375c49fbbee4dcac5061b0ccb1d1e04e88477e5d91221681eb185c31e",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "analogies",
   "chapter_id": "words-as-vectors",
   "section_id": "analogies-and-where-they-fail",
   "file": "examples/analogies.py",
   "sha256": "5ca230e9270e5e155d8087396e01ceed5fbd5b7b15221d243c27faef52f4a29b",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "name-vectors",
   "chapter_id": "words-as-vectors",
   "section_id": "find-similar-names",
   "file": "examples/name-vectors.py",
   "sha256": "0414a9327d8e1e69799ca2c56a0f538474dd29f5f9da2cdf1afa9887181f81ee",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "window-model-by-hand",
   "chapter_id": "a-neural-language-model",
   "section_id": "predict-from-a-window",
   "file": "examples/window-model-by-hand.py",
   "sha256": "56fd0cc7c158e6d1b7ff6e235ff880eda839c5a1e9dbc94372cb1e9e40475cfe",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "gradients-by-hand",
   "chapter_id": "a-neural-language-model",
   "section_id": "compute-gradients",
   "file": "examples/gradients-by-hand.py",
   "sha256": "af15edb6873f579e427579327baff7a53b4de99ce9a7b4ae7172b39a1af82233",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "gradient-descent-by-hand",
   "chapter_id": "a-neural-language-model",
   "section_id": "take-gradient-descent-steps",
   "file": "examples/gradient-descent-by-hand.py",
   "sha256": "a2ad00ca4de4ce831571a49a175d85f38dd5953947940de5a5898861c3f67c62",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "same-as-pytorch",
   "chapter_id": "a-neural-language-model",
   "section_id": "train-with-pytorch",
   "file": "examples/same-as-pytorch.py",
   "sha256": "0abae3c490a90066b135d61fb67bb1e2586dbde2ca69ddd003c45071acb5524b",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "training-curve",
   "chapter_id": "a-neural-language-model",
   "section_id": "stop-at-the-best-epoch",
   "file": "examples/training-curve.py",
   "sha256": "f831063aa00468d1f3b259ecd34578961e3f4eda2d91863278f56b7dfa3ae968",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "neural-vs-baseline",
   "chapter_id": "a-neural-language-model",
   "section_id": "compare-with-the-baseline",
   "file": "examples/neural-vs-baseline.py",
   "sha256": "7bb4ddb2cffe1fad4a47239eec29ce5ba70468d775705bb951ec8c4cbbd60a08",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "seen-and-unseen-contexts",
   "chapter_id": "a-neural-language-model",
   "section_id": "compare-with-the-baseline",
   "file": "examples/seen-and-unseen-contexts.py",
   "sha256": "eacdd5c474aee1a3e603855ffa2e20d304f51f520ec51a15b3b514a7108ef549",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "mix-neural-and-counts",
   "chapter_id": "a-neural-language-model",
   "section_id": "mix-with-the-counts",
   "file": "examples/mix-neural-and-counts.py",
   "sha256": "f8319096101d569ef4c4d5d47c6ce9b9f77cc3d24420c9615b3d97dfab3e81d2",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-mixing-curve",
   "chapter_id": "a-neural-language-model",
   "section_id": "mix-with-the-counts",
   "file": "examples/figure-mixing-curve.py",
   "sha256": "f09b4bffea082edb8d4bbbdc63adfa18380c08d5d5c1266c628307da98e53cd0",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "more-text-of-another-kind",
   "chapter_id": "a-neural-language-model",
   "section_id": "same-kind-of-text",
   "file": "examples/more-text-of-another-kind.py",
   "sha256": "e9805b10dd9bd1596a81de71b7d39aeed827d373298a3744d291ce1ec3ae0f6e",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "neural-autocomplete",
   "chapter_id": "a-neural-language-model",
   "section_id": "suggest-from-similar-contexts",
   "file": "examples/neural-autocomplete.py",
   "sha256": "5eca8851decadcb7dcdf73f58ad8a1f7e090c7921459d9b49ccd9477ee37442d",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "attention-by-hand",
   "chapter_id": "attention",
   "section_id": "look-back-with-a-weighted-average",
   "file": "examples/attention-by-hand.py",
   "sha256": "8729c1a4c2ca5884f4902fb1e25bd34500fe321d8c516df3cbceef86a5e315ad",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "numpy"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "causal-mask",
   "chapter_id": "attention",
   "section_id": "hide-the-future",
   "file": "examples/causal-mask.py",
   "sha256": "a18625ae1f1aa9d5c25eb0505589b9f32b8a5a1d257bd6c960328c8c52867587",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "numpy"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "scaling-matters",
   "chapter_id": "attention",
   "section_id": "scale-the-scores",
   "file": "examples/scaling-matters.py",
   "sha256": "e7bec25b581d49a99084b7e79f12538b31e9c70fcd15ea3a02ffd33748a6dac3",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "numpy"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-scaling-keeps-spread",
   "chapter_id": "attention",
   "section_id": "scale-the-scores",
   "file": "examples/figure-scaling-keeps-spread.py",
   "sha256": "232856321122e3731f9fc3e01c1ca8e28381423593a93bfe534438c79936a7de",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "attention-heads",
   "chapter_id": "attention",
   "section_id": "several-heads",
   "file": "examples/attention-heads.py",
   "sha256": "d2c08cb92a913a7036736668ca69b7ca09fbc72aad819b291d1226f6b1032c1c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "numpy"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "trained-attention",
   "chapter_id": "attention",
   "section_id": "read-trained-heads",
   "file": "examples/trained-attention.py",
   "sha256": "3b8083d0ecfe0dee2c9f8b76e398ef00c5a17aaa946b579e21173683f2eb3efb",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "copy-from-the-name",
   "chapter_id": "attention",
   "section_id": "test-what-the-model-copies",
   "file": "examples/copy-from-the-name.py",
   "sha256": "38acc1d47e5311a576e4d258440cb94a90aebeb0ee0be367c4a979840022ce1c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "previous-token-heads",
   "chapter_id": "attention",
   "section_id": "attend-to-the-previous-token",
   "file": "examples/previous-token-heads.py",
   "sha256": "8f8db315185d89017d806bc8afff028c8f77a58df50301a4e276ed8f5c4f63ac",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-previous-token-pattern",
   "chapter_id": "attention",
   "section_id": "attend-to-the-previous-token",
   "file": "examples/figure-previous-token-pattern.py",
   "sha256": "2f5ec5eeb6fa6813ef55236214afe443f651ae39f6d4e79aa950c7528823b418",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "attention-reaches-back",
   "chapter_id": "attention",
   "section_id": "reach-past-the-window",
   "file": "examples/attention-reaches-back.py",
   "sha256": "5b2bae7e4cca65ce62f4c97680e8fee3dcee6f4a4a198f137d8585a71fbe9979",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "residual-stream",
   "chapter_id": "the-transformer-block",
   "section_id": "add-to-the-residual-stream",
   "file": "examples/residual-stream.py",
   "sha256": "99d46cb595859e14c83f44936ba3d645c9fb6905503206e4da4b80bb5c96aaa5",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "rms-norm-by-hand",
   "chapter_id": "the-transformer-block",
   "section_id": "normalize-before-each-part",
   "file": "examples/rms-norm-by-hand.py",
   "sha256": "7bb8d9556f0a7d9851f96710060c358a308788d1e321834d2fcb6fcebd0713d4",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "gated-feed-forward",
   "chapter_id": "the-transformer-block",
   "section_id": "transform-each-position",
   "file": "examples/gated-feed-forward.py",
   "sha256": "d607804d29c48f2fe0e5162fd796b357b6e0278836d39705a07bb4655eace67f",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "rope-by-hand",
   "chapter_id": "the-transformer-block",
   "section_id": "rotary-positions",
   "file": "examples/rope-by-hand.py",
   "sha256": "131c998b10f6f2f04581b0bafb82a6bff34c54170252ebbacd906b13a23d24fb",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-rope-depends-on-offset",
   "chapter_id": "the-transformer-block",
   "section_id": "rotary-positions",
   "file": "examples/figure-rope-depends-on-offset.py",
   "sha256": "5c946134f4fac8e2389e1fa15287b1a9426c070b5af0d6d26ad588aa3c18ce29",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "transformer-same-as-pytorch",
   "chapter_id": "the-transformer-block",
   "section_id": "check-against-pytorch",
   "file": "examples/transformer-same-as-pytorch.py",
   "sha256": "9941eec37e9c3db81ebee49dbfa2f04581a59387ba4958be51c56b08a12afd42",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "skip-a-block",
   "chapter_id": "the-transformer-block",
   "section_id": "leave-out-a-block",
   "file": "examples/skip-a-block.py",
   "sha256": "d35eae17fc617eb161d4f35ae1d20e22394cd9e7f9f43bd395e034517598df5b",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "mismatched-details",
   "chapter_id": "the-transformer-block",
   "section_id": "measure-mismatched-details",
   "file": "examples/mismatched-details.py",
   "sha256": "37deebad2a7752f1b4dd52c3bb70ee8f7c5ebcc337e2d87726e4ae283037d686",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "transformer-parameters",
   "chapter_id": "the-transformer-block",
   "section_id": "count-the-parameters",
   "file": "examples/transformer-parameters.py",
   "sha256": "d38e4e6d6a7b1f370e366c01ca2ea95ee8f371a86820930a5d591bd43b71441c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "training-batches",
   "chapter_id": "training-a-small-model",
   "section_id": "turn-products-into-batches",
   "file": "examples/training-batches.py",
   "sha256": "c57ee322a2916280045ccc28c97139933bfa9130b14000f3bacff959ebaedcf2",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "learning-rate-schedule",
   "chapter_id": "training-a-small-model",
   "section_id": "warm-up-then-decay",
   "file": "examples/learning-rate-schedule.py",
   "sha256": "dd64e3b313f30a9793d83cb92628af2e50b9b67f2fe3e074a502db9c4c389bff",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-learning-rate-schedule",
   "chapter_id": "training-a-small-model",
   "section_id": "warm-up-then-decay",
   "file": "examples/figure-learning-rate-schedule.py",
   "sha256": "f3d15e97f944369d92f015d4700658661318b33fca84346d0c7c41b46f3becd8",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "transformer-training-curve",
   "chapter_id": "training-a-small-model",
   "section_id": "read-the-training-curve",
   "file": "examples/transformer-training-curve.py",
   "sha256": "1199ec0e50334b62235631f3b6148d38f64365fc1fed1ae5bf9e356b3209f705",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "transformer-on-names",
   "chapter_id": "training-a-small-model",
   "section_id": "compare-on-names",
   "file": "examples/transformer-on-names.py",
   "sha256": "6da3a202d5529f05b2884f91b8b04d742258dcf953f45684c3dab91ff762fc3e",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "transformer-on-descriptions",
   "chapter_id": "training-a-small-model",
   "section_id": "compare-on-descriptions",
   "file": "examples/transformer-on-descriptions.py",
   "sha256": "08a026d224f9c5330383dab8a3dd78d3d26fe2fe08b8935efd8db74da6731909",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "width-data-and-steps",
   "chapter_id": "training-a-small-model",
   "section_id": "what-width-data-and-steps-buy",
   "file": "examples/width-data-and-steps.py",
   "sha256": "61cc0f5435a84438ccab0e33229c248ae3227447907a9edfc3debfae87cd6939",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "transformer-autocomplete",
   "chapter_id": "training-a-small-model",
   "section_id": "autocomplete-in-the-search-box",
   "file": "examples/transformer-autocomplete.py",
   "sha256": "a99dc509bf5cc7bceabb665d823ab57186ec575284c633aa3a8e593bc47c6204",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "greedy-description",
   "chapter_id": "choosing-the-next-token",
   "section_id": "choose-the-likeliest-token",
   "file": "examples/greedy-description.py",
   "sha256": "fe498944845903238fc4fe88f72f3a95244010ab5eb477e61b6b2af20a35b614",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "beam-search",
   "chapter_id": "choosing-the-next-token",
   "section_id": "search-for-the-likeliest-text",
   "file": "examples/beam-search.py",
   "sha256": "cb1217c1f825ba2b4c341f6f74280d0448b7ac6c28f7a484b49061b31e03790b",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "temperature-by-hand",
   "chapter_id": "choosing-the-next-token",
   "section_id": "sample-with-a-temperature",
   "file": "examples/temperature-by-hand.py",
   "sha256": "34d5b743896fabe9f91b08192da4d204b43e2ab592df74828acf2f15344ddfb0",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-temperature-flattens",
   "chapter_id": "choosing-the-next-token",
   "section_id": "sample-with-a-temperature",
   "file": "examples/figure-temperature-flattens.py",
   "sha256": "79d8f951d2b0496c6003a627df2c8917ab1a9740884f376738d2ee4e953484c7",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "sample-descriptions",
   "chapter_id": "choosing-the-next-token",
   "section_id": "sample-and-cut-the-tail",
   "file": "examples/sample-descriptions.py",
   "sha256": "8f58a78b2490f026d4f40f74bbb669829916a86078b214ace07f8cdb9d4da19c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "measure-decoding",
   "chapter_id": "choosing-the-next-token",
   "section_id": "measure-each-setting",
   "file": "examples/measure-decoding.py",
   "sha256": "d6c761e5a9c45a1107b5569a456360d8857ba3c7c1f590c85896a11e3004012d",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "repetition-penalty-by-hand",
   "chapter_id": "choosing-the-next-token",
   "section_id": "penalize-repetition",
   "file": "examples/repetition-penalty-by-hand.py",
   "sha256": "77a89f3fbb2cd04a92c82c321db1332abb767ef5397012cd6554c306fe05d220",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "minimum-length",
   "chapter_id": "choosing-the-next-token",
   "section_id": "forbid-an-empty-description",
   "file": "examples/minimum-length.py",
   "sha256": "ea5de52a91ecc307f9e19d158b348bb1726b391a11ddc16a850a50b2bed1cc67",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "open-model-parameters",
   "chapter_id": "inside-an-open-model",
   "section_id": "parameters-at-scale",
   "file": "examples/open-model-parameters.py",
   "sha256": "4cea935259940d2539a55dc7053eea713a6dded2c49cb7ad7558f491132f3f63",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "open-model-family",
   "chapter_id": "inside-an-open-model",
   "section_id": "grow-the-same-design",
   "file": "examples/open-model-family.py",
   "sha256": "2a46a8bfcd6494833dceb538d24814997bc00e7fbc9f13e4cbfed6335242d411",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "open-model-memory",
   "chapter_id": "inside-an-open-model",
   "section_id": "cost-to-run",
   "file": "examples/open-model-memory.py",
   "sha256": "1e9ca8bad78bc48b515033877c43b5bd8d9fc2bce085587859533fd85dbbcb06",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-kv-cache-grows",
   "chapter_id": "inside-an-open-model",
   "section_id": "cost-to-run",
   "file": "examples/figure-kv-cache-grows.py",
   "sha256": "29d629e9ca9de5fee587529ab7cfa3ee8f4252fd0d37a628521e7832d189660f",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "open-model-on-the-store",
   "chapter_id": "inside-an-open-model",
   "section_id": "score-the-store-text",
   "file": "examples/open-model-on-the-store.py",
   "sha256": "4eee3949f11c3a56041c12c9e9f6263f64c77946d2b2ca4c3cd96007b5d41a23",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "open-model-heads",
   "chapter_id": "inside-an-open-model",
   "section_id": "same-heads-at-scale",
   "file": "examples/open-model-heads.py",
   "sha256": "9984af5d8a15b73e07305d1d285f6db1c5df21a1d3edf8c03c5ac42f86b64a9c",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0",
    "tokenizers": "0.23.3"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas",
    "tokenizers"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "figure-first-token-sinks",
   "chapter_id": "inside-an-open-model",
   "section_id": "same-heads-at-scale",
   "file": "examples/figure-first-token-sinks.py",
   "sha256": "2df9251af712699c88c5a98698ee96bb1cbd3ae60256784bed8f8bbd1fbf0af4",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pandas": "3.1.2",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0",
    "tokenizers": "0.23.3"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas",
    "tokenizers"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "open-model-copying",
   "chapter_id": "inside-an-open-model",
   "section_id": "copying-at-scale",
   "file": "examples/open-model-copying.py",
   "sha256": "d2b3fa7be0d4a2ac5e3f1fac11ce8009d4fa2add9d60b0565c4116dd88e86395",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "open-model-autocomplete",
   "chapter_id": "inside-an-open-model",
   "section_id": "suggestions-at-scale",
   "file": "examples/open-model-autocomplete.py",
   "sha256": "e7203c7664036daed5bde3bc342fd29e22c1bf13082e51c257ace85cf6836f9a",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "instruction-loss-by-hand",
   "chapter_id": "from-predicting-to-following",
   "section_id": "build-the-losses",
   "file": "examples/instruction-loss-by-hand.py",
   "sha256": "ac2f6c4f8372a002cebea374b6292218399ea78e56ed610931d6104bdf9bdb41",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  },
  {
   "example_id": "dpo-loss-by-hand",
   "chapter_id": "from-predicting-to-following",
   "section_id": "build-the-losses",
   "file": "examples/dpo-loss-by-hand.py",
   "sha256": "a15ec5ec84f13cbcd8179bcc05a090e98b88b3753516ed22d435e2e6bbe63b34",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "numpy"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-dpo-loss-curve",
   "chapter_id": "from-predicting-to-following",
   "section_id": "build-the-losses",
   "file": "examples/figure-dpo-loss-curve.py",
   "sha256": "0bbabf42a96aeb5128af28a162d64e060303f44787f2020e9bcb72e44a7c94c8",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "base-and-tuned",
   "chapter_id": "from-predicting-to-following",
   "section_id": "ask-base-and-tuned",
   "file": "examples/base-and-tuned.py",
   "sha256": "e34029cfafe10c118c1c8c62f5d069bd083c3ca25767b880df9e5c7d48fcb49e",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "chat-template",
   "chapter_id": "from-predicting-to-following",
   "section_id": "format-the-request",
   "file": "examples/chat-template.py",
   "sha256": "52a23096721bafa42333b0333c68acd5cc5ed48b3d7e9bd07eae12e98fb584b3",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "made-up-materials",
   "chapter_id": "from-predicting-to-following",
   "section_id": "measure-made-up-details",
   "file": "examples/made-up-materials.py",
   "sha256": "edaff0fdd222ea7512ab805b0e4a1c053e2bfb042febf8ab5c4349b7acd82d66",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "answer-confidence",
   "chapter_id": "from-predicting-to-following",
   "section_id": "check-confidence",
   "file": "examples/answer-confidence.py",
   "sha256": "f658e864f15818ca67009214a5ebb930ca7b862e6946053c1ec649c2558d92f4",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "figure-confidence-overlap",
   "chapter_id": "from-predicting-to-following",
   "section_id": "check-confidence",
   "file": "examples/figure-confidence-overlap.py",
   "sha256": "3bd50dcecc3e11243cd51c7c8d5b8309b12b23d003e346b7a075ca2e1019eec0",
   "versions": {
    "python": "3.12.15",
    "cycler": "0.12.1",
    "fonttools": "4.69.1",
    "kiwisolver": "1.5.1",
    "matplotlib": "3.11.2",
    "numpy": "2.5.5",
    "packaging": "26.4",
    "pillow": "13.0.0",
    "pyparsing": "3.3.3",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "answer-position",
   "chapter_id": "from-predicting-to-following",
   "section_id": "find-what-context-loses",
   "file": "examples/answer-position.py",
   "sha256": "57c59277cc0634bca0ce089729def32ddc299f10a2b720da38377ff054939aa1",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "lora-parameters",
   "chapter_id": "from-predicting-to-following",
   "section_id": "adapt-a-model",
   "file": "examples/lora-parameters.py",
   "sha256": "e407a1cc0c56b80f097992b747ade77aeed6f99521a1b11be2930aad876b4ea4",
   "versions": {
    "python": "3.12.15"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": false
  },
  {
   "example_id": "test-names",
   "chapter_id": "from-predicting-to-following",
   "section_id": "look-back-at-the-yardstick",
   "file": "examples/test-names.py",
   "sha256": "ed978399908b4af9c16363f5b82f909160e89a68f88882614619747fd3f45817",
   "versions": {
    "python": "3.12.15",
    "numpy": "2.5.5",
    "pandas": "3.1.2",
    "python-dateutil": "4.0.0"
   },
   "direct": [
    "matplotlib",
    "numpy",
    "pandas"
   ],
   "passing": true,
   "changed": true
  }
 ],
 "redirects": {}
}
