Text Classification
Transformers
Safetensors
English
HHEMv2Config
hallucination-detection
factual-consistency
rag
custom_code
Run this model with HF Jobs
Run vectara/hallucination_evaluation_model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/vectara/hallucination_evaluation_model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/vectara/hallucination_evaluation_model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use vectara/hallucination_evaluation_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vectara/hallucination_evaluation_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vectara/hallucination_evaluation_model", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("vectara/hallucination_evaluation_model", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
embed gui demo url using iframe
Browse files10 unmodified lines11121314151610 unmodified lines[**Click here try out HHEM-2.1-Open from your browser** ](https://huggingface.co/spaces/vectara/hhem-2.1-open-demo?logs=build)With a performance superior than GPT-3.5-Turbo and GPT-4 but a footprint of less than 600MB RAM,HHEM-2.1-Open is the lastest open source version of Vectara's HHEM series models for detecting hallucinations in LLMs. They are particularly useful in the context of building retrieval-augmented-generation (RAG) applications where a set of facts is summarized by an LLM, and HHEM can be used to measure the extent to which this summary is factually consistent with the facts.10 unmodified lines1112131415161710 unmodified lines[**Click here try out HHEM-2.1-Open from your browser** ](https://huggingface.co/spaces/vectara/hhem-2.1-open-demo?logs=build)<iframe src="https://vectara-hhem-2-1-open-demo.hf.space/" title="Demo for HHEM-2.1-Open"></iframe>With a performance superior than GPT-3.5-Turbo and GPT-4 but a footprint of less than 600MB RAM,HHEM-2.1-Open is the lastest open source version of Vectara's HHEM series models for detecting hallucinations in LLMs. They are particularly useful in the context of building retrieval-augmented-generation (RAG) applications where a set of facts is summarized by an LLM, and HHEM can be used to measure the extent to which this summary is factually consistent with the facts.
README.md+1