-
Notifications
You must be signed in to change notification settings - Fork 26.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module 'keras.engine.data_adapter' has no attribute 'expand_1d' with non dummy loss #20750
Comments
cc @Rocketknight1 and @gante |
Reproduced this issue locally, seems to be an issue with TF 2.11 and doesn't occur in previous versions. Checking it out now! |
@ZJaume @McClunatic the fix has been merged - please try installing transformers from main with |
@Rocketknight1 I've just tested it in my notebook and the issue is indeed resolved! Thanks so much for fixing this so quickly! |
came across this issue experiencing the same thing. upgraded from the primary branch worked for me as well 🚀 |
System Info
transformers
version: 4.25.1Who can help?
@Rocketknight1
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Run the example code with a non dummy loss:
Expected behavior
Training succesfully.
The text was updated successfully, but these errors were encountered: