(no commit message)
This commit is contained in:
3
config.json
Normal file
3
config.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"model": null
|
||||||
|
}
|
||||||
42
program.json
Normal file
42
program.json
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"predictor": {
|
||||||
|
"traces": [],
|
||||||
|
"train": [],
|
||||||
|
"demos": [],
|
||||||
|
"signature": {
|
||||||
|
"instructions": "Given the fields `question`, `context`, produce the fields `answer`.",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"prefix": "Question:",
|
||||||
|
"description": "${question}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Context:",
|
||||||
|
"description": "${context}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Answer:",
|
||||||
|
"description": "Answer to the question, based on the passage"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lm": {
|
||||||
|
"model": "openai/gpt-4o-mini",
|
||||||
|
"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.2",
|
||||||
|
"cloudpickle": "3.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user