ericlewis/herb-150m-int8
Automated per-output-channel INT8 (int8) companion bundle exported from ericlewis/herb-150m (revision v1.1.4-staged).
- Encoder: 168 per-output-channel quantized linear layers (
float32scales),bfloat16embeddings/norms, zerotorchaodependency. - Decision Head:
HybridSetAttentionHeadkept strictly infloat32(joint_head.safetensors). - Supports:
AutoModelForMultipleChoice(HerbForDecisions) andtransformers >= 5.24nativepipeline("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"}},
},
})