MCPcopy
hub / github.com/karpathy/nanochat / base_train.py

File base_train.py

scripts/base_train.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Train model. From root directory of the project, run as:
3
4python -m scripts.base_train

Callers

nothing calls this directly

Calls 15

print_bannerFunction · 0.90
autodetect_device_typeFunction · 0.90
compute_initFunction · 0.90
get_peak_flopsFunction · 0.90
print0Function · 0.90
DummyWandbClass · 0.90
get_tokenizerFunction · 0.90
get_token_bytesFunction · 0.90
get_base_dirFunction · 0.90
load_checkpointFunction · 0.90

Tested by

no test coverage detected