Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

vectara
/
hallucination_evaluation_model

Text Classification
Transformers
Safetensors
English
HHEMv2Config
hallucination-detection
factual-consistency
rag
custom_code
Model card Files Files and versions
xet
Community
24

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

How does HHEMv2 compare to top-tier NLI models?

#24 opened 9 months ago by
hzhiqi

the max token length for HHEMv2? Token indices error and killed.

1
#23 opened about 1 year ago by
hustzjl

Finetune hallucination_evaluation_model checkpoint on custom data

1
#22 opened over 1 year ago by
hegdma

Confusion about unlimited context length

1
#21 opened over 1 year ago by
zhm0

How can I leverage a GPU to perform inference?

1
#20 opened over 1 year ago by
KevinWangHP

why don't you make it more standard?

#19 opened over 1 year ago by
Skepsun

not loading from checkpoint

🔥 3
5
#18 opened over 1 year ago by
tcapelle

How to use "Trust_remote_code" using InferenceClient

1
#11 opened about 2 years ago by
shubhangikat

New Commit Causing Inference Error

4
#10 opened about 2 years ago by
izimmerman

Adding `safetensors` variant of this model

#7 opened over 2 years ago by
SFconvertbot

Adding `safetensors` variant of this model

#5 opened almost 3 years ago by
barkermrl

Model not performing well on large documents like chat summary

3
#4 opened almost 3 years ago by
sourabh89

Adding `safetensors` variant of this model

#2 opened almost 3 years ago by
SFconvertbot
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs