Skip to content

Commit

Permalink
update model to use hf garak-llm org copy
Browse files Browse the repository at this point in the history
  • Loading branch information
leondz committed Feb 19, 2025
1 parent d45f11d commit 87d2d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garak/detectors/toxicity.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class S_nlpDetox(HFDetector):
"""Using s-nlp Roberta model to detect toxic content"""

DEFAULT_PARAMS = HFDetector.DEFAULT_PARAMS | {
"detector_model_path": "s-nlp/roberta_toxicity_classifier",
"detector_model_path": "garak-llm/roberta_toxicity_classifier",
"detector_target_class": "toxic",
}

Expand Down

0 comments on commit 87d2d23

Please sign in to comment.