Automated per-output-channel INT8 (int8) companion bundle exported from ericlewis/herb-150m (revision v1.1.4-staged).
float32 scales), bfloat16 embeddings/norms, zero torchao dependency.HybridSetAttentionHead kept strictly in float32 (joint_head.safetensors).AutoModelForMultipleChoice (HerbForDecisions) and transformers >= 5.24 native pipeline("decision", ..., trust_remote_code=True) (HerbForDecision).import torch
from transformers import pipeline
decide = pipeline("decision", model="ericlewis/herb-150m-int8", trust_remote_code=True, dtype=torch.bfloat16)
answers = decide({
"state": "Invoice #418 ($240.00) was paid on 2026-11-26 via ACH.",
"questions": {
"unpaid": {"type": "noul", "instructions": "Is the invoice unpaid?"},
"method": {"type": "choice", "instructions": "How was it paid?", "criteria": {"ach": "ACH", "card": "Card"}},
},
})
onnx/herb_backbone_int8.onnx 266 MiBonnx/herb_backbone_int4.onnx 212 MiBmodel.safetensors 181 MiBjoint_head.safetensors 7 MiBericlewis/herb-150m