make input_ids optional
#8
by
jxm
- opened
modeling_hf_nomic_bert.py
CHANGED
@@ -1678,7 +1678,7 @@ class NomicBertModel(NomicBertPreTrainedModel):
|
|
1678 |
|
1679 |
def forward(
|
1680 |
self,
|
1681 |
-
input_ids,
|
1682 |
attention_mask=None,
|
1683 |
position_ids=None,
|
1684 |
token_type_ids=None,
|
|
|
1678 |
|
1679 |
def forward(
|
1680 |
self,
|
1681 |
+
input_ids=None,
|
1682 |
attention_mask=None,
|
1683 |
position_ids=None,
|
1684 |
token_type_ids=None,
|