Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/karpathy/nanochat
/ chat_sft.py
File
chat_sft.py
scripts/chat_sft.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Supervised fine-tuning (SFT) the model.
3
Run
as
:
4
Callers
nothing calls this directly
Calls
15
autodetect_device_type
Function · 0.90
compute_init
Function · 0.90
print0
Function · 0.90
get_peak_flops
Function · 0.90
DummyWandb
Class · 0.90
load_model
Function · 0.90
get_token_bytes
Function · 0.90
get_base_dir
Function · 0.90
load_optimizer_state
Function · 0.90
SmolTalk
Class · 0.90
CustomJSON
Class · 0.90
MMLU
Class · 0.90
Tested by
no test coverage detected