server-inference push big_patent_innovation
This commit is contained in:
43
config.json
Normal file
43
config.json
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"model": null,
|
||||||
|
"signature": {
|
||||||
|
"description": "Rate the innovation level of the following patent description on a 1-5 scale.\n\nConsider the following criteria:\n- Novelty: Does it describe something genuinely new compared to prior art?\n- Technical advancement: Does it represent a meaningful step forward in its field?\n- Breadth of application: Could the invention apply to many use cases?\n- Practical impact: Is it likely to have real-world value if implemented?\n\nScore 1 = incremental / derivative, 3 = moderate innovation, 5 = highly novel\nand impactful breakthrough.\n\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how\nthe instructions apply to the task at hand and in whether you have the\nknowledge needed to solve it. Be honest in your reasoning when you are\nunsure about your answer.",
|
||||||
|
"properties": {
|
||||||
|
"description": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "The patent description or abstract text to evaluate.",
|
||||||
|
"prefix": "Description:",
|
||||||
|
"title": "Description",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"reasoning": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Step-by-step reasoning, including uncertainty when relevant.",
|
||||||
|
"prefix": "Reasoning:",
|
||||||
|
"title": "Reasoning",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"innovation_score": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Innovation level score on a 1-5 scale.",
|
||||||
|
"enum": [
|
||||||
|
"1",
|
||||||
|
"2",
|
||||||
|
"3",
|
||||||
|
"4",
|
||||||
|
"5"
|
||||||
|
],
|
||||||
|
"prefix": "Innovation Score:",
|
||||||
|
"title": "Innovation Score",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"description",
|
||||||
|
"reasoning",
|
||||||
|
"innovation_score"
|
||||||
|
],
|
||||||
|
"title": "BigPatentInnovationJudgeSig",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
40
program.json
Normal file
40
program.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"traces": [],
|
||||||
|
"train": [],
|
||||||
|
"demos": [],
|
||||||
|
"signature": {
|
||||||
|
"instructions": "Rate the innovation level of the following patent description on a 1-5 scale.\n\nConsider the following criteria:\n- Novelty: Does it describe something genuinely new compared to prior art?\n- Technical advancement: Does it represent a meaningful step forward in its field?\n- Breadth of application: Could the invention apply to many use cases?\n- Practical impact: Is it likely to have real-world value if implemented?\n\nScore 1 = incremental / derivative, 3 = moderate innovation, 5 = highly novel\nand impactful breakthrough.\n\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how\nthe instructions apply to the task at hand and in whether you have the\nknowledge needed to solve it. Be honest in your reasoning when you are\nunsure about your answer.",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"prefix": "Description:",
|
||||||
|
"description": "The patent description or abstract text to evaluate."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Reasoning:",
|
||||||
|
"description": "Step-by-step reasoning, including uncertainty when relevant."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Innovation Score:",
|
||||||
|
"description": "Innovation level score on a 1-5 scale."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lm": {
|
||||||
|
"model": "together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
|
||||||
|
"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