Update llama.py
This commit is contained in:
parent
9f9739cbac
commit
6a027a8292
1 changed files with 1 additions and 0 deletions
|
|
@ -635,6 +635,7 @@ def LlamaForCausalLM_fast_forward(
|
|||
logits = self.lm_head(hidden_states)
|
||||
|
||||
loss = None
|
||||
print(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