Compare commits

..
Author SHA1 Message Date
Philipp Emanuel Weidmann cbcb836aa9 feat: add optional in-context Python shell 2026-11-10 15:54:54 +05:30
4 changed files with 7 additions and 7 deletions

No files matched your search

+1 -1
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-V2"
model = "VINAY-UMRETHE/Refusal-Classifier"
# Hugging Face commit hash of the classifier model.
# Set this to pin a specific revision; unset means the latest revision
+2 -2
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-V2
# Default classifier model: https://huggingface.co/VINAY-UMRETHE/Refusal-Classifier
from typing import cast
@@ -43,7 +43,7 @@ class Settings(BaseModel):
)
model: str = Field(
default="VINAY-UMRETHE/Refusal-Classifier-V2",
default="VINAY-UMRETHE/Refusal-Classifier",
description="Hugging Face model ID, or path to a text-classification model on disk.",
)
+1 -1
View File
@@ -54,7 +54,7 @@ column = "text"
[scorer.BERTClassifier]
model = "VINAY-UMRETHE/tiny-refusal-classifier"
model_commit = "f0e03ef4a27003d8b54d7366e72711fc665da9d5"
model_commit = "ca106855daaa6d695bd2a66934eb1a40cbd3f18a"
print_responses = true
[scorer.BERTClassifier.prompts]
Generated
+3 -3
View File
@@ -350,11 +350,11 @@ wheels = [
[[package]]
name = "certifi"
version = "2026.10.18"
version = "2026.7.22"
source = { registry = "https://pypi.org/simple" }
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" }
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" }
wheels = [
{ 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" },
{ 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" },
]
[[package]]