robinjia / adversarial-squad

Code from Jia and Liang, "Adversarial Examples for Evaluating Reading Comprehension Systems" (EMNLP 2017)
MIT License
120 stars 26 forks source link

Missing vocab file for AddAny - adversarial_squad.py? #8

Closed naveenjafer closed 4 years ago

naveenjafer commented 4 years ago

Hi @robinjia I am trying to run the ADDANY example to generate adversarial samples, could you help me with where I can find the vocab file. I see that one of the inputs vocab_file is a mandatory input. Since I wanted to replicate the results of the papers, it would be better to have the identical file. Could you please point me to the file? TIA.

robinjia commented 4 years ago

Hi,

Our Codalab worksheet shows all the dependencies and commands needed to reproduce our experiments. For example, see the list of dependencies for this AddAny run https://worksheets.codalab.org/bundles/0x6bc712e6c7214f1aa589687cf8e3deb8 I think you are looking for the brown_english_1k.txt file.