---
title: "A guide to setting up your own Hugging Face leaderboard: an end-to-end example with Vectara's hallucination leaderboard"
description: "Vectara rebuilt its Hughes Hallucination Evaluation Model (HHEM) leaderboard on Hugging Face's open-source leaderboard template, which lets users submit new LLMs and refreshes the rankings automatically as results arrive."
url: "https://swe.quest/articles/a-guide-to-setting-up-your-own-hugging-face-leaderboard-an-end-to-end-example-dd9a922694146d54"
canonical: "https://huggingface.co/blog/leaderboard-vectara"
source: "Hugging Face"
published: "2024-01-12"
difficulty: "medium"
kind: "How-to"
reading_minutes: 4
tags: ["evals","llms"]
---

# A guide to setting up your own Hugging Face leaderboard: an end-to-end example with Vectara's hallucination leaderboard

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-01-12, 4 min read, How-to. Original: [https://huggingface.co/blog/leaderboard-vectara](https://huggingface.co/blog/leaderboard-vectara)

## Summary

Vectara rebuilt its Hughes Hallucination Evaluation Model (HHEM) leaderboard on Hugging Face's open-source leaderboard template, which lets users submit new LLMs and refreshes the rankings automatically as results arrive. A basic leaderboard only needs a cloned Space plus two datasets, one for 'requests' and one for 'results'. HHEM needed custom backend code: a SummaryGenerator produces summaries and measures answer rate and length, an EvaluationModel scores them for factual consistency and hallucination rate, and Evaluator, run\_evaluation and main\_backend tie these together to process pending requests and upload results.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- Hugging Face Spaces
- LLM evaluation basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Hugging Face, HHEM, Vectara, Open LLM Leaderboard, Hugging Face Spaces

## Related posts

- [Featuring Every Eval Ever Results on Hugging Face Model Pages](https://swe.quest/articles/featuring-every-eval-ever-results-on-hugging-face-model-pages-bbe4a6ce0e7e0d02.md): Hugging Face · 2026-06-30 · Medium · 6 min read · Evaluation, LLMs, Open source
  Every Eval Ever (EEE), a unified JSON schema for AI evaluation results that records the evaluator, the model, the access method, generation settings and metric meaning, now interoperates with Hugging Face Community Evals.
- [The Hallucinations Leaderboard, an Open Effort to Measure Hallucinations in Large Language Models](https://swe.quest/articles/the-hallucinations-leaderboard-an-open-effort-to-measure-hallucinations-in-3ececfecde317edd.md): Hugging Face · 2024-01-29 · Hard · 13 min read · Evaluation, LLMs
  The Hallucinations Leaderboard ranks open LLMs on hallucination-focused benchmarks using the EleutherAI LM Evaluation Harness with zero- and few-shot in-context learning.
- [What's going on with the Open LLM Leaderboard?](https://swe.quest/articles/what-s-going-on-with-the-open-llm-leaderboard-93a0bc3d63292861.md): Hugging Face · 2023-06-23 · Medium · 12 min read · Evaluation, LLMs
  MMLU scores for the same model vary widely depending on which implementation runs the benchmark.
- [Introducing the Enterprise Scenarios Leaderboard: a Leaderboard for Real World Use Cases](https://swe.quest/articles/introducing-the-enterprise-scenarios-leaderboard-a-leaderboard-for-real-world-3fa64534d04586f5.md): Hugging Face · 2024-01-31 · Easy · 6 min read · Evaluation, LLMs
  Patronus and Hugging Face's Enterprise Scenarios Leaderboard evaluates language models on six enterprise-oriented tasks: FinanceBench, Legal Confidentiality, Creative Writing, Customer Support Dialogue, Toxicity and Enterprise PII.
- [Introducing HELMET: Holistically Evaluating Long-context Language Models](https://swe.quest/articles/introducing-helmet-holistically-evaluating-long-context-language-models-ceb9c80801153e04.md): Hugging Face · 2025-04-16 · Hard · 10 min read · Evaluation, LLMs
  HELMET is a long-context language model benchmark covering diverse real tasks (RAG, generation with citations, re-ranking, ICL, long QA, summarization, synthetic recall) with controllable input lengths from 8K to 128K tokens and model-based metrics that agree with human judgments better than ROUGE.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
