{"library":{"repo":"mikeleppane/llm.mojo","description":"A GPT-2, built from scratch in Mojo — tokenizer to trained weights, no ML framework, every FLOP tested and explained.","created_at":"2026-07-09T15:10:25Z","first_seen":"2026-07-11T07:58:38Z","found_by":"name,description / language","stars":1,"forks":0,"license":"MIT","size_kb":2010,"commits":24,"mojo_lines":25299,"mojo_files":135,"tooling":"pixi","packaging":"none","mojo_version":"1.0.0","version_source":"lock","version_file":"","version_estimate":"0.26.2","version_estimate_source":"date","topics":["from-scratch","gpt-2","llm","machine-learning","mojo","transformer"],"stats_as_of":"2026-11-23","open_issues":0,"watchers":0,"archived":false,"state":"ok","renamed_to":"","aliases":[],"declared_deps":6,"depends_on":[],"used_by":[],"used_by_forks":[],"second_degree":[],"dependencies":["ipykernel","jupyterlab","matplotlib","numpy","python","regex"],"category":"ml"},"migrations":[{"at":"2026-07-02T06:13:15Z","sha":"1d61f1503bb40d46e616ae815fc9bfd55e4352a6","kind":"mojo_version","from":"","to":"1.0.0"},{"at":"2026-07-02T06:13:15Z","sha":"1d61f1503bb40d46e616ae815fc9bfd55e4352a6","kind":"tooling","from":"none","to":"pixi"}],"commits":[{"at":"2026-07-02T06:13:15Z","sha":"1d61f1503bb40d46e616ae815fc9bfd55e4352a6","mojo_lines":36,"tooling":"pixi","mojo_version":"1.0.0","subject":"feat(scaffold): bootstrap pixi toolchain, ci, and smoke test","type":"version","secondary":["docs"],"typed_by":"rules"},{"at":"2026-07-03T09:30:44Z","sha":"a998a49d2751ccda27861b21563acbbc266e585a","mojo_lines":1165,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part V: tokenization","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-07-03T10:17:56Z","sha":"9afe91ed1731c49aca46febe2b11bc76b83353b2","mojo_lines":2127,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part VI: dataset pipeline","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-07-03T15:44:48Z","sha":"3785c8f6cab660d7f2b1b0388de2ad8407396773","mojo_lines":3675,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge foundation-restore: Parts II-III foundation","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-07-03T16:06:32Z","sha":"77832ba788fd3eb1186c7d1db5fd02323407286c","mojo_lines":4508,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part VII: tiny bigram LM","type":"feature","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-07-03T17:00:42Z","sha":"5e59f27e54de8a4aec22c201975cddc74f797a41","mojo_lines":4508,"tooling":"pixi","mojo_version":"1.0.0","subject":"docs(readme): rewrite introduction and add architecture document","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-07-03T18:59:51Z","sha":"09b68583c799cd95bf5629b3630a672412f0845a","mojo_lines":4669,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part VIII: architecture family","type":"docs","secondary":["test"],"typed_by":"files"},{"at":"2026-07-03T21:37:55Z","sha":"177dfbc07d4ebf6bcdcd2652c4d034dc549e00e7","mojo_lines":5689,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part IX: NN building blocks","type":"feature","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-07-04T11:05:06Z","sha":"61fbafb0fd51e37d465c425a91bc54fd9573615b","mojo_lines":6775,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part X: Attention","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-07-04T11:35:20Z","sha":"2f0a6d1f4992ebe4e5402c85d06e05b643c156f4","mojo_lines":6775,"tooling":"pixi","mojo_version":"1.0.0","subject":"docs(readme): clarify GPT-2 is a completion model, not a chatbot","type":"docs","secondary":[],"typed_by":"rules"},{"at":"2026-07-04T12:30:22Z","sha":"50d9676bce7f71ede204381102fd0f36ed2d6eed","mojo_lines":9261,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part XI: Backpropagation by hand","type":"refactor","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-07-04T16:15:11Z","sha":"1ba9ab6e9ba5b83b25e98cc068f08624e664f8cb","mojo_lines":12947,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part XII: Encoder-decoder lab","type":"feature","secondary":["test"],"typed_by":"files"},{"at":"2026-07-04T16:57:18Z","sha":"aa11f4824463b6d356651d1eab1bd40f9841b0a5","mojo_lines":15443,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part XIII: The GPT-2 model","type":"feature","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-07-05T07:34:54Z","sha":"28fd8fb6e4945d9ec909c41c42b1cb740c85e6b4","mojo_lines":18267,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part XIV: Training (AdamW, schedule, clipping, checkpoints, train_gpt)","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-07-05T08:29:55Z","sha":"cf0b053fb77b7bd47a74fa84e5b9b4767aae42df","mojo_lines":19449,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part XV: Generation (top-k/top-p, SamplerConfig, generate loop, four-policy demo)","type":"feature","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-07-05T09:50:08Z","sha":"2d014c1ac32d142e8d70b7ab74c8be2d656f822d","mojo_lines":20335,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Part XVI: Loading real GPT-2 weights (the MVP)","type":"feature","secondary":["test","docs"],"typed_by":"files"},{"at":"2026-07-09T15:25:58Z","sha":"d09a5e35ab476add5997daed102b6422d15ff1b3","mojo_lines":20903,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge Mojo idioms upgrade: ref/@ tensor core, Span rows, move-based caches","type":"refactor","secondary":["test"],"typed_by":"files"},{"at":"2026-07-11T13:41:27Z","sha":"891b486a653e910f04cca22b160bf373970c1fda","mojo_lines":20903,"tooling":"pixi","mojo_version":"1.0.0","subject":"build(pixi): make test-fast the canonical test task","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-07-11T13:41:27Z","sha":"5331612bfa40ff9214d2f888333add1450d012b3","mojo_lines":20903,"tooling":"pixi","mojo_version":"1.0.0","subject":"ci: run test-fast as the green gate","type":"chore","secondary":[],"typed_by":"rules"},{"at":"2026-07-11T13:48:21Z","sha":"66a49a193b98def4bc8e1be220548b99ac021f9c","mojo_lines":20903,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge docs and toolchain sync: license, docs currency, CI gate","type":"docs","secondary":[],"typed_by":"files"},{"at":"2026-07-11T15:50:36Z","sha":"95c3925ed2dd9a515f0d9c2c70f5613796f2e555","mojo_lines":22095,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge part-17-kv-cache: the KV cache","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-07-12T08:29:53Z","sha":"c220e1184eed9d3e8ebcf3271550ac5f8bbb3f0f","mojo_lines":22797,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge part-18-performance: the arithmetic (SIMD + threading)","type":"other","secondary":["test","docs"],"typed_by":"rules"},{"at":"2026-07-12T09:54:37Z","sha":"efd2c7edbc800b0f090650bd4a4f0f5c9d5e6172","mojo_lines":24478,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge docs/google-style-docstrings: Google-style docstrings repo-wide","type":"refactor","secondary":["test"],"typed_by":"files"},{"at":"2026-07-12T16:21:18Z","sha":"2b49f918c4c1b6e4e170f4b28a2621b22bfa1a32","mojo_lines":25299,"tooling":"pixi","mojo_version":"1.0.0","subject":"Merge pull request #1 from mikeleppane/review-fixes-post-part19","type":"merge","secondary":["docs"],"typed_by":"rules"}],"activity":[{"month":"2026-07","stars":0,"forks":0,"releases":0,"issues_opened":0,"prs_opened":0,"pushes":2,"days_active":2}],"releases":[],"issues":{"open_issues":0,"closed_issues":0,"open_prs":0,"merged_prs":1,"closed_prs":0,"recent_open_issues":[],"recent_prs":[{"number":1,"title":"Review fixes post part19","state":"closed","labels":[],"author":"mikeleppane","comments":0,"created_at":"2026-07-12T16:21:11Z","updated_at":"2026-07-12T16:21:19Z","closed_at":"2026-07-12T16:21:18Z","merged_at":"2026-07-12T16:21:18Z"}]},"contributors":{"total":1,"months":[{"month":"2026-07","active":1,"new":1}]},"over_time":{"lines_of_mojo":25299,"commits":{"total":24,"months":[{"month":"2026-07","commits":24,"cumulative":24}]},"issues":{"total":1,"counts":"issues and pull requests","months":[{"month":"2026-07","opened":1,"closed":1,"cumulative_opened":1,"cumulative_closed":1}]}},"similar":[{"repo":"ulmentflam/llm.mojo","score":0.87042147},{"repo":"mempirate/mojobag","score":0.86685425},{"repo":"atsentia/mojo-tokenizer","score":0.86285543},{"repo":"itsdevcoffee/mojo-visage","score":0.86100906},{"repo":"Terapines/llm.mojo","score":0.8589314}],"similar_from":{"model":"bge-small-en-v1.5","model_rev":"bbddccb7d85cc5e6","snapshot":3454761910736014829,"categories_version":1}}