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

Leverage batch prediction #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Leverage batch prediction #120

wants to merge 1 commit into from

Conversation

ClemDoum
Copy link
Contributor

Use the batch_parse method of the engine class when implemented instead of the parse method.

For some engine classes leveraging batch prediction can speed up the metrics a lot. For instance when your engine is just calling a API that support batch prediction, you're doing a single call for all test_utterances instead of len(test_utterances) calls.

@ClemDoum ClemDoum requested a review from adrienball September 13, 2019 10:44
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.

1 participant