Update modeling_xverse.py
Browse files- modeling_xverse.py +1 -0
modeling_xverse.py
CHANGED
@@ -647,6 +647,7 @@ class XverseForCausalLM(XversePreTrainedModel):
|
|
647 |
position_ids: Optional[torch.LongTensor] = None,
|
648 |
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
649 |
inputs_embeds: Optional[torch.FloatTensor] = None,
|
|
|
650 |
labels: Optional[torch.LongTensor] = None,
|
651 |
use_cache: Optional[bool] = None,
|
652 |
output_attentions: Optional[bool] = None,
|
|
|
647 |
position_ids: Optional[torch.LongTensor] = None,
|
648 |
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
649 |
inputs_embeds: Optional[torch.FloatTensor] = None,
|
650 |
+
token_type_ids: Optional[torch.LongTensor] = None,
|
651 |
labels: Optional[torch.LongTensor] = None,
|
652 |
use_cache: Optional[bool] = None,
|
653 |
output_attentions: Optional[bool] = None,
|