#๐ Transformers Error
5 messages ยท Page 1 of 1 (latest)
@dusky parrot
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
I get this error when running my script:
File "pathtomyproject
/.venv/lib/python3.12/site-packages/transformers/models/t5/modeling_t5.py", line 1007, in forward
raise ValueError(f"You have to specify either {err_msg_prefix}input_ids or {err_msg_prefix}inputs_embeds")
ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds
The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.
@dusky parrot
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.