Commit Graph

11 Commits

Author SHA1 Message Date
Jingu Kang
34b71420b8
Merge 42b05eea7e into 4a87a0d19f 2025-11-18 15:14:29 +00:00
svlandeg
70319851fc fix typo 2025-10-29 19:48:34 +01:00
Andrej Karpathy
8892470f29 add the SpellingBee task so that nanochat can count r in strawberry etc. along the way we had to add a bunch of new functionality, e.g. extend the calculator to support the count function of python. possibly the current TaskMixture uses way too many synthetic examples of SpellingBee because the eval gives us exactly 100% performance on spelling. We can tune this later to reclaim some wall clock time here I think 2025-10-24 14:02:48 +00:00
Andrej Karpathy
5bdc99abfb merge and resolve conflict 2025-10-21 17:19:10 +00:00
Andrej Karpathy
fe5aed940b add personality to nanochat. breaks previous code on git pull and requires download of a new file from s3, but there is a helpful error message so hopefully its ok 2025-10-21 15:04:58 +00:00
karpathy
2e9669e03a upgrading all other files to be able to use cpu/mps as well as cuda. various minor other changes ,e.g. changing max_iterations to num_iterations in sft script for consistency in naming 2025-10-20 10:15:17 -07:00
Andrej Karpathy
190d9515d0 dont evaluate the sampling evals during SFT they are too slow. keep the multiple choice evals. delete unused imports 2025-10-15 16:42:23 +00:00
kibitzing
42b05eea7e Add guard against division by zero in chat_sft when num_tokens is 0 2025-10-15 13:24:00 +00:00
kibitzing
f5001141ec Revert model source to mid 2025-10-15 10:29:49 +00:00
kibitzing
b48d210795 Fix gradient accumulation for variable length sequences 2025-10-15 08:56:58 +00:00
karpathy
3a5e0bc50b initial commit 2025-10-13 06:49:24 -07:00