Update configuration_bert.py
Browse files- configuration_bert.py +1 -3
configuration_bert.py
CHANGED
@@ -115,8 +115,7 @@ class BertConfig(PretrainedConfig):
|
|
115 |
pad_token_id=0,
|
116 |
position_embedding_type="absolute",
|
117 |
use_cache=True,
|
118 |
-
classifier_dropout=None
|
119 |
-
attn_implementation='OutEffHop',
|
120 |
**kwargs,
|
121 |
):
|
122 |
super().__init__(pad_token_id=pad_token_id, **kwargs)
|
@@ -136,7 +135,6 @@ class BertConfig(PretrainedConfig):
|
|
136 |
self.position_embedding_type = position_embedding_type
|
137 |
self.use_cache = use_cache
|
138 |
self.classifier_dropout = classifier_dropout
|
139 |
-
self.attn_implementation = attn_implementation
|
140 |
|
141 |
|
142 |
class BertOnnxConfig(OnnxConfig):
|
|
|
115 |
pad_token_id=0,
|
116 |
position_embedding_type="absolute",
|
117 |
use_cache=True,
|
118 |
+
classifier_dropout=None
|
|
|
119 |
**kwargs,
|
120 |
):
|
121 |
super().__init__(pad_token_id=pad_token_id, **kwargs)
|
|
|
135 |
self.position_embedding_type = position_embedding_type
|
136 |
self.use_cache = use_cache
|
137 |
self.classifier_dropout = classifier_dropout
|
|
|
138 |
|
139 |
|
140 |
class BertOnnxConfig(OnnxConfig):
|