Hugging Face Forums
Variable length batch decoding
🤗Transformers
s4sarath
October 5, 2020, 1:18pm
11
I have implemented in TF2.0 . I had to make quite a bunch of changes to make it work. Will share it.
show post in topic
Related topics
Topic
Replies
Views
Activity
Decoder generate with prompts of variable lengths?
🤗Transformers
0
664
May 25, 2022
Issue with Decoding in HuggingFace
🤗Tokenizers
2
3878
March 24, 2022
Batch generation with GPT2
🤗Transformers
12
17189
January 16, 2024
Parallelize Mistral/ llama2 output
🤗Transformers
1
154
May 25, 2024
Llama2 pad token for batched inference
Models
7
15663
March 31, 2024