1
0
rm-dr 22d3b0a94e
Some checks failed
CI / Check typos (push) Failing after 12s
CI / Check links (push) Successful in 38s
CI / Clippy (push) Failing after 1m54s
CI / Build and test (push) Failing after 2m25s
nix
2025-12-16 22:11:43 -08:00
CI
2025-12-13 08:44:35 -08:00
2025-12-15 21:59:14 -08:00
2025-12-15 21:59:14 -08:00
2025-12-13 08:44:38 -08:00
2025-12-15 21:59:14 -08:00
2025-12-15 21:59:14 -08:00
CI
2025-12-13 08:44:35 -08:00
2025-12-15 21:59:14 -08:00
2025-12-11 17:37:12 -08:00
nix
2025-12-16 22:11:43 -08:00
CI
2025-12-13 08:44:35 -08:00

LLM from scratch

Resources

TODO:

  • chat cli, evaluate each epoch

  • better arch (read nanochat)

  • count tokens

  • download more data (code, full fineweb)

  • better train progress bar

  • Notes

  • TrainTestIterator

    • total length
    • deterministic shuffle
    • prepare in parallel
    • refactor new() into builder
    • small texts (<|bos|>?)
  • Training

    • multi-device training
    • model parameters in file
Description
LLM from scratch
Readme 307 KiB
Languages
Rust 97.8%
Nix 2.2%