server-inference push lex_glue_ledgar
This commit is contained in:
138
config.json
Normal file
138
config.json
Normal file
@@ -0,0 +1,138 @@
|
|||||||
|
{
|
||||||
|
"model": null,
|
||||||
|
"signature": {
|
||||||
|
"description": "Classify a contract provision into the correct provision type from the Ledgar taxonomy.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.",
|
||||||
|
"properties": {
|
||||||
|
"provision_text": {
|
||||||
|
"__dspy_field_type": "input",
|
||||||
|
"desc": "Contract provision text to classify.",
|
||||||
|
"prefix": "Provision Text:",
|
||||||
|
"title": "Provision Text",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"reasoning": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant.",
|
||||||
|
"prefix": "Reasoning:",
|
||||||
|
"title": "Reasoning",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"provision_type": {
|
||||||
|
"__dspy_field_type": "output",
|
||||||
|
"desc": "Provision type label from the 100-class Ledgar taxonomy (e.g. 'Governing Laws', 'Confidentiality', 'Indemnifications').",
|
||||||
|
"enum": [
|
||||||
|
"Adjustments",
|
||||||
|
"Agreements",
|
||||||
|
"Amendments",
|
||||||
|
"Anti-Corruption Laws",
|
||||||
|
"Applicable Laws",
|
||||||
|
"Approvals",
|
||||||
|
"Arbitration",
|
||||||
|
"Assignments",
|
||||||
|
"Assigns",
|
||||||
|
"Authority",
|
||||||
|
"Authorizations",
|
||||||
|
"Base Salary",
|
||||||
|
"Benefits",
|
||||||
|
"Binding Effects",
|
||||||
|
"Books",
|
||||||
|
"Brokers",
|
||||||
|
"Capitalization",
|
||||||
|
"Change In Control",
|
||||||
|
"Closings",
|
||||||
|
"Compliance With Laws",
|
||||||
|
"Confidentiality",
|
||||||
|
"Consent To Jurisdiction",
|
||||||
|
"Consents",
|
||||||
|
"Construction",
|
||||||
|
"Cooperation",
|
||||||
|
"Costs",
|
||||||
|
"Counterparts",
|
||||||
|
"Death",
|
||||||
|
"Defined Terms",
|
||||||
|
"Definitions",
|
||||||
|
"Disability",
|
||||||
|
"Disclosures",
|
||||||
|
"Duties",
|
||||||
|
"Effective Dates",
|
||||||
|
"Effectiveness",
|
||||||
|
"Employment",
|
||||||
|
"Enforceability",
|
||||||
|
"Enforcements",
|
||||||
|
"Entire Agreements",
|
||||||
|
"Erisa",
|
||||||
|
"Existence",
|
||||||
|
"Expenses",
|
||||||
|
"Fees",
|
||||||
|
"Financial Statements",
|
||||||
|
"Forfeitures",
|
||||||
|
"Further Assurances",
|
||||||
|
"General",
|
||||||
|
"Governing Laws",
|
||||||
|
"Headings",
|
||||||
|
"Indemnifications",
|
||||||
|
"Indemnity",
|
||||||
|
"Insurances",
|
||||||
|
"Integration",
|
||||||
|
"Intellectual Property",
|
||||||
|
"Interests",
|
||||||
|
"Interpretations",
|
||||||
|
"Jurisdictions",
|
||||||
|
"Liens",
|
||||||
|
"Litigations",
|
||||||
|
"Miscellaneous",
|
||||||
|
"Modifications",
|
||||||
|
"No Conflicts",
|
||||||
|
"No Defaults",
|
||||||
|
"No Waivers",
|
||||||
|
"Non-Disparagement",
|
||||||
|
"Notices",
|
||||||
|
"Organizations",
|
||||||
|
"Participations",
|
||||||
|
"Payments",
|
||||||
|
"Positions",
|
||||||
|
"Powers",
|
||||||
|
"Publicity",
|
||||||
|
"Qualifications",
|
||||||
|
"Records",
|
||||||
|
"Releases",
|
||||||
|
"Remedies",
|
||||||
|
"Representations",
|
||||||
|
"Sales",
|
||||||
|
"Sanctions",
|
||||||
|
"Severability",
|
||||||
|
"Solvency",
|
||||||
|
"Specific Performance",
|
||||||
|
"Submission To Jurisdiction",
|
||||||
|
"Subsidiaries",
|
||||||
|
"Successors",
|
||||||
|
"Survival",
|
||||||
|
"Tax Withholdings",
|
||||||
|
"Taxes",
|
||||||
|
"Terminations",
|
||||||
|
"Terms",
|
||||||
|
"Titles",
|
||||||
|
"Transactions With Affiliates",
|
||||||
|
"Use Of Proceeds",
|
||||||
|
"Vacations",
|
||||||
|
"Venues",
|
||||||
|
"Vesting",
|
||||||
|
"Waiver Of Jury Trials",
|
||||||
|
"Waivers",
|
||||||
|
"Warranties",
|
||||||
|
"Withholdings"
|
||||||
|
],
|
||||||
|
"prefix": "Provision Type:",
|
||||||
|
"title": "Provision Type",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"provision_text",
|
||||||
|
"reasoning",
|
||||||
|
"provision_type"
|
||||||
|
],
|
||||||
|
"title": "LexGlueLedgarJudgeSig",
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
40
program.json
Normal file
40
program.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"traces": [],
|
||||||
|
"train": [],
|
||||||
|
"demos": [],
|
||||||
|
"signature": {
|
||||||
|
"instructions": "Classify a contract provision into the correct provision type from the Ledgar taxonomy.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"prefix": "Provision Text:",
|
||||||
|
"description": "Contract provision text to classify."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Reasoning:",
|
||||||
|
"description": "Step-by-step reasoning, including uncertainty, ambiguity, or uncertainty in your thought process when relevant."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"prefix": "Provision Type:",
|
||||||
|
"description": "Provision type label from the 100-class Ledgar taxonomy (e.g. 'Governing Laws', 'Confidentiality', 'Indemnifications')."
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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