Skip to content

Commit 75ae457

Browse files
sijunhewj-Mcat
andauthored
Update paddlenlp/transformers/bert/configuration.py
Co-authored-by: 骑马小猫 <[email protected]>
1 parent d83e64d commit 75ae457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddlenlp/transformers/bert/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ class BertConfig(PretrainedConfig):
365365
>>> configuration = model.config
366366
```"""
367367
model_type = "bert"
368-
standard_config: Dict[str, str] = {"dropout": "classifier_dropout"}
368+
standard_config_map: Dict[str, str] = {"dropout": "classifier_dropout"}
369369
pretrained_init_configuration = BERT_PRETRAINED_INIT_CONFIGURATION
370370

371371
def __init__(

0 commit comments

Comments
 (0)