Skip to content

Instantly share code, notes, and snippets.

@Creling
Creling / AE-Morpher.md
Last active October 19, 2023 14:23
Project Notes

AE-Morpher

文件说明

  • ae_reconstruct_v2_hallow.py: 用来生成reconstructed adversarial examples;
  • map_cid_re_0.3.txt: 储存re_objs_0.3中的reconstructed adversarial examples的地图cid;
  • map_cid_re_0.4.txt: 储存re_objs_0.4中的reconstructed adversarial examples的地图cid;
  • map_cid_re_0.5.txt: 储存re_objs_0.5中的reconstructed adversarial examples的地图cid;
  • map_cid_re_0.6.txt: 储存re_objs_0.6中的reconstructed adversarial examples的地图cid;
@Creling
Creling / VIM快捷键备忘录
Last active October 2, 2022 08:04
Code Snippets
修改curse所在的整个单词 `ciw`,即change inner word
修改单词从curse位置到单词结尾的部分 `cw`,即change word
修改curse所在的整个括号 `ci(`,即change inner parentheses
修改括号从curse位置到括号结尾的部分 `c(`,即change parentheses
修改curse所在的整个括号,包括括号本身 `ca(`,即change around sentence