Skip to content

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.

increase validaiton

HenryNdubuakuff7750bbf1a7
diff --git a/src/data.py b/src/data.py
index d09a363..20db9f2 100644
--- a/src/data.py
+++ b/src/data.py
@@ -379,7 +379,7 @@ def load_tool_calls(split="train", max_samples=None, return_global_indices=False
rng = np.random.RandomState(42)
perm = rng.permutation(n)
- val_size = min(5000, int(n * 0.1))
+ val_size = min(10000, int(n * 0.1))
val_indices = perm[-val_size:]
train_indices = perm[:-val_size]