modify weight name

This commit is contained in:
hiyouga 2024-01-09 20:22:47 +08:00
parent 4571068e1e
commit 919acc2b0b
1 changed files with 2 additions and 2 deletions

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"