koukandre commited on
Commit
f0925f9
1 Parent(s): 17e3855

Update modeling_xlm_roberta_for_glue.py

Browse files
Files changed (1) hide show
  1. modeling_xlm_roberta_for_glue.py +1 -1
modeling_xlm_roberta_for_glue.py CHANGED
@@ -9,7 +9,7 @@ from .modeling_bert import XLMRobertaPreTrainedModel, XLMRobertaModel
9
  from .configuration_bert import JinaBertConfig
10
 
11
 
12
- class BertForSequenceClassification(XLMRobertaPreTrainedModel):
13
  def __init__(self, config: JinaBertConfig):
14
  super().__init__(config)
15
  self.num_labels = config.num_labels
 
9
  from .configuration_bert import JinaBertConfig
10
 
11
 
12
+ class XLMRobertaForSequenceClassification(XLMRobertaPreTrainedModel):
13
  def __init__(self, config: JinaBertConfig):
14
  super().__init__(config)
15
  self.num_labels = config.num_labels