(no commit message)

This commit is contained in:
2026-04-08 18:29:30 -07:00
parent 7a7636deea
commit f3106d3543
3 changed files with 99 additions and 1 deletions

View File

@@ -1,2 +1,8 @@
# toxicity ---
is_arbiter: true
probe_model: modaic/gpt-oss-120b-probe
size: large
supports_reasoning: true
---
# toxicity

52
config.json Normal file
View File

@@ -0,0 +1,52 @@
{
"model": null,
"signature": {
"$defs": {
"Reasoning": {
"type": "dspy.Reasoning"
}
},
"description": "Classify the toxicity of a user message request",
"properties": {
"message": {
"__dspy_field_type": "input",
"desc": "${message}",
"prefix": "Message:",
"title": "Message",
"type": "string"
},
"reasoning": {
"$ref": "#/$defs/Reasoning",
"__dspy_field_type": "output",
"desc": "Your reasoning for your answer. Inlude any uncertainties about your answer or ambiguity in the task.",
"prefix": "Reasoning:"
},
"category": {
"__dspy_field_type": "output",
"desc": "${category}",
"enum": [
"self-harm",
"deception",
"harassment",
"sexual",
"violence",
"unethical",
"privacy",
"hate",
"illegal",
"harmful"
],
"prefix": "Category:",
"title": "Category",
"type": "string"
}
},
"required": [
"message",
"reasoning",
"category"
],
"title": "StringSignature",
"type": "object"
}
}

40
program.json Normal file
View File

@@ -0,0 +1,40 @@
{
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Classify the toxicity of a user message request",
"fields": [
{
"prefix": "Message:",
"description": "${message}"
},
{
"prefix": "Reasoning:",
"description": "Your reasoning for your answer. Inlude any uncertainties about your answer or ambiguity in the task."
},
{
"prefix": "Category:",
"description": "${category}"
}
]
},
"lm": {
"model": "openrouter/openai/gpt-oss-120b",
"model_type": "chat",
"cache": true,
"num_retries": 3,
"finetuning_model": null,
"launch_kwargs": {},
"train_kwargs": {},
"temperature": null,
"max_tokens": null
},
"metadata": {
"dependency_versions": {
"python": "3.11",
"dspy": "3.1.3",
"cloudpickle": "3.1"
}
}
}