Skip to content
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

Use new evaluation loop in TrainerQA #11746

Merged
merged 1 commit into from
May 17, 2021
Merged

Use new evaluation loop in TrainerQA #11746

merged 1 commit into from
May 17, 2021

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented May 17, 2021

What does this PR do?

When writing the new evaluation loop, the code of the special Trainer or question answering was not updated, this PR fixes that.
Fixes #11721

@sgugger sgugger requested a review from LysandreJik May 17, 2021 13:56
Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sgugger sgugger merged commit 936b571 into master May 17, 2021
@sgugger sgugger deleted the fix_trainer_qa branch May 17, 2021 14:10
@zhangfanTJU zhangfanTJU mentioned this pull request May 25, 2021
Iwontbecreative pushed a commit to Iwontbecreative/transformers that referenced this pull request Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValueError: could not broadcast input array from shape (2816,384) into shape (2698,384)
2 participants