hmahadik commited on
Commit
c3ed491
·
verified ·
1 Parent(s): 4e15ea2

chore: token map for v6 (11 tools, camera/vision dropped)

Browse files
Files changed (1) hide show
  1. token_map.json +5 -11
token_map.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "version": "0.1.0",
3
- "description": "Compressed token map for FunctionGemma CPU inference on SL2619. Shrinks tool-call output ~4-6x vs canonical JSON to hit sub-1s voice UX on 2-core A55.",
4
  "tokens": {
5
  "turn_on_lights": "<tool_0>",
6
  "turn_off_lights": "<tool_1>",
@@ -12,9 +12,7 @@
12
  "cancel_alarm": "<tool_7>",
13
  "list_alarms": "<tool_8>",
14
  "get_system_status": "<tool_9>",
15
- "capture_photo": "<tool_10>",
16
- "describe_scene": "<tool_11>",
17
- "respond": "<tool_12>"
18
  },
19
  "reverse": {
20
  "<tool_0>": "turn_on_lights",
@@ -27,9 +25,7 @@
27
  "<tool_7>": "cancel_alarm",
28
  "<tool_8>": "list_alarms",
29
  "<tool_9>": "get_system_status",
30
- "<tool_10>": "capture_photo",
31
- "<tool_11>": "describe_scene",
32
- "<tool_12>": "respond",
33
  "<tool_none>": null
34
  },
35
  "special_tokens": [
@@ -44,11 +40,9 @@
44
  "<tool_8>",
45
  "<tool_9>",
46
  "<tool_10>",
47
- "<tool_11>",
48
- "<tool_12>",
49
  "<tool_none>",
50
  "<end>"
51
  ],
52
  "output_format": "<tool_N>(\"arg1\",\"arg2\",...)<end>",
53
- "notes": "Argument order must match the canonical schema's 'required' list first, then optional params in schema declaration order. Converter normalizes canonical JSON -> positional args at training time."
54
  }
 
1
  {
2
+ "version": "0.2.0",
3
+ "description": "Compressed token map for FunctionGemma CPU inference on SL2619. 11 tools camera/vision removed in v6.",
4
  "tokens": {
5
  "turn_on_lights": "<tool_0>",
6
  "turn_off_lights": "<tool_1>",
 
12
  "cancel_alarm": "<tool_7>",
13
  "list_alarms": "<tool_8>",
14
  "get_system_status": "<tool_9>",
15
+ "respond": "<tool_10>"
 
 
16
  },
17
  "reverse": {
18
  "<tool_0>": "turn_on_lights",
 
25
  "<tool_7>": "cancel_alarm",
26
  "<tool_8>": "list_alarms",
27
  "<tool_9>": "get_system_status",
28
+ "<tool_10>": "respond",
 
 
29
  "<tool_none>": null
30
  },
31
  "special_tokens": [
 
40
  "<tool_8>",
41
  "<tool_9>",
42
  "<tool_10>",
 
 
43
  "<tool_none>",
44
  "<end>"
45
  ],
46
  "output_format": "<tool_N>(\"arg1\",\"arg2\",...)<end>",
47
+ "notes": "Argument order positional per canonical schema's required-first then optional declaration order. Camera/vision tools (capture_photo, describe_scene) removed in v6 out of scope per project decision."
48
  }