Hugging Face Forums
I get a "You have to specify either input_ids or inputs_embeds" error, but I do specify the input ids
Beginners
afsahulsyed
October 31, 2021, 12:23pm
7
I am facing the same issue.
@ugoren
can you please elaborate your solution?
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Error of 'input_ids' when using Transformers Trainer class with Encoder/Decoder model
🤗Transformers
0
1986
July 11, 2023
Train encoder/decoder error
Beginners
1
412
July 16, 2022
ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds
🤗Transformers
3
1785
November 14, 2023
You cannot specify both input_ids and inputs_embeds at the same time
Beginners
0
1391
February 22, 2021
I got 'ValueError: You have to specify either input_ids or inputs_embeds' when I am training GPT2 using huggingface Trainer
Beginners
2
4833
February 19, 2023