Update llama.py
This commit is contained in:
parent
6a027a8292
commit
4c5ebcc960
1 changed files with 1 additions and 1 deletions
|
|
@ -635,7 +635,7 @@ def LlamaForCausalLM_fast_forward(
|
|||
logits = self.lm_head(hidden_states)
|
||||
|
||||
loss = None
|
||||
print(labels)
|
||||
print("labels", labels)
|
||||
if labels is not None:
|
||||
shift_logits = logits
|
||||
if not hasattr(self, "extra_ignored_labels"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue