Conversation
|
Hi @Mayukhga83 Correctness: No checks performed (1 workflow awaiting approval) |
Have added Robustness Metric and Key word |
|
I'm also a reviewer for this task. I agree with @marco-digio's comments; this transformation certainly adds functionality to the project that #222 and #150 don't, but given that all three perform similar tasks and use the same library for identifying antonyms, it'd make the project cleaner if they were consolidated. @kaustubhdhole, do you have an opinion as to whether these PRs should be combined? Aside from that, I have a few other minor comments that should be addressed before merging. Here's a list:
Let me know if you have any questions! |
|
@james-simon , @ashish3586 and @marco-digio Sorry for the late reply,
|
| This will benefit for robustness of text classification like sentiment analysis, etc. | ||
|
|
||
|
|
||
| ## What are the limitations of this transformation? |
There was a problem hiding this comment.
This transformation is unfortunately the same as #222 as it too uses negated antonyms. @Mayukhga83 is there anything different?
There was a problem hiding this comment.
@kaustubhdhole unfortunately yes except for the 'not' word as @marco-digio pointed. Secondly, this always does double negation for both even and odd number of adjective unlike #222 which only does it for even number of adjective words.
As the addition of 'not' gives a better robustness score than #222 (I have only checked for roberta-base-imdb) , It could be merged as a special case of the other PR if suited.
Added a novel perturbation named negated antonym perturbation. This perturbation changes and adjective or adverb to its negated antonym, and thereby preserving the semantics.