mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Update idefics_causal_lm.py
Fix syntax issues
This commit is contained in:
parent
5485c142e8
commit
0c7559b7fb
@ -773,7 +773,7 @@ class IdeficsCausalLM(Model):
|
|||||||
next_token_text,
|
next_token_text,
|
||||||
next_token_id_squeezed.item() in self.all_special_ids,
|
next_token_id_squeezed.item() in self.all_special_ids,
|
||||||
generated_text,
|
generated_text,
|
||||||
top_tokens
|
top_tokens,
|
||||||
)
|
)
|
||||||
|
|
||||||
generations.append(generation)
|
generations.append(generation)
|
||||||
|
Loading…
Reference in New Issue
Block a user