modify weight name

Former-commit-id: 919acc2b0b
This commit is contained in:
hiyouga
2024-01-09 20:22:47 +08:00
parent 61960189b2
commit b29c4fb308

View File

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