TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
2.98k
stars
397
forks
source link
Use cache to achieve faster generation of Chinese HowNet replacement … #786
Closed
liuyuyan2717 closed 7 months ago
…words
What does this PR do?
Summary
Optimize the search algorithm for HowNet replacement words to improve computational speed without changing the results.
old:
new: