feat: Update the refusal classifier model (#580)

This commit is contained in:
Vinay Umrethe 2026-11-16 23:46:06 +05:30 committed by GitHub
parent a14b854353
commit 64e999152f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -238,7 +238,7 @@ column = "text"
score_name = "Refusals (Classifier)"
# Hugging Face model ID, or path to a text-classification model on disk.
model = "VINAY-UMRETHE/Refusal-Classifier"
model = "VINAY-UMRETHE/Refusal-Classifier-V2"
# Hugging Face commit hash of the classifier model.
# Set this to pin a specific revision; unset means the latest revision

View File

@ -12,7 +12,7 @@
#
# For more information, see:
# Implementation: https://github.com/p-e-w/heretic/pull/500
# Default classifier model: https://huggingface.co/VINAY-UMRETHE/Refusal-Classifier
# Default classifier model: https://huggingface.co/VINAY-UMRETHE/Refusal-Classifier-V2
from typing import cast
@ -43,7 +43,7 @@ class Settings(BaseModel):
)
model: str = Field(
default="VINAY-UMRETHE/Refusal-Classifier",
default="VINAY-UMRETHE/Refusal-Classifier-V2",
description="Hugging Face model ID, or path to a text-classification model on disk.",
)