计算机科学 > 软件工程
[提交于 2020年10月6日]
标题:TextAttack: Lessons learned in designing Python frameworks for NLP
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 framework, with many components reused across attacks. This framework allows both researchers and developers to test and study the weaknesses of their NLP models. To build such an open-source NLP toolkit requires solving some common problems: How do we enable users to supply models from different deep learning frameworks? How can we build tools to support as many different datasets as possible? We share our insights into developing a well-written, well-documented NLP Python framework in hope that they can aid future development of similar packages.
提交历史
来自:John Morris[v1] 2020年10月6日 星期二 00:00:00 UTC