mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
ensure tolerance is properly passed on (#8158)
This commit is contained in:
parent
0c553ecd4e
commit
290bd6ed39
|
@ -66,7 +66,7 @@ def configure_minibatch_by_words(
|
|||
"""
|
||||
optionals = {"get_length": get_length} if get_length is not None else {}
|
||||
return partial(
|
||||
minibatch_by_words, size=size, discard_oversize=discard_oversize, **optionals
|
||||
minibatch_by_words, size=size, tolerance=tolerance, discard_oversize=discard_oversize, **optionals
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user