fix(modeling): use correct base_model_prefix name

This commit is contained in:
Jonathan Tow 2024-01-29 19:49:03 +00:00 committed by system
parent 21ee10d32c
commit 1909ae19b3
No known key found for this signature in database
GPG Key ID: 6A528E38E0733467

@ -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"