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

AllenNLP wrapper is running slow #4

Open
hunterhector opened this issue Mar 30, 2021 · 0 comments
Open

AllenNLP wrapper is running slow #4

hunterhector opened this issue Mar 30, 2021 · 0 comments

Comments

@hunterhector
Copy link
Member

Describe the bug
Now the allennlp wrapper runs the model on each sentence separately. This may cause the processor to be slow. For bigger models like this, we may need to implement the batch processor.

To Reproduce

Expected behavior
We need to better profile the speed to understand the expected behavior.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Python and Package verions: [e.g. Python version, Pytorch version]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant