Update modeling_bert_hash.py
Browse files- modeling_bert_hash.py +1 -1
modeling_bert_hash.py
CHANGED
|
@@ -266,7 +266,7 @@ class BertHashModel(BertPreTrainedModel):
|
|
| 266 |
|
| 267 |
|
| 268 |
@auto_docstring
|
| 269 |
-
class
|
| 270 |
_tied_weights_keys = {
|
| 271 |
"cls.predictions.decoder.weight": "bert.embeddings.word_embeddings.weight",
|
| 272 |
"cls.predictions.decoder.bias": "cls.predictions.bias",
|
|
|
|
| 266 |
|
| 267 |
|
| 268 |
@auto_docstring
|
| 269 |
+
class BertHashForMaskedLM(BertPreTrainedModel):
|
| 270 |
_tied_weights_keys = {
|
| 271 |
"cls.predictions.decoder.weight": "bert.embeddings.word_embeddings.weight",
|
| 272 |
"cls.predictions.decoder.bias": "cls.predictions.bias",
|