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
ugoren
June 4, 2021, 10:55am
3
Yes, thank you !
Solved the issue
Do you happen to have any thoughts on this as well ?
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