Instructions to use ngdghfdc/head-arb-gold with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use ngdghfdc/head-arb-gold with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
head-arb-gold β examflow OCR arbitration head (Laya fine-tune)
Fine-tuned convaiinnovations/laya
(Apache-2.0) for one job: arbitrate OCR engine outputs among 4 actions β
trust-leader, trust-consensus, merge-fields, escalate β in a single
encoder pass (~ms on GPU). Cost-aware: prefers cheap-engine consensus over
expensive GPU/API leaders when agreement is strong.
Training (all $0: Kaggle T4 x2)
- 2,000 gold construction-truth cases (incl. cost-trap patterns), 0 eval overlap
- Full fine-tune, 3 epochs, lr 2e-5, batch 8, bf16; option order shuffled per sample + 3 instruction variants (anti-prior-collapse)
- Held-out synthetic eval (n=150): 1.0000 vs heuristic 0.700 (+30pp)
Scope & limits (read before use)
- SYNTHETIC distribution: proves the loop, not real-world accuracy.
- Confidence is temp-uncalibrated until per-head refit (base checkpoint ships invalid temperatures β refit before trusting it).
- Never final-judge duty: dispatcher/signal layer only, abstain below tau.
- Safe format:
model.safetensors(no pickle, no code execution on load).
Load
from laya import Agent
agent = Agent(model_id_or_path="ngdghfdc/head-arb-gold")
out = agent.predict(state, {"arb": {"type": "choice",
"instructions": "Pick the best arbitration action.",
"criteria": {o: o for o in ["trust-leader", "trust-consensus",
"merge-fields", "escalate"]}}})
- Downloads last month
- 28
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support