Skip to content

Commit

Permalink
accelerate question answering examples with no trainer (huggingface#1…
Browse files Browse the repository at this point in the history
…1091)

* 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
2 people authored and Iwontbecreative committed Jul 15, 2021
1 parent 2fcca2f commit 8b66d31
Show file tree
Hide file tree
Showing 3 changed files with 1,563 additions and 2 deletions.
Loading

0 comments on commit 8b66d31

Please sign in to comment.