Batched augmentation in spaCy, is it possible? #8870
KennethEnevoldsen
started this conversation in
Help: Best practices
Replies: 1 comment 1 reply
-
Currently with I haven't looked super-carefully into the details, but I think you'd only need to override |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, spacy's augmentation takes in one example as an input and returns an iterator of the augmented examples. Something like this:
However, if I want to do batched augmentations (for instance using a back-translation) to make more efficient augmentations during training, would it be possible to use the current setup?
I feel like it should be using a class but can't seem to work my way around the one Example as input limitation. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions