-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has ContextualWordEmbsAug gone slow? #248
Comments
I'm using this augmentor recently too and it takes 90 secs to process an sentence on my machine. and still take seconds on colab. |
@050644zf, so you also faced same issue? |
@rajat-tech-002 |
I am using the latest version. |
Please close the issue. |
Longer sentences affect performance as transformers need to handle more text rather than padding. Secondly, more percentage of augmentation affect performance more seriously. More technical details: However, I just notice there is major performance downgrade from 1.1.3 to 1.1.4. Time spending increased from 1s to 9s. The major change is adopting HuggingFace API rather than using my custom implementation. More tests need to conduct in order to identify the root cause. |
I had used ContextualWordEmbsAug for larger datasets earlier also. Has the code been significantly affected by some update. The augmentor speed is too slow now.
The text was updated successfully, but these errors were encountered: