corrected-data model: README.md
Browse files
README.md
CHANGED
|
@@ -10,15 +10,20 @@ tags: [tool-calling, agent, function-calling, on-device, webgpu, from-scratch, b
|
|
| 10 |
A **28M-parameter, pretrained-from-scratch, byte-level** agent for tool dispatch. Selection is
|
| 11 |
**generable** (no fixed-N classifier): a 5-way **route head** gates modality, a **dense two-tower
|
| 12 |
selector** scores *any* tool by its description embedding, and a **pointer head** copies argument
|
| 13 |
-
values from the prompt. 50-tool surface.
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
-
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Files
|
| 19 |
-
- `model.pt`
|
| 20 |
- `model.fp16.onnx` — ONNX graph (`logits`, `hidden`) for the in-browser demo.
|
| 21 |
- `dispatch_heads.json` / `heads.json` / `meta.json` — head weights + tokenizer/tool contract.
|
| 22 |
|
| 23 |
-
**Demo:** https://huggingface.co/spaces/danelcsb/localagent-webgpu
|
|
|
|
| 24 |
**Code:** https://github.com/sangbumchoi/localagent
|
|
|
|
| 10 |
A **28M-parameter, pretrained-from-scratch, byte-level** agent for tool dispatch. Selection is
|
| 11 |
**generable** (no fixed-N classifier): a 5-way **route head** gates modality, a **dense two-tower
|
| 12 |
selector** scores *any* tool by its description embedding, and a **pointer head** copies argument
|
| 13 |
+
values from the prompt. 50-tool surface. Trained on a corrected, paraphrase-rich + referent-
|
| 14 |
+
conditioned dataset ([danelcsb/localagent-dispatch-data](https://huggingface.co/datasets/danelcsb/localagent-dispatch-data)).
|
| 15 |
|
| 16 |
+
Eval (held, disjoint phrasings + slots):
|
| 17 |
+
- free-form OOD **call-name 53%** / top-1 56% (45 hand-written queries)
|
| 18 |
+
- paraphrase-eval selection **63%** · referent-conditioned (contextual) selection **72%**
|
| 19 |
+
|
| 20 |
+
Pure **PyTorch** (no `transformers`). Load with this repo's `LocalAgentLM` / `ModelConfig`.
|
| 21 |
|
| 22 |
## Files
|
| 23 |
+
- `model.pt` / `model.safetensors` + `config.json` — checkpoint (backbone + ptr + dense_selector + route_head).
|
| 24 |
- `model.fp16.onnx` — ONNX graph (`logits`, `hidden`) for the in-browser demo.
|
| 25 |
- `dispatch_heads.json` / `heads.json` / `meta.json` — head weights + tokenizer/tool contract.
|
| 26 |
|
| 27 |
+
**Demo:** https://huggingface.co/spaces/danelcsb/localagent-webgpu ·
|
| 28 |
+
**Data:** https://huggingface.co/datasets/danelcsb/localagent-dispatch-data ·
|
| 29 |
**Code:** https://github.com/sangbumchoi/localagent
|