modify weight name

Former-commit-id: 919acc2b0be03ede08cc0018784e8874a920e300
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" "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): class DownloadSource(str, Enum):
DEFAULT = "hf" DEFAULT = "hf"