LinyangLee / BERT-AttackView external linksLinks
Code for EMNLP2020 long paper: BERT-Attack: Adversarial Attack Against BERT Using BERT
☆205Sep 22, 2020Updated 5 years ago
Alternatives and similar repositories for BERT-Attack
Users that are interested in BERT-Attack are comparing it to the libraries listed below
Sorting:
- A Model for Natural Language Attack on Text Classification and Inference☆527Dec 8, 2022Updated 3 years ago
- An Open-Source Package for Textual Adversarial Attack.☆768Jul 20, 2023Updated 2 years ago
- EMNLP BlackBox NLP 2020: Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examples☆26Oct 11, 2020Updated 5 years ago
- Must-read Papers on Textual Adversarial Attack and Defense☆1,575Jun 4, 2025Updated 8 months ago
- TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs…☆3,358Jul 10, 2025Updated 7 months ago
- Contextualized Perturbation for Textual Adversarial Attack, NAACL 2021☆44Jul 23, 2021Updated 4 years ago
- Code for our AAAI2021 paper: Token-Aware Virtual Adversarial Training For Language Understanding.☆25Dec 3, 2020Updated 5 years ago
- Code and data of the ACL 2020 paper "Word-level Textual Adversarial Attacking as Combinatorial Optimization"☆88Apr 11, 2021Updated 4 years ago
- Generating Natural Language Adversarial Examples through Probability Weighted Word Saliency☆72Mar 24, 2023Updated 2 years ago
- Adversarial Training for Natural Language Understanding☆253Sep 6, 2023Updated 2 years ago
- ACL 2021 - Defense against Adversarial Attacks in NLP via Dirichlet Neighborhood Ensemble☆18Jun 12, 2023Updated 2 years ago
- Adversarial Training with Fast Gradient Projection Method against Synonym Substitution based Text Attacks☆24Dec 11, 2020Updated 5 years ago
- ☆14Oct 30, 2021Updated 4 years ago
- [NAACL 2021] Factual Probing Is [MASK]: Learning vs. Learning to Recall https://arxiv.org/abs/2104.05240☆168Oct 7, 2022Updated 3 years ago
- A Query Efficient Natural Language Attack in a Black Box Setting☆17Sep 23, 2021Updated 4 years ago
- ☆13Dec 11, 2020Updated 5 years ago
- Natural Language Attacks in a Hard Label Black Box Setting.☆50May 26, 2021Updated 4 years ago
- Implementation of the paper "Exploring the Universal Vulnerability of Prompt-based Learning Paradigm" on Findings of NAACL 2022☆32Jul 11, 2022Updated 3 years ago
- Code for the paper "BERT Loses Patience: Fast and Robust Inference with Early Exit".☆66Jun 19, 2021Updated 4 years ago
- Natural Perturbation for Robust Question Answering☆12Apr 7, 2020Updated 5 years ago
- This is our ARTS test set, an enriched test set to probe Aspect Robustness of ABSA.☆42Jan 16, 2024Updated 2 years ago
- ☆10Sep 27, 2021Updated 4 years ago
- ☆41Mar 18, 2020Updated 5 years ago
- For Certified Robustness to Text Adversarial Attacks by Randomized [MASK]☆17Oct 8, 2024Updated last year
- Code for the paper "Weight Poisoning Attacks on Pre-trained Models" (ACL 2020)☆143Sep 22, 2025Updated 4 months ago
- Adversarial examples for Seq2Seq model in NLP☆40Nov 3, 2018Updated 7 years ago
- Unified Multilingual Robustness Evaluation Toolkit for Natural Language Processing☆652Sep 27, 2022Updated 3 years ago
- [ACL 2019] Context-aware Embedding for Targeted Aspect-based Sentiment Analysis☆17Nov 12, 2020Updated 5 years ago
- ☆11Dec 1, 2020Updated 5 years ago
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆185Jun 12, 2023Updated 2 years ago
- Semantics-aware BERT for Language Understanding (AAAI 2020)☆286Dec 21, 2022Updated 3 years ago
- Implementation of paper Does syntax matter? A strong baseline for Aspect-based Sentiment Analysis with RoBERTa.☆134Mar 8, 2023Updated 2 years ago
- [ICLR 2021] "InfoBERT: Improving Robustness of Language Models from An Information Theoretic Perspective" by Boxin Wang, Shuohang Wang, Y…☆85Oct 25, 2023Updated 2 years ago
- reference pytorch code for named entity tagging☆87Oct 18, 2024Updated last year
- [ACL 2021] LM-BFF: Better Few-shot Fine-tuning of Language Models https://arxiv.org/abs/2012.15723☆731Aug 29, 2022Updated 3 years ago
- Modify Chinese text, modified on LaserTagger Model. 文本复述,基于lasertagger做中文文本数据增强。☆322Jan 3, 2024Updated 2 years ago
- Instruction to data diversification☆24Nov 24, 2020Updated 5 years ago
- Code for ACL2018 HotFlip: White-Box Adversarial Examples for Text Classification, Word-level Adversarial Examples☆38Apr 20, 2019Updated 6 years ago
- Notes of my introduction about NLP in Fudan University☆37Jul 6, 2021Updated 4 years ago