Skip to content

Commit

Permalink
[Fix] QA Pipeline fails on SQuAD with seq_len=128 (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogunowicz committed Jan 27, 2023
1 parent 54fc1e9 commit 6ba4f12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class QuestionAnsweringPipeline(TransformersPipeline):
def __init__(
self,
*,
doc_stride: int = 128,
doc_stride: int = 64,
max_question_length: int = 64,
max_answer_length: int = 15,
n_best_size: int = 20,
Expand Down

0 comments on commit 6ba4f12

Please sign in to comment.