Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 317 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 317 Bytes

ICLShield

ICLShield: Exploring and Mitigating In-Context Learning Backdoor Attacks

Requirement

  • Python == 3.9
  • openprompt==1.0.1
  • transformers==4.35.2

The codes for classification tasks, generation tasks and reasoning tasks are shown in Classification/, Generation/, and Reasoning/, respectively.