Closed CaiJichang212 closed 3 months ago
Actually, the security classifier is shared by all methods. There is no need to change the path with method. To avoid misunderstandings, we have updated the name of the classifier to "SafeEdit-Safety-Classifier". Then, the classifier path should be : --safety_classifier_dir SafeEdit-Safety-Classifier And, the huggingface url: https://huggingface.co/zjunlp/SafeEdit-Safety-Classifier
By the way, MEND method code for SafeEdit dataset is ongoing. You can also try it yourself.
I got it,thanks!
when i run:
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/zjunlp/MEND-Safety-Classifier/resolve/main/config.json
Repository Not Found for url: https://huggingface.co/zjunlp/MEND-Safety-Classifier/resolve/main/config.json.
if you can provide the
MEND-Safety-Classifier
,the bug can be solved.