Upload code/agentic_chat.py with huggingface_hub
Browse files126 unmodified lines127128129130131132133126 unmodified linestokenizer = load_tokenizer(args.repo_id, token)try:ckpt_path = hf_hub_download(repo_id=args.repo_id, filename="sft_checkpoints/sft_v3/sft_ckpt_latest.pt", token=token)except:ckpt_path = "checkpoints/ckpt_latest_updated.pt"if not os.path.exists(ckpt_path):126 unmodified lines127128129130131132133126 unmodified linestokenizer = load_tokenizer(args.repo_id, token)try:ckpt_path = hf_hub_download(repo_id=args.repo_id, filename="sft_checkpoints/sft_v6/sft_ckpt_latest.pt", token=token)except:ckpt_path = "checkpoints/ckpt_latest_updated.pt"if not os.path.exists(ckpt_path):
code/agentic_chat.py+1-1