Skip to content

Commit

Permalink
Update classification_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flozi00 authored Jun 20, 2020
1 parent d7992ad commit 0293739
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions simpletransformers/classification/classification_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
LongformerConfig,
LongformerForSequenceClassification,
LongformerTokenizer,
MobileBertConfig,
MobileBertTokenizer,
MobileBertForSequenceClassification,
RobertaConfig,
RobertaTokenizer,
XLMConfig,
Expand Down Expand Up @@ -106,6 +109,7 @@ def __init__(
"electra": (ElectraConfig, ElectraForSequenceClassification, ElectraTokenizer),
"flaubert": (FlaubertConfig, FlaubertForSequenceClassification, FlaubertTokenizer),
"longformer": (LongformerConfig, LongformerForSequenceClassification, LongformerTokenizer),
"mobilebert": (MobileBertConfig, MobileBertForSequenceClassification, MobileBertTokenizer),
"roberta": (RobertaConfig, RobertaForSequenceClassification, RobertaTokenizer),
"xlnet": (XLNetConfig, XLNetForSequenceClassification, XLNetTokenizer),
"xlm": (XLMConfig, XLMForSequenceClassification, XLMTokenizer),
Expand Down

0 comments on commit 0293739

Please sign in to comment.