Skip to content

Conversation

@adrianeboyd
Copy link
Contributor

These components back off from batch to single processing in order to handle problematic docs that lead to errors for the transformers Pipeline processing (known issues are with "empty" docs like "" or " " but there could potentially be other issues depending on the model).

The warnings are a bit noisy, but I'd rather not crash on or skip entire batches containing problematic texts, and if there is no indication, then it's not clear to users why there can be huge speed differences between individual batches.

These components back off from batch to single processing in order to
handle problematic docs that lead to errors for the transformers
`Pipeline` processing (known issues are with "empty" docs like `""` or
`" "` but there could potentially be other issues depending on the
model).

The warnings are a bit noisy, but I'd rather not crash on or skip entire
batches containing problematic texts, and if there is no indication,
then it's not clear to users why there can be huge speed differences
between individual batches.
@adrianeboyd adrianeboyd merged commit 3390d8b into explosion:main Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant