-
Notifications
You must be signed in to change notification settings - Fork 398
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
a2t bug #754
Comments
@jinyongyoo mind to take a look? |
I have come across the same issue yesterday, suprised to see this hanging here from November. Any updates? |
Sorry for the delay.. will take a careful look PR #747 , added a max length constraint in search_method = GreedyWordSwapWIR(wir_method="gradient")
|
In the GreedyWordSwapWIR class from the PR here, I dont see any argument |
Please feel free to submit a PR to fix this..Sent from my iPhoneOn Apr 25, 2024, at 12:16, JanCe ***@***.***> wrote:
In the GreedyWordSwapWIR class from the PR here, I dont see any argument truncate_words argument in the __init__ method of the class. Maybe an oversight (I am no contributor though)?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
textattack ...
Expected behavior
A clear and concise description of what you expected to happen.
It ask us to input truncate_words_to
Screenshots or Traceback
If applicable, add screenshots to help explain your problem. Also, copy and paste tracebacks produced by the bug.
System Information (please complete the following information):
torch==1.7.0, transformers==3.3.0
)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: