Views
No views yet
sapientinc/HRM-Text-1B for
function / tool calling. This is v2 of
hrm-text-agent: it adds xLAM parallel /
multi-call data and a format-discipline slice. The result is a much stronger tool-caller —
call competence into best-1B territory — with some tradeoffs (below).| Category | n | v1 | v2 | Δ |
|---|---|---|---|---|
| simple | 400 | 61.5% | 81.5% | +20.0 |
| multiple | 200 | 53.5% | 77.0% | +23.5 |
| parallel | 200 | 37.5% | 59.0% | +21.5 |
| parallel_multiple | 200 | 28.0% | 42.5% | +14.5 |
| irrelevance | 240 | 80.8% | 60.8% | −20.0 |
| Benchmark | base | v1 | v2 | note |
|---|---|---|---|---|
| MMLU | 60.1% | 55.5% | 58.4% | invalid 11.9% → 1.4% (format recovered) |
| ARC-C | 83.5% | 75.1% | 83.2% | invalid 9.9% → 0% (back to base) |
| HellaSwag | 63.3% | 61.9% | 61.9% | stable |
| Winogrande | 72.2% | 70.6% | 70.7% | stable |
| BoolQ | 86.3% | 87.3% | 86.3% | stable |
| DROP (F1) | 84.8% | 83.3% | 83.7% | stable |
| GSM8k | 84.5% | 85.6% | 78.6% | −7 vs v1 (real reasoning, invalid 0%) |
| MATH-1000 | 49.3% | 45.4% | 37.0% | −8 vs v1 (accuracy, not format) |
cfg_sft recipe as v1 (full-parameter, lr 3e-5, cosine, 3 epochs, max_len 2048, bf16,
direct condition token). Data: the v1 mix (Hermes + glaive + no_robots + synthesized irrelevance)
+ ~14k parallel-biased Salesforce/xlam-function-calling-60k
+ ~3k format-discipline examples (single-letter MCQ + \boxed{} math, from train/aux splits —
leakage-safe), all interleaved. ~3 epochs on an A100 80GB.direct condition envelope, so use the repo
harness rather than a bare .generate():1git clone https://github.com/jasoncarreira/hrm-text-agent && cd hrm-text-agent
2pip install -r requirements.txt
3python infer_agent.py --model jasoncarreira/hrm-text-agent-v2 "Book a table for 2 and check the weather"
4python bfcl_local.py --model jasoncarreira/hrm-text-agent-v2 --dump errs.jsonl