Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增attack的方法和用例 #72

Merged
merged 7 commits into from
Jul 13, 2022
Merged

新增attack的方法和用例 #72

merged 7 commits into from
Jul 13, 2022

Conversation

jimme0421
Copy link
Collaborator

@jimme0421 jimme0421 commented Jul 12, 2022

PR types

Feature

PR changes

新增attack的方法和用例

Description

  1. 新增两种attck的方法
    FreeLB: FreeLB: Enhanced Adversarial Training for Natural Language Understanding
    AWP: Adversarial weight perturbation helps robust generalization
  2. 新增调用attack的用例
    参考example/CHIP-CTC_attack.ipynb
  3. 修复global_pointer单机多卡bug

@jimme0421 jimme0421 requested a review from xiangking July 12, 2022 10:06
@jimme0421 jimme0421 changed the title Shencj 新增attack的方法和用例 Jul 12, 2022
@jimme0421 jimme0421 linked an issue Jul 12, 2022 that may be closed by this pull request
@xiangking xiangking merged commit 588f5d1 into develop Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RuntimeError: sparse tensors do not have strides
2 participants