(no commit message)

This commit is contained in:
2026-04-01 14:37:38 -07:00
parent a8f5c13d96
commit 21a8821949
3 changed files with 100 additions and 2 deletions

View File

@@ -1,2 +1,4 @@
# email-spam-qwen3.5-4b
---
arbiter_probe: modaic/qwen3.5-4b-probe
is_arbiter: true
---

52
config.json Normal file
View File

@@ -0,0 +1,52 @@
{
"model": null,
"signature": {
"$defs": {
"Reasoning": {
"type": "dspy.Reasoning"
}
},
"description": "Classify an email as spam or not spam based on its subject and body.\n\nInstructions:\n1. Read the subject and body of the email carefully.\n2. Look for common spam indicators: urgency, suspicious links, unsolicited offers,\n misleading sender info, or requests for personal information.\n3. Output \"spam\" if the email is spam, or \"not spam\" if it is legitimate.",
"properties": {
"subject": {
"__dspy_field_type": "input",
"desc": "The email subject line",
"prefix": "Subject:",
"title": "Subject",
"type": "string"
},
"body": {
"__dspy_field_type": "input",
"desc": "The email body text",
"prefix": "Body:",
"title": "Body",
"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:"
},
"is_spam": {
"__dspy_field_type": "output",
"desc": "Whether the email is spam: 'spam' or 'not spam'",
"enum": [
"spam",
"not spam"
],
"prefix": "Is Spam:",
"title": "Is Spam",
"type": "string"
}
},
"required": [
"subject",
"body",
"reasoning",
"is_spam"
],
"title": "StringSignature",
"type": "object"
}
}

44
program.json Normal file
View File

@@ -0,0 +1,44 @@
{
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Classify an email as spam or not spam based on its subject and body.\n\nInstructions:\n1. Read the subject and body of the email carefully.\n2. Look for common spam indicators: urgency, suspicious links, unsolicited offers,\n misleading sender info, or requests for personal information.\n3. Output \"spam\" if the email is spam, or \"not spam\" if it is legitimate.",
"fields": [
{
"prefix": "Subject:",
"description": "The email subject line"
},
{
"prefix": "Body:",
"description": "The email body text"
},
{
"prefix": "Reasoning:",
"description": "Your reasoning for your answer. Inlude any uncertainties about your answer or ambiguity in the task."
},
{
"prefix": "Is Spam:",
"description": "Whether the email is spam: 'spam' or 'not spam'"
}
]
},
"lm": {
"model": "openrouter/Qwen/Qwen3.5-4B",
"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.13",
"dspy": "3.1.3",
"cloudpickle": "3.1"
}
}
}