(no commit message)
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
# no-code-repo
|
---
|
||||||
|
tags:
|
||||||
|
- prod
|
||||||
|
- v2
|
||||||
|
task: summarization
|
||||||
|
version: 3
|
||||||
|
---
|
||||||
6
config.json
Normal file
6
config.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"model": null,
|
||||||
|
"output_type": "str",
|
||||||
|
"lm": "openai/gpt-4o-mini",
|
||||||
|
"number": 1
|
||||||
|
}
|
||||||
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