You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Garak probes need to use the detectors in order to detect whether the attack is successful. However, if the model is already put in a specific location, Garak should be able to config the model path. It is good to define a common model save path in the config yaml file.
This detector needs HF model: martin-ha/toxic-comment-model
We can put the model in a specific path such as /hf_models/martin-ha/toxic-comment-model and config the detector model path in the yaml file
Motivation
This will be helpful to manage where the model is stored or carry out testing with no internet access.
The text was updated successfully, but these errors were encountered:
EricXQiu
changed the title
FEAT: Set HF Model directory for Detectors
FEAT: Set Global HF Model Directory for Detectors
Feb 4, 2025
Summary
Garak probes need to use the detectors in order to detect whether the attack is successful. However, if the model is already put in a specific location, Garak should be able to config the model path. It is good to define a common model save path in the config yaml file.
Basic example
probe: garak.probes.realtoxicityprompts.RTPFlirtation
detector: toxicity.ToxicCommentModel
This detector needs HF model: martin-ha/toxic-comment-model
We can put the model in a specific path such as /hf_models/martin-ha/toxic-comment-model and config the detector model path in the yaml file
Motivation
This will be helpful to manage where the model is stored or carry out testing with no internet access.
The text was updated successfully, but these errors were encountered: