thunlp / OpenBackdoor

An open-source toolkit for textual backdoor attack and defense (NeurIPS 2022 D&B, Spotlight)
https://openbackdoor.readthedocs.io/
Apache License 2.0
158 stars 23 forks source link

Some comments for the /configs/base_config.json #19

Open himanshubeniwal opened 1 year ago

himanshubeniwal commented 1 year ago

Hello! Can there be some comments for the /configs/bae_config.json? Any guide or comments will be of great help. Specifically for the https://github.com/thunlp/OpenBackdoor/blob/main/configs/base_config.json#L62 and the https://github.com/thunlp/OpenBackdoor/blob/main/configs/base_config.json#L62? It is confusing whether it is training from scratch and then checking the ASR and CACC.

Also, the save_path in https://github.com/thunlp/OpenBackdoor/blob/main/configs/base_config.json#L71.

Thank you so much for the help.