File size: 290 Bytes
9eda5ba |
1 2 3 4 5 6 7 8 |
import shutil, os, pathlib
dst = pathlib.Path("release")
dst.mkdir(exist_ok=True)
shutil.copy("out/tokenizer.json", dst/"tokenizer.json")
shutil.copy("out/pretrain/gpt_config.json", dst/"gpt_config.json")
shutil.copy("out/sft/model_sft.pt", dst/"model_sft.pt")
print("release/ populated.")
|