Skip to content

Commit

Permalink
GH-1492: added new BERT embeddings implementation, with original name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kishaloy Halder committed Mar 26, 2020
1 parent 5a081a2 commit 4a9e629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flair/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,7 @@ def __setstate__(self, d):
self.word_embeddings[key] = self.word_embeddings[key].cpu()


class BertEmbeddingsNew(DocumentEmbeddings, TokenEmbeddings):
class BertEmbeddings(DocumentEmbeddings, TokenEmbeddings):
def __init__(
self,
bert_model_or_path: str = "bert-base-uncased",
Expand Down

0 comments on commit 4a9e629

Please sign in to comment.