-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmodel.schema.json
More file actions
154 lines (154 loc) · 5.16 KB
/
model.schema.json
File metadata and controls
154 lines (154 loc) · 5.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Models Manifest Schema",
"description": "Schema for large language model metadata",
"type": "object",
"allOf": [
{
"$ref": "./ref/vendor-entity.schema.json"
},
{
"type": "object",
"properties": {
"size": {
"type": "string",
"description": "Model parameter size (e.g., '7B', '32B', '200B')"
},
"contextWindow": {
"type": "number",
"description": "Total context window size in tokens (e.g., 32000, 64000, 200000)"
},
"maxOutput": {
"type": "number",
"description": "Maximum output token size in tokens (e.g., 4096, 8192)"
},
"tokenPricing": {
"type": "object",
"description": "Token-based pricing information for API usage (in $/M tokens)",
"properties": {
"input": {
"type": "number",
"description": "Input token pricing in $/M tokens (e.g., 0.14 for $0.14/1M tokens)"
},
"output": {
"type": "number",
"description": "Output token pricing in $/M tokens (e.g., 0.42 for $0.42/1M tokens)"
},
"cache": {
"type": ["number", "null"],
"description": "Cache token pricing in $/M tokens (e.g., 0.07 for $0.07/1M tokens, null if not applicable)"
}
},
"required": ["input", "output", "cache"],
"additionalProperties": false
},
"releaseDate": {
"type": ["string", "null"],
"format": "date",
"description": "Model release date (ISO 8601 date, YYYY-MM-DD), null if unknown"
},
"lifecycle": {
"type": "string",
"enum": ["latest", "maintained", "deprecated"],
"description": "Lifecycle stage: latest (newly released), maintained (still available for use), deprecated (no longer available)"
},
"knowledgeCutoff": {
"type": ["string", "null"],
"pattern": "^\\d{4}-(0[1-9]|1[0-2])(?:-(0[1-9]|[12]\\d|3[01]))?$",
"description": "Knowledge cutoff date when the model's training data ended (ISO 8601, YYYY-MM or YYYY-MM-DD), null if unknown"
},
"inputModalities": {
"type": "array",
"description": "Input modalities supported by the model",
"items": {
"type": "string",
"enum": ["text", "image", "pdf", "audio", "video"]
},
"uniqueItems": true,
"minItems": 1
},
"outputModalities": {
"type": "array",
"description": "Output modalities supported by the model",
"items": {
"type": "string",
"enum": ["text", "image", "audio", "video"]
},
"uniqueItems": true,
"minItems": 1
},
"capabilities": {
"type": "array",
"description": "Advanced capabilities supported by the model",
"items": {
"type": "string",
"enum": ["function-calling", "tool-choice", "structured-outputs", "reasoning"]
},
"uniqueItems": true
},
"benchmarks": {
"type": "object",
"description": "Performance scores from coding and multimodal benchmarks",
"properties": {
"sweBench": {
"type": ["number", "null"],
"description": "SWE-bench Verified score (percentage, e.g., 74.4)"
},
"terminalBench": {
"type": ["number", "null"],
"description": "TerminalBench 2.0 accuracy score (decimal, e.g., 0.604)"
},
"mmmu": {
"type": ["number", "null"],
"description": "MMMU benchmark score (percentage)"
},
"mmmuPro": {
"type": ["number", "null"],
"description": "MMMU Pro benchmark score (percentage)"
},
"webDevArena": {
"type": ["number", "null"],
"description": "WebDevArena score"
},
"sciCode": {
"type": ["number", "null"],
"description": "SciCode benchmark score (percentage)"
},
"liveCodeBench": {
"type": ["number", "null"],
"description": "LiveCodeBench Pass@1 score (percentage)"
}
},
"required": [
"sweBench",
"terminalBench",
"mmmu",
"mmmuPro",
"webDevArena",
"sciCode",
"liveCodeBench"
],
"additionalProperties": false
},
"platformUrls": {
"$ref": "./ref/platform-urls.schema.json",
"description": "URLs to various third-party platform pages for this model"
}
},
"required": [
"size",
"contextWindow",
"maxOutput",
"tokenPricing",
"releaseDate",
"lifecycle",
"knowledgeCutoff",
"inputModalities",
"outputModalities",
"capabilities",
"benchmarks",
"platformUrls"
]
}
]
}