Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f536fc1f02 | ||
|
|
aecd4a845a | ||
|
|
64e999152f | ||
|
|
a14b854353 |
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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.",
|
||||
)
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ column = "text"
|
||||
|
||||
[scorer.BERTClassifier]
|
||||
model = "VINAY-UMRETHE/tiny-refusal-classifier"
|
||||
model_commit = "ca106855daaa6d695bd2a66934eb1a40cbd3f18a"
|
||||
model_commit = "f0e03ef4a27003d8b54d7366e72711fc665da9d5"
|
||||
print_responses = true
|
||||
|
||||
[scorer.BERTClassifier.prompts]
|
||||
|
||||
@@ -350,11 +350,11 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "certifi"
|
||||
version = "2026.7.22"
|
||||
version = "2026.10.18"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/7e/eb/a2aa1ac3ea30dd3f30ca57f40232138b6b0040719316ecb85daf61167771/certifi-2026.10.18.tar.gz", hash = "sha256:b9995d97b64d0431a5af837d8ca8cd6238104d1f319f04bd93ea43124d6c861e", size = 135227, upload-time = "2026-10-18T16:21:07.655Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/08/ba/95dd616042484f7c83a06974388b37b837732740ee70bc5dc715b5fcd55a/certifi-2026.10.18-py3-none-any.whl", hash = "sha256:73191c47aaa79da394e8fee2dbc2ec827432cab56311122c9e47abf79e390f62", size = 134093, upload-time = "2026-10-18T16:21:06.276Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
Reference in new issue
Block a user