(no commit message)
This commit is contained in:
@@ -1,2 +1,5 @@
|
|||||||
# spam-classification
|
---
|
||||||
|
is_arbiter: true
|
||||||
|
probe_model: modaic/gpt-oss-120b-probe
|
||||||
|
size: large
|
||||||
|
---
|
||||||
48
config.json
Normal file
48
config.json
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
"model": null,
|
||||||
|
"signature": {
|
||||||
|
"$defs": {
|
||||||
|
"Reasoning": {
|
||||||
|
"type": "dspy.Reasoning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"description": "Classify the email as spam or not spam.",
|
||||||
|
"properties": {
|
||||||
|
"subject": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "${subject}",
|
||||||
|
"prefix": "Subject:",
|
||||||
|
"title": "Subject",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"body": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "${body}",
|
||||||
|
"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 message is spam or not spam.",
|
||||||
|
"prefix": "Is Spam:",
|
||||||
|
"title": "Is Spam",
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"subject",
|
||||||
|
"body",
|
||||||
|
"reasoning",
|
||||||
|
"is_spam"
|
||||||
|
],
|
||||||
|
"title": "StringSignature",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
44
program.json
Normal file
44
program.json
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"traces": [],
|
||||||
|
"train": [],
|
||||||
|
"demos": [],
|
||||||
|
"signature": {
|
||||||
|
"instructions": "Classify the email as spam or not spam.",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"prefix": "Subject:",
|
||||||
|
"description": "${subject}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Body:",
|
||||||
|
"description": "${body}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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 message is 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.11",
|
||||||
|
"dspy": "3.1.3",
|
||||||
|
"cloudpickle": "3.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user