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.

New Commit Causing Inference Error

#10
by izimmerman - opened

NoneType object not callable error occurs with new commit e2b6d9ec13ef307933e82ed6a7ca13ca77fee2d1

Unable to use the text-classification pipeline.

Hi @izimmerman can you show me how you used HHEM with text-classificaiton pipeline?

classifier = pipeline(
            "text-classification",
            model="vectara/hallucination_evaluation_model",
            trust_remote_code=True,
        )
...

classifier("sample document[SEP]sample summary") <<< errors

Hi @izimmerman please see the new usage here
https://huggingface.co/vectara/hallucination_evaluation_model#using-with-pipeline
Let us know if you have additional questions.

Note that you can no longer use [SEP] to connect the premise and the hypothesis. We now use an instructional prompt template. If you want to save the hassle, you can use our end-to-end solution here: https://huggingface.co/vectara/hallucination_evaluation_model#using-with-automodel

@izimmerman Could you please let us know whether you are able to use HHEM-2.1-Open now? If you need further assistance, feel free to let us know.

Sign up or log in to comment