Automation foundation model for tiny devices: 2-bit, 8-29 MB, tool calls, ASR, structured extraction and embeddings on phones, wearables, smart homes, robots, cars and microcontrollers.
updates
HenryNdubuaku0930b4ef8e74
diff --git a/src/generate_data.py b/src/generate_data.pyindex 7361bbf..09edbf4 100644--- a/src/generate_data.py+++ b/src/generate_data.py@@ -819,17 +819,17 @@ CALL_TYPES = [("single", "exactly 1 tool call"), # 3/16 ≈ 19%("single", "exactly 1 tool call"),("single", "exactly 1 tool call"),- ("multi", "2-3 tool calls (the user wants multiple things done at once)"), # 3/16 ≈ 19%- ("multi", "2-3 tool calls (the user wants multiple things done at once)"),- ("multi", "2-3 tool calls (the user wants multiple things done at once)"),- ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."), # 4/16 ≈ 25%- ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."),- ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."),- ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."),- ("multi_long_values", "2-3 tool calls where argument values are LONG and detailed — full sentences for message text, multi-word descriptions, specific addresses, complete email bodies, detailed notes. Each argument value should be at least 5-10 words, not just a single word or number."), # 2/16 ≈ 12%- ("multi_long_values", "2-3 tool calls where argument values are LONG and detailed — full sentences for message text, multi-word descriptions, specific addresses, complete email bodies, detailed notes. Each argument value should be at least 5-10 words, not just a single word or number."),- ("none", "NO tool calls — the user asks a question or makes a request that NONE of the available tools can fulfill. "- "answers must be []. Every query must be specific, detailed, and UNIQUE — no generic one-liners."),+ # ("multi", "2-3 tool calls (the user wants multiple things done at once)"), # 3/16 ≈ 19%+ # ("multi", "2-3 tool calls (the user wants multiple things done at once)"),+ # ("multi", "2-3 tool calls (the user wants multiple things done at once)"),+ # ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."), # 4/16 ≈ 25%+ # ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."),+ # ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."),+ # ("multi_few_tools", "2-4 tool calls using ONLY 1-3 of the available tools — the user wants multiple actions with the SAME or very few tools, with DIFFERENT detailed argument values each time (e.g. sending messages to 3 different people, setting 2 different alarms, creating multiple list items). Each call MUST have distinct, realistic argument values — vary names, times, locations, messages, etc."),+ # ("multi_long_values", "2-3 tool calls where argument values are LONG and detailed — full sentences for message text, multi-word descriptions, specific addresses, complete email bodies, detailed notes. Each argument value should be at least 5-10 words, not just a single word or number."), # 2/16 ≈ 12%+ # ("multi_long_values", "2-3 tool calls where argument values are LONG and detailed — full sentences for message text, multi-word descriptions, specific addresses, complete email bodies, detailed notes. Each argument value should be at least 5-10 words, not just a single word or number."),+ # ("none", "NO tool calls — the user asks a question or makes a request that NONE of the available tools can fulfill. "+ # "answers must be []. Every query must be specific, detailed, and UNIQUE — no generic one-liners."),("near_miss", "NO tool calls — the query is RELATED to the domain of the available tools but the tools CANNOT actually fulfill the request. ""Examples: asking for HISTORY of alarms when only set_alarm exists, asking to EDIT a calendar event when only create/delete exist, ""asking for a feature a tool doesn't support (e.g. 'set a recurring timer' when set_timer has no repeat param), "@@ -891,11 +891,11 @@ MODEL = "gemini-3.1-flash-lite-preview"LANGUAGES = ["English",- # "Bulgarian", "Croatian", "Czech", "Danish", "Dutch",- # "Estonian", "Finnish", "French", "German", "Greek", "Hungarian",- # "Italian", "Latvian", "Lithuanian", "Maltese", "Polish",- # "Portuguese", "Romanian", "Slovak", "Slovenian", "Spanish",- # "Swedish", "Russian", "Ukrainian",+ "Bulgarian", "Croatian", "Czech", "Danish", "Dutch",+ "Estonian", "Finnish", "French", "German", "Greek", "Hungarian",+ "Italian", "Latvian", "Lithuanian", "Maltese", "Polish",+ "Portuguese", "Romanian", "Slovak", "Slovenian", "Spanish",+ "Swedish", "Russian", "Ukrainian",]MAX_TOOLS = 10