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)# 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -194,15 +194,14 @@ To start benefiting from HHEM-2.3, you can [sign up](https://console.vectara.com
|
|
| 194 |
Here are some additional resources:
|
| 195 |
1. Vectara [API documentation](https://docs.vectara.com/docs).
|
| 196 |
2. Vectara [SDK](https://github.com/vectara/python-sdk).
|
| 197 |
-
3.
|
| 198 |
-
4. Learn more about Vectara's [Boomerang embedding model](https://vectara.com/blog/introducing-boomerang-vectaras-new-and-improved-retrieval-model/), [Slingshot reranker](https://vectara.com/blog/deep-dive-into-vectara-multilingual-reranker-v1-state-of-the-art-reranker-across-100-languages/), and [Mockingbird LLM](https://vectara.com/blog/mockingbird-a-rag-and-structured-output-focused-llm/)
|
| 199 |
|
| 200 |
|
| 201 |
# Cite this model
|
| 202 |
|
| 203 |
```bibtex
|
| 204 |
@misc {hhem-2.1-open,
|
| 205 |
-
author = {
|
| 206 |
title = {{HHEM-2.1-Open}},
|
| 207 |
year = 2024,
|
| 208 |
url = { https://huggingface.co/vectara/hallucination_evaluation_model },
|
|
|
|
| 194 |
Here are some additional resources:
|
| 195 |
1. Vectara [API documentation](https://docs.vectara.com/docs).
|
| 196 |
2. Vectara [SDK](https://github.com/vectara/python-sdk).
|
| 197 |
+
3. Learn more about Vectara's [Boomerang embedding model](https://vectara.com/blog/introducing-boomerang-vectaras-new-and-improved-retrieval-model/), [Slingshot reranker](https://vectara.com/blog/deep-dive-into-vectara-multilingual-reranker-v1-state-of-the-art-reranker-across-100-languages/), and [Mockingbird LLM](https://vectara.com/blog/mockingbird-a-rag-and-structured-output-focused-llm/)
|
|
|
|
| 198 |
|
| 199 |
|
| 200 |
# Cite this model
|
| 201 |
|
| 202 |
```bibtex
|
| 203 |
@misc {hhem-2.1-open,
|
| 204 |
+
author = {Miaoran Li and Rogger Luo and Ofer Mendelevitch},
|
| 205 |
title = {{HHEM-2.1-Open}},
|
| 206 |
year = 2024,
|
| 207 |
url = { https://huggingface.co/vectara/hallucination_evaluation_model },
|