Spaces:
Running
Running
Download config/eval_gpt2_medium.py from patchbanks/nanoMPC: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/patchbanks/nanoMPC/resolve/main/config/eval_gpt2_medium.py
- Command line
-
hf download hf://spaces/patchbanks/nanoMPC/config/eval_gpt2_medium.py
-
curl -L -o eval_gpt2_medium.py https://huggingface.co/spaces/patchbanks/nanoMPC/resolve/main/config/eval_gpt2_medium.py
216 Bytes
| # evaluate the base gpt2 | |
| # n_layer=24, n_head=16, n_embd=1024 | |
| # 350M parameters | |
| batch_size = 8 | |
| eval_iters = 500 # use more iterations to get good estimate | |
| eval_only = True | |
| wandb_log = False | |
| init_from = 'gpt2-medium' | |