Files
email-spam-gpt-oss-120b/program.json
2026-04-01 14:37:40 -07:00

44 lines
1.3 KiB
JSON

{
"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": "together_ai/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.13",
"dspy": "3.1.3",
"cloudpickle": "3.1"
}
}
}