Download train.py from koreashin/simcheongi: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/koreashin/simcheongi/resolve/main/train.py
- Command line
-
hf download hf://koreashin/simcheongi/train.py
-
curl -L -o train.py https://huggingface.co/koreashin/simcheongi/resolve/main/train.py
447 Bytes
| #!/usr/bin/env python | |
| """Fine-tune the simcheongi student on 'simcheongi-bc/1' data (see docs/TRAINING.md). | |
| python train.py --data /data/my_bc --out runs/ft1 --steps 3000 --batch 32 --lr 1e-4 | |
| """ | |
| import os | |
| import sys | |
| sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) | |
| from simcheongi import training # noqa: E402 | |
| if __name__ == "__main__": | |
| sys.exit(training.run(training.build_parser(lora=False).parse_args(), lora=False)) | |