fix: formatting
Browse files- modeling_for_glue.py +2 -0
modeling_for_glue.py
CHANGED
|
@@ -103,6 +103,7 @@ class BertForSequenceClassification(BertPreTrainedModel):
|
|
| 103 |
attentions=outputs.attentions,
|
| 104 |
)
|
| 105 |
|
|
|
|
| 106 |
class BertForQuestionAnswering(BertPreTrainedModel):
|
| 107 |
def __init__(self, config: JinaBertConfig):
|
| 108 |
super().__init__(config)
|
|
@@ -190,6 +191,7 @@ class BertForQuestionAnswering(BertPreTrainedModel):
|
|
| 190 |
attentions=outputs.attentions,
|
| 191 |
)
|
| 192 |
|
|
|
|
| 193 |
class BertForTokenClassification(BertPreTrainedModel):
|
| 194 |
def __init__(self, config: JinaBertConfig):
|
| 195 |
super().__init__(config)
|
|
|
|
| 103 |
attentions=outputs.attentions,
|
| 104 |
)
|
| 105 |
|
| 106 |
+
|
| 107 |
class BertForQuestionAnswering(BertPreTrainedModel):
|
| 108 |
def __init__(self, config: JinaBertConfig):
|
| 109 |
super().__init__(config)
|
|
|
|
| 191 |
attentions=outputs.attentions,
|
| 192 |
)
|
| 193 |
|
| 194 |
+
|
| 195 |
class BertForTokenClassification(BertPreTrainedModel):
|
| 196 |
def __init__(self, config: JinaBertConfig):
|
| 197 |
super().__init__(config)
|