Helw150
commited on
Commit
•
79fec82
1
Parent(s):
26bf120
Fix
Browse files- 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=
|
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
|