modify weight name

Former-commit-id: 3f3c528fa8056dc1952ea5293bad7e55187983ff
This commit is contained in:
hiyouga 2024-01-09 20:22:47 +08:00
parent 4d6669c268
commit 92b9956c06

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"