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
1848
July 11, 2023
I got 'ValueError: You have to specify either input_ids or inputs_embeds' when I am training GPT2 using huggingface Trainer
Beginners
2
4788
February 19, 2023
Getting the following error "valueError: You have to specify either decoder_input_ids or decoder_inputs_embeds"
Models
2
274
May 6, 2024
You cannot specify both input_ids and inputs_embeds at the same time
Beginners
0
1358
February 22, 2021
ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds
🤗Transformers
3
1682
November 14, 2023