rename class in __init__

This commit is contained in:
Rémi Louf
2019-10-08 17:32:28 +02:00
parent 61ed889005
commit 770b15b58c

View File

@@ -1449,7 +1449,7 @@ class Bert2Rnd(BertPreTrainedModel):
"""
def __init__(self, config):
super(Bert2Bert, self).__init__(config)
super(Bert2Rnd, self).__init__(config)
self.encoder = BertModel(config)
self.decoder = BertDecoderModel(config)