mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
add missing keys (#6719)
This commit is contained in:
parent
a25c9fc8e1
commit
d17cce2270
@ -403,6 +403,7 @@ class AlbertPreTrainedModel(PreTrainedModel):
|
||||
|
||||
config_class = AlbertConfig
|
||||
base_model_prefix = "albert"
|
||||
authorized_missing_keys = [r"position_ids"]
|
||||
|
||||
def _init_weights(self, module):
|
||||
""" Initialize the weights.
|
||||
|
Loading…
Reference in New Issue
Block a user