Skip to content

Commit

Permalink
Merge pull request #503 from QData/multilingual-doc
Browse files Browse the repository at this point in the history
adding in documentation on multilingual supports
  • Loading branch information
qiyanjun committed Jul 30, 2021
2 parents 47ff63f + fdd232c commit 9d7b3b9
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 23 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,11 @@ A `SearchMethod` takes as input an initial `GoalFunctionResult` and returns a fi

## Multi-lingual Support


- see example code: [https://github.com/QData/TextAttack/blob/master/examples/attack/attack_camembert.py](https://github.com/QData/TextAttack/blob/master/examples/attack/attack_camembert.py) for using our framework to attack French-BERT.

- see tutorial notebook: [https://textattack.readthedocs.io/en/latest/2notebook/Example_4_CamemBERT.html](https://textattack.readthedocs.io/en/latest/2notebook/Example_4_CamemBERT.html) for using our framework to attack French-BERT.

- See [README_ZH.md](https://github.com/QData/TextAttack/blob/master/README_ZH.md) for our README in Chinese


Expand Down
18 changes: 18 additions & 0 deletions docs/1start/api-design-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ Lessons learned in designing TextAttack

TextAttack is an open-source Python toolkit for adversarial attacks, adversarial training, and data augmentation in NLP. TextAttack unites 15+ papers from the NLP adversarial attack literature into a single shared framework, with many components reused across attacks. This framework allows both researchers and developers to test and study the weaknesses of their NLP models.


## Presentations on TextAttack

### 2020: Jack Morris' summary tutorial talk on TextAttack

- On Jul 31, 2020, Jack Morries gave an invited talk at Weights & Biases research salon on " TextAttack: A Framework for Adversarial Attacks, Data Augmentation, and Adversarial Training in NLP"

- [Youtube Talk link](https://www.youtube.com/watch?v=22Q3f7Fb110)


### 2021: Dr. Qi's summary tutorial talk on TextAttack

- On April 14 2021, Prof. Qi gave an invited talk at the UVA Human and Machine Intelligence Seminar on "Generalizing Adversarial Examples to Natural Language Processing"

- [TalkSlide](https://qdata.github.io/qdata-page/pic/20210414-HMI-textAttack.pdf)



## Challenges in Design


Expand Down
16 changes: 16 additions & 0 deletions docs/1start/multilingual-visualization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
TextAttack Extended Functions (Multilingual)
============================================



## Multilingual Supports

- see example code: [https://github.com/QData/TextAttack/blob/master/examples/attack/attack_camembert.py](https://github.com/QData/TextAttack/blob/master/examples/attack/attack_camembert.py) for using our framework to attack French-BERT.

- see tutorial notebook: [https://textattack.readthedocs.io/en/latest/2notebook/Example_4_CamemBERT.html](https://textattack.readthedocs.io/en/latest/2notebook/Example_4_CamemBERT.html) for using our framework to attack French-BERT.



## We have built a new WebDemo For Visulizing TextAttack generated Examples;

- [TextAttack-WebDemo Github](https://github.com/QData/TextAttack-WebDemo)
22 changes: 0 additions & 22 deletions docs/1start/talks-visualization.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TextAttack Documentation
1start/benchmark-search.md
1start/quality-SOTA-recipes.md
1start/api-design-tips.md
1start/talks-visualization.md
1start/multilingual-visualization.md
1start/support.md
1start/FAQ.md

Expand Down

0 comments on commit 9d7b3b9

Please sign in to comment.