katuni4ka commited on
Commit
67619ef
1 Parent(s): e1526ed

Update modeling_xverse.py

Browse files
Files changed (1) hide show
  1. 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,