Skip to content

Commit

Permalink
Update ner_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
flozi00 authored Jun 20, 2020
1 parent 4549213 commit d7992ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions simpletransformers/ner/ner_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
LongformerConfig,
LongformerForTokenClassification,
LongformerTokenizer,
MobileBertConfig,
MobileBertTokenizer,
MobileBertForTokenClassification,
RobertaConfig,
RobertaForTokenClassification,
RobertaTokenizer,
Expand Down Expand Up @@ -130,6 +133,7 @@ def __init__(
"distilbert": (DistilBertConfig, DistilBertForTokenClassification, DistilBertTokenizer),
"electra": (ElectraConfig, ElectraForTokenClassification, ElectraTokenizer),
"longformer": (LongformerConfig, LongformerForTokenClassification, LongformerTokenizer),
"mobilebert": (MobileBertConfig, MobileBertForTokenClassification, MobileBertTokenizer),
"roberta": (RobertaConfig, RobertaForTokenClassification, RobertaTokenizer),
"xlmroberta": (XLMRobertaConfig, XLMRobertaForTokenClassification, XLMRobertaTokenizer),
}
Expand Down

0 comments on commit d7992ad

Please sign in to comment.