feat: Update the refusal classifier model (#580)
This commit is contained in:
parent
a14b854353
commit
64e999152f
|
|
@ -238,7 +238,7 @@ column = "text"
|
||||||
score_name = "Refusals (Classifier)"
|
score_name = "Refusals (Classifier)"
|
||||||
|
|
||||||
# Hugging Face model ID, or path to a text-classification model on disk.
|
# 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.
|
# Hugging Face commit hash of the classifier model.
|
||||||
# Set this to pin a specific revision; unset means the latest revision
|
# Set this to pin a specific revision; unset means the latest revision
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
#
|
#
|
||||||
# For more information, see:
|
# For more information, see:
|
||||||
# Implementation: https://github.com/p-e-w/heretic/pull/500
|
# 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
|
from typing import cast
|
||||||
|
|
||||||
|
|
@ -43,7 +43,7 @@ class Settings(BaseModel):
|
||||||
)
|
)
|
||||||
|
|
||||||
model: str = Field(
|
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.",
|
description="Hugging Face model ID, or path to a text-classification model on disk.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue