Skip to content

Commit

Permalink
accelerate question answering examples with no trainer (#11091)
Browse files Browse the repository at this point in the history
* accelerate question answering examples with no trainer

* removed train and eval flags also fixed fill np array function

* Update examples/question-answering/run_qa_beam_search_no_trainer.py

Co-authored-by: Sylvain Gugger <[email protected]>

* Update examples/question-answering/run_qa_no_trainer.py

Co-authored-by: Sylvain Gugger <[email protected]>

Co-authored-by: Sylvain Gugger <[email protected]>
  • Loading branch information
theainerd and sgugger authored Apr 6, 2021
1 parent 403d530 commit aef4cf8
Show file tree
Hide file tree
Showing 3 changed files with 1,563 additions and 2 deletions.
Loading

0 comments on commit aef4cf8

Please sign in to comment.