fix(modeling): use correct base_model_prefix name
This commit is contained in:
parent
21ee10d32c
commit
1909ae19b3
@ -545,7 +545,7 @@ class StableLMEpochPreTrainedModel(PreTrainedModel):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
config_class = StableLMEpochConfig
|
config_class = StableLMEpochConfig
|
||||||
base_model_prefix = "transformer"
|
base_model_prefix = "model"
|
||||||
supports_gradient_checkpointing = True
|
supports_gradient_checkpointing = True
|
||||||
_no_split_modules = ["DecoderLayer"]
|
_no_split_modules = ["DecoderLayer"]
|
||||||
_skip_keys_device_placement = "past_key_values"
|
_skip_keys_device_placement = "past_key_values"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user