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

Add new token_em metric #3497

Merged
merged 1 commit into from
Mar 8, 2021
Merged

Add new token_em metric #3497

merged 1 commit into from
Mar 8, 2021

Conversation

stephenroller
Copy link
Contributor

Patch description
Add a new "tokens exact match metric", corresponding roughly to how "accuracy" would be under greedy search.

Will be documented in another PR.

Testing steps
Internal sweep.

Copy link
Contributor

@moyapchen moyapchen left a comment

Choose a reason for hiding this comment

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

4x speedups are nice. :D

parlai/core/torch_generator_agent.py Show resolved Hide resolved
@stephenroller stephenroller merged commit 65993ef into master Mar 8, 2021
@stephenroller stephenroller deleted the token_em branch March 8, 2021 19:15
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