{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://git.transaction.science/Transaction-Science/open-standards/raw/branch/main/wai/wai-quantum-cli/schemas/token-cost.v1.json", "title": "wai.quantum.token-cost/1", "description": "What a task set's answers (wai.quantum.eval-answers/1) take in tokens, each written four ways, as wai/quantum-conformance/eval/token_cost.py counts them: their bytes, and for each tokenizer its vocabulary, the totals, the means and the ratios against the program alone.", "type": "object", "required": [ "format", "answers", "bytes", "tokenizers" ], "properties": { "format": { "const": "wai.quantum.token-cost/1" }, "about": { "type": "string" }, "answers": { "type": "integer", "minimum": 0 }, "bytes": { "type": "object", "properties": { "plain": { "type": "number" }, "views": { "type": "number" }, "views_request": { "type": "number" }, "job": { "type": "number" } } }, "tokenizers": { "type": "array", "items": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" }, "vocabulary": { "type": "integer" }, "totals": { "type": "object", "properties": { "plain": { "type": "number" }, "views": { "type": "number" }, "views_request": { "type": "number" }, "job": { "type": "number" } } }, "mean": { "type": "object", "properties": { "plain": { "type": "number" }, "views": { "type": "number" }, "views_request": { "type": "number" }, "job": { "type": "number" } } }, "against_plain": { "type": "object", "properties": { "plain": { "type": "number" }, "views": { "type": "number" }, "views_request": { "type": "number" }, "job": { "type": "number" } } } }, "additionalProperties": true } } }, "additionalProperties": true }