Skip to content

Commit

Permalink
Merge pull request #2586 from whoisjones/GH-2582/constructor_arugments
Browse files Browse the repository at this point in the history
fix typo in TransformerEmbeddings constructor
  • Loading branch information
alanakbik authored Jan 5, 2022
2 parents 3b1a27c + 4be8a55 commit 00147e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flair/embeddings/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def __init__(
self,
model: str = "bert-base-uncased",
is_document_embedding: bool = False,
allow_long_sequences: bool = True,
allow_long_sentences: bool = True,
**kwargs,
):
"""
Expand All @@ -907,7 +907,7 @@ def __init__(
model=model,
is_token_embedding=True,
is_document_embedding=is_document_embedding,
allow_long_sequences=allow_long_sequences,
allow_long_sentences=allow_long_sentences,
**kwargs,
)

Expand Down

0 comments on commit 00147e3

Please sign in to comment.