🏆 Benchmark Scorecard (100 Tasks Per Domain)
Evaluated under strict head-to-head empirical testing against base unconstrained reasoning:
Table with columns: Benchmark Domain, Native Normal Baseline, Grugified Adapter, Absolute Gain, Latency / Speedup| Benchmark Domain | Native Normal Baseline | Grugified Adapter | Absolute Gain | Latency / Speedup |
|---|
| Tool Calling (Glaive AI 100) | 44.0% | 78.0% | +34.0% | 1.35s (137 tokens) |
| Quantitative Math (GSM8K 100) | 3.0% | 24.0% | +21.0% (8x rel) | 13.0x speedup (156s o 12s) |
| Coding (HumanEval 100) | 14.0% | Cognitive Plan | Compiler mode | Zero schema drift |
| Overall 300-Item Benchmark | 20.3% | 34.0% | +13.7% | 47% token reduction |
Live Production CSV Agent Test (sales.xlsx, 100,300 rows)
- 100% Plan Execution Pass Rate across multi-step Arabic and English queries (
filter_tool, aggregate_tool, view_tool, chart_tool).
- 49.2 tok/s decoding speed on NVIDIA A100.
🧠 The Grug Speech Invariant Topology
Instead of hundreds of tokens of discursive self-doubt, Grug Speech enforces strict invariant conservation:
<think>Domain: tool_useGoal: dispatch payment verificationInvariants: order_id=1001, amount=250.0, currency="USD"Action: call verify_payment(order_id=1001, amount=250.0, currency="USD")Done.</think><tool_call>{"name": "verify_payment", "arguments": {"order_id": 1001, "amount": 250.0, "currency": "USD"}}</tool_call>
🚀 Quickstart & Inference
import torchfrom transformers import AutoModelForCausalLM, AutoTokenizerfrom peft import PeftModel BASE_MODEL = "Qwen/Qwen3.5-4B"ADAPTER_ID = "Novasaki/Qwen3.5-4B-UniversalGrugifier" tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)base_model = AutoModelForCausalLM.from_pretrained( BASE_MODEL, torch_dtype=torch.bfloat16, device_map="auto")model = PeftModel.from_pretrained(base_model, ADAPTER_ID) prompt = """You are a data analysis planner. Reason in Grug Speech inside <think> tags.User Query: Filter orders where Total > 500, group by City, and sum Total.""" inputs = tokenizer(prompt, return_tensors="pt").to("cuda")with torch.no_grad(): out = model.generate(**inputs, max_new_tokens=250, do_sample=False) print(tokenizer.decode(out[0], skip_special_tokens=True))
📚 Academic Citations & Technical Report
For full theoretical derivations (EBFT energy function, length penalty γ=0.005, margin m=1.5), complete 1,800-task master scorecard, and reproduction instructions, see: