Views
No views yet
trust_remote_code.safetensors plus trust_remote_code custom
modeling (a wrapper around T5ForTokenClassification that slices position-0
logits), which optimum-cli will not export - so no public ONNX existed. This
is that build, so anyone who wants to experiment with HHEM-2.1-Open can, without
standing up a PyTorch runtime, custom modeling code, or a custom export pathway.HHEMv2ForSequenceClassification
wrapper and exporting the inner T5ForTokenClassification directly; the
position-0 logit slice + softmax are applied by the caller.| File | Notes |
|---|---|
model.onnx (~419 MB) | T5 encoder + token-classification head. Inputs: input_ids, attention_mask (both [batch, seq], dynamic). Output: logits [batch, seq, 2]. The consistency score is softmax(logits[:, 0, :])[1]. |
tokenizer.json | FLAN-T5-base fast tokenizer (loads with the Rust tokenizers crate). |
tokenizer_config.json, special_tokens_map.json | Tokenizer metadata. |
MODEL_REVISION.txt, sha256.txt | Upstream commit SHA + source weights SHA-256 for provenance. |
8e4a2e6e96c708cc76c2344f7e4757df2515292c.
Inference uses the HHEM prompt template (a prefix containing a literal <pad>
token between premise and hypothesis), as in the upstream model.|delta_p_consistent| < 1e-3.vectara/hallucination_evaluation_model.google/flan-t5-base.