Former-commit-id: d86455f685fa531e651333e00b4fe54d895cf2e4
This commit is contained in:
hiyouga
2024-01-09 18:31:27 +08:00
parent 7c3311ad5a
commit 9537bc7f3e
9 changed files with 78 additions and 50 deletions

View File

@@ -40,6 +40,10 @@ TRAINING_STAGES = {
"Pre-Training": "pt"
}
V_HEAD_WEIGHTS_NAME = "v_head.bin"
V_HEAD_SAFE_WEIGHTS_NAME = "v_head.safetensors"
class DownloadSource(str, Enum):
DEFAULT = "hf"
MODELSCOPE = "ms"