Skip to content

Commit

Permalink
GH-873: use first subword embedding for RoBERTa
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-it committed Aug 2, 2019
1 parent b08d6d1 commit 7202075
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 @@ -1260,7 +1260,7 @@ def __init__(
self,
model: str = "roberta.large",
layers: str = "-1",
pooling_operation: str = "first_last",
pooling_operation: str = "first",
):
"""RoBERTa, as proposed by Liu et al. 2019.
:param model: name of RoBERTa model
Expand Down

0 comments on commit 7202075

Please sign in to comment.