The contest's website:https://tianchi.aliyun.com/competition/entrance/231762/introduction
Official model download link:http://aliyuntianchiresult.cn-hangzhou.oss.aliyun-inc.com/file/race/documents/231762/securityAI3_materials.zip?Expires=1584531462&OSSAccessKeyId=LTAILBoOl5drlflK&Signature=mKjYVanPXOdn3KkMgRohrY30t3M%3D&response-content-disposition=attachment%3B%20
This explanatory document
7,000 Chinese characters are commonly used
The Chinese characters of vocab.txt were sorted by using the officially provided model
The generated sorted Chinese character table selects the alternate Chinese characters in choose.py
Filter for substituted homophones
The substituted word is used in the main function
The substitution is used in the main function
Main function that generates the adversarial text