{ "model_id": "deepseek-ai/DeepSeek-V3.2-Exp", "vocab_size": 129280, "all_stop_token_ids": [1], "grammars": [ { "grammar": { "format": { "type": "sequence", "elements": [ { "type": "tag", "begin": "", "content": { "type": "any_text", "excludes": [], "max_tokens": null, "max_chars": null }, "end": "" }, { "type": "triggered_tags", "triggers": [ "<|DSML|function_calls>" ], "tags": [ { "type": "tag", "begin": "<|DSML|function_calls>\n", "content": { "type": "tags_with_separator", "tags": [ { "type": "tag", "begin": "<|DSML|invoke name=\"get_weather\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "location": { "type": "string" } }, "required": [ "location" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" }, { "type": "tag", "begin": "<|DSML|invoke name=\"add\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "y": { "type": "number" }, "x": { "type": "number" }, "items": { "type": "array", "items": { "type": "string" } } }, "required": [ "y", "x", "items" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" } ], "separator": "", "at_least_one": true, "stop_after_first": false }, "end": "" } ], "at_least_one": false, "stop_after_first": false, "excludes": [ "", "" ] } ] }, "coverage": "from_token_zero" }, "generations": { "auto": { "completion": "Need call the weather and add tools.I will call the tools.\n\n<|DSML|function_calls>\n<|DSML|invoke name=\"get_weather\">\n<|DSML|parameter name=\"location\" string=\"true\">Shanghai\n\n<|DSML|invoke name=\"add\">\n<|DSML|parameter name=\"y\" string=\"false\">1.0\n<|DSML|parameter name=\"x\" string=\"false\">2\n<|DSML|parameter name=\"items\" string=\"false\">[\"left\", \"right\"]\n\n", "generation_token_ids": [50249, 1926, 270, 9670, 305, 1258, 6704, 16, 128799, 43, 759, 1926, 270, 6704, 339, 30, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 1133, 65, 50219, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 33182, 4, 3418, 1281, 11476, 3320, 119606, 28011, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 3327, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 91, 4, 3418, 1281, 19836, 3320, 19, 16, 18, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 90, 4, 3418, 1281, 19836, 3320, 20, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 17173, 4, 3418, 1281, 19836, 3320, 10931, 4589, 1760, 582, 2459, 13747, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 1718, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 32, 1] } } }, { "grammar": { "format": { "type": "sequence", "elements": [ { "type": "tag", "begin": "", "content": { "type": "any_text", "excludes": [], "max_tokens": null, "max_chars": null }, "end": "" }, { "type": "sequence", "elements": [ { "type": "const_string", "value": "\n\n<|DSML|function_calls>\n" }, { "type": "tags_with_separator", "tags": [ { "type": "tag", "begin": "<|DSML|invoke name=\"get_weather\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "location": { "type": "string" } }, "required": [ "location" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" }, { "type": "tag", "begin": "<|DSML|invoke name=\"add\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "y": { "type": "number" }, "x": { "type": "number" }, "items": { "type": "array", "items": { "type": "string" } } }, "required": [ "y", "x", "items" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" } ], "separator": "", "at_least_one": true, "stop_after_first": false }, { "type": "const_string", "value": "" } ] } ] }, "coverage": "from_token_zero" }, "generations": { "required": { "completion": "Need call the weather and add tools.\n\n<|DSML|function_calls>\n<|DSML|invoke name=\"get_weather\">\n<|DSML|parameter name=\"location\" string=\"true\">Shanghai\n\n<|DSML|invoke name=\"add\">\n<|DSML|parameter name=\"y\" string=\"false\">1.0\n<|DSML|parameter name=\"x\" string=\"false\">2\n<|DSML|parameter name=\"items\" string=\"false\">[\"left\", \"right\"]\n\n", "generation_token_ids": [50249, 1926, 270, 9670, 305, 1258, 6704, 16, 128799, 271, 30, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 1133, 65, 50219, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 33182, 4, 3418, 1281, 11476, 3320, 119606, 28011, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 3327, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 91, 4, 3418, 1281, 19836, 3320, 19, 16, 18, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 90, 4, 3418, 1281, 19836, 3320, 20, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 17173, 4, 3418, 1281, 19836, 3320, 10931, 4589, 1760, 582, 2459, 13747, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 1718, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 32, 1] } } }, { "grammar": { "format": { "type": "sequence", "elements": [ { "type": "tag", "begin": "", "content": { "type": "any_text", "excludes": [], "max_tokens": null, "max_chars": null }, "end": "" }, { "type": "sequence", "elements": [ { "type": "const_string", "value": "\n\n<|DSML|function_calls>\n" }, { "type": "tag", "begin": "<|DSML|invoke name=\"get_weather\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "location": { "type": "string" } }, "required": [ "location" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" }, { "type": "const_string", "value": "" } ] } ] }, "coverage": "from_token_zero" }, "generations": { "named": { "completion": "Need call the weather and add tools.\n\n<|DSML|function_calls>\n<|DSML|invoke name=\"get_weather\">\n<|DSML|parameter name=\"location\" string=\"true\">Shanghai\n\n", "generation_token_ids": [50249, 1926, 270, 9670, 305, 1258, 6704, 16, 128799, 271, 30, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 1133, 65, 50219, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 33182, 4, 3418, 1281, 11476, 3320, 119606, 28011, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 1718, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 32, 1] } } }, { "grammar": { "format": { "type": "sequence", "elements": [ { "type": "tag", "begin": "", "content": { "type": "any_text", "excludes": [], "max_tokens": null, "max_chars": null }, "end": "" }, { "type": "json_schema", "json_schema": { "type": "object", "properties": { "answer": { "type": "string" } }, "required": [ "answer" ] }, "style": "json", "any_order": false, "max_whitespace_cnt": null, "excludes": [] } ] }, "coverage": "from_token_zero" }, "generations": { "none_schema": { "completion": "Need call the weather and add tools.{\"answer\":\"sunny\"}", "generation_token_ids": [50249, 1926, 270, 9670, 305, 1258, 6704, 16, 128799, 24313, 19995, 16562, 69958, 2928, 62773, 1] } } }, { "grammar": { "format": { "type": "sequence", "elements": [ { "type": "tag", "begin": "", "content": { "type": "any_text", "excludes": [], "max_tokens": null, "max_chars": null }, "end": "" }, { "type": "or", "elements": [ { "type": "sequence", "elements": [ { "type": "const_string", "value": "\n\n<|DSML|function_calls>\n" }, { "type": "tags_with_separator", "tags": [ { "type": "tag", "begin": "<|DSML|invoke name=\"get_weather\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "location": { "type": "string" } }, "required": [ "location" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" }, { "type": "tag", "begin": "<|DSML|invoke name=\"add\">\n", "content": { "type": "json_schema", "json_schema": { "type": "object", "properties": { "y": { "type": "number" }, "x": { "type": "number" }, "items": { "type": "array", "items": { "type": "string" } } }, "required": [ "y", "x", "items" ] }, "style": "deepseek_xml", "any_order": false, "max_whitespace_cnt": null, "excludes": [] }, "end": "\n" } ], "separator": "", "at_least_one": true, "stop_after_first": false }, { "type": "const_string", "value": "" } ] }, { "type": "json_schema", "json_schema": { "type": "object", "properties": { "answer": { "type": "string" } }, "required": [ "answer" ] }, "style": "json", "any_order": false, "max_whitespace_cnt": null, "excludes": [] } ] } ] }, "coverage": "from_token_zero" }, "generations": { "auto_schema_content": { "completion": "Need call the weather and add tools.{\"answer\":\"sunny\"}", "generation_token_ids": [50249, 1926, 270, 9670, 305, 1258, 6704, 16, 128799, 24313, 19995, 16562, 69958, 2928, 62773, 1] }, "auto_schema_calls": { "completion": "Need call the weather and add tools.\n\n<|DSML|function_calls>\n<|DSML|invoke name=\"get_weather\">\n<|DSML|parameter name=\"location\" string=\"true\">Shanghai\n\n<|DSML|invoke name=\"add\">\n<|DSML|parameter name=\"y\" string=\"false\">1.0\n<|DSML|parameter name=\"x\" string=\"false\">2\n<|DSML|parameter name=\"items\" string=\"false\">[\"left\", \"right\"]\n\n", "generation_token_ids": [50249, 1926, 270, 9670, 305, 1258, 6704, 16, 128799, 271, 30, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 1133, 65, 50219, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 33182, 4, 3418, 1281, 11476, 3320, 119606, 28011, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 30, 28217, 10525, 7398, 28217, 40148, 5406, 2329, 1281, 3327, 3816, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 91, 4, 3418, 1281, 19836, 3320, 19, 16, 18, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 90, 4, 3418, 1281, 19836, 3320, 20, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 30, 28217, 10525, 7398, 28217, 41523, 2329, 1281, 17173, 4, 3418, 1281, 19836, 3320, 10931, 4589, 1760, 582, 2459, 13747, 1718, 28217, 10525, 7398, 28217, 41523, 1018, 1718, 28217, 10525, 7398, 28217, 40148, 5406, 1018, 1718, 28217, 10525, 7398, 28217, 8701, 4941, 12548, 32, 1] } } } ] }