Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[bg] Fix exception with TCA/TRA. #3586

Merged
merged 1 commit into from
Apr 13, 2021
Merged

[bg] Fix exception with TCA/TRA. #3586

merged 1 commit into from
Apr 13, 2021

Conversation

stephenroller
Copy link
Contributor

Patch description
TCA was producing text, which was causing most of evaluate_response to be executed, when we were lazily using it for metric accumulation. Refactor out the part we really need.

Testing steps
parlai train -t integration_tests:classifier -m bert_classifier -mf /tmp/test_123 -bs 2 --num-workers 2 --classes one zero --truncate 128

@stephenroller stephenroller merged commit a5e96aa into master Apr 13, 2021
@stephenroller stephenroller deleted the tcabg branch April 13, 2021 14:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants