Skip to content

Commit ab430c8

Browse files
Narsilsgugger
andcommitted
Update src/transformers/pipelines/question_answering.py
Co-authored-by: Sylvain Gugger <[email protected]>
1 parent ee838f1 commit ab430c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/pipelines/question_answering.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def __call__(self, *args, **kwargs):
250250
Whether or not we accept impossible as an answer.
251251
align_to_words (`bool`, *optional*, defaults to `True`):
252252
Attempts to align the answer to real words. Improves quality on space separated langages. Might hurt on
253-
non space separated languages (like Japanese or Chinese)
253+
non-space-separated languages (like Japanese or Chinese)
254254
255255
Return:
256256
A `dict` or a list of `dict`: Each result comes as a dictionary with the following keys:

0 commit comments

Comments
 (0)