Upload code/agentic_chat.py with huggingface_hub
Browse files113 unmodified lines114115116117118119120113 unmodified lines# We always load the SFT checkpoint for the chat scripttry:ckpt_path = hf_hub_download(repo_id="ViuAI/viuai-500m-sft-tokenized", filename="sft_checkpoints/sft_ckpt_latest.pt", token=token)except:# Fallback to local or baseckpt_path = "checkpoints/ckpt_latest_updated.pt"113 unmodified lines114115116117118119120121113 unmodified lines# We always load the SFT checkpoint for the chat scripttry:# Try to download the newly uploaded SFT checkpointckpt_path = hf_hub_download(repo_id=args.repo_id, filename="sft_checkpoints/sft_v1/sft_ckpt_latest.pt", token=token)except:# Fallback to local or baseckpt_path = "checkpoints/ckpt_latest_updated.pt"
code/agentic_chat.py+2-1