mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
remove print
This commit is contained in:
parent
7e063117fe
commit
291722cb48
@ -448,7 +448,6 @@ class Seq2SeqLM(Model):
|
||||
token_ids = decoder_input_ids[-new_decoder_input_length:]
|
||||
output_text = self.tokenizer.decode(token_ids, skip_special_tokens=True)
|
||||
tokens = self.tokenizer.batch_decode(token_ids)
|
||||
print(tokens)
|
||||
# Add NaN for the bos token
|
||||
logprobs = [float("nan")] + decoder_logprobs[
|
||||
-new_decoder_input_length:
|
||||
|
Loading…
Reference in New Issue
Block a user