Feature Extraction
Transformers
Safetensors
diva
custom_code
Helw150 commited on
Commit
79fec82
1 Parent(s): 26bf120
Files changed (1) hide show
  1. modeling_diva.py +1 -1
modeling_diva.py CHANGED
@@ -313,7 +313,7 @@ class DiVAModel(PreTrainedModel):
313
  )
314
  prefix = torch.cat(
315
  [self.pre_system, user_prompt_text, self.post_system],
316
- axis=1,
317
  )
318
  else:
319
  prefix = self.prefix
 
313
  )
314
  prefix = torch.cat(
315
  [self.pre_system, user_prompt_text, self.post_system],
316
+ axis=0,
317
  )
318
  else:
319
  prefix = self.prefix