Update modeling_hf_nomic_bert.py
Browse files
modeling_hf_nomic_bert.py
CHANGED
@@ -1055,9 +1055,9 @@ class NomicBertModel(NomicBertPreTrainedModel):
|
|
1055 |
def forward(
|
1056 |
self,
|
1057 |
input_ids,
|
1058 |
-
position_ids=None,
|
1059 |
-
token_type_ids=None,
|
1060 |
attention_mask=None,
|
|
|
|
|
1061 |
return_dict=None,
|
1062 |
):
|
1063 |
if token_type_ids is None:
|
|
|
1055 |
def forward(
|
1056 |
self,
|
1057 |
input_ids,
|
|
|
|
|
1058 |
attention_mask=None,
|
1059 |
+
token_type_ids=None,
|
1060 |
+
position_ids=None,
|
1061 |
return_dict=None,
|
1062 |
):
|
1063 |
if token_type_ids is None:
|