Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 10 min read Research hardMaster

Introducing HELMET: Holistically Evaluating Long-context Language Models

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. Across 59 models, simple synthetic tests like needle-in-a-haystack correlate poorly with downstream performance, task categories correlate weakly with each other, and open models trail closed ones on complex tasks like citation. Even GPT-4o and Gemini degrade sharply with length on re-ranking. The authors recommend Recall and RAG for fast iteration and show how to run the suite via transformers, TGI, Inference Endpoints, vLLM or provider APIs.

Assumes: LLM evaluation basicscontext windowsretrieval-augmented generation

Related posts

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

    Hugging Face mediumAdept

    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.

  • The Hallucinations Leaderboard, an Open Effort to Measure Hallucinations in Large Language Models

    Hugging Face hardMaster

    The Hallucinations Leaderboard ranks open LLMs on hallucination-focused benchmarks using the EleutherAI LM Evaluation Harness with zero- and few-shot in-context learning. Its tasks cover closed-book QA (NQ Open, TriviaQA, TruthfulQA), summarisation (XSum, CNN/DM), reading comprehension, instruction following (MemoTrap, IFEval), fact-checking (FEVER), hallucination detection (FaithDial, True-False, HaluEval) and self-consistency (SelfCheckGPT). Hierarchical clustering of early results groups models into Mistral 7B-based, LLaMA 2-based and smaller-model families. Mistral derivatives lead on TriviaQA and TruthfulQA, while small models like BLOOM 560M do well on MemoTrap because they memorize less. Some scores, such as single-token answers on NQ and CNN/DM, come from generation quirks: 64-shot prompting fixes the NQ case, lifting LLaMA2 13B to the top at 0.34 EM.

  • Rethinking LLM Evaluation with 3C3H: AraGen Benchmark and Leaderboard

    Hugging Face hardMaster

    AraGen is a generative benchmark and leaderboard for Arabic LLMs built on 3C3H, an LLM-as-judge measure that scores responses on Correctness and Completeness (binary) plus Conciseness, Helpfulness, Honesty and Harmlessness (1-5, normalized to [0,1]). Any incorrect answer zeroes every other dimension, and the six scores are averaged across samples. The 279 mostly human-verified questions cover QA, reasoning, orthographic/grammatical analysis and safety, in single-turn, conversational and follow-up formats, with follow-up first answers weighted 2:1. To limit contamination, test sets stay private for three-month cycles and are then released with the evaluation code, and candidate judges such as GPT-4o were compared empirically before one was chosen.

  • Mozilla AI Guide Launch with Summarization Code Example

    Mozilla Hacks mediumAdept

    Mozilla's AI Guide launches as a community resource for developers new to AI, starting with LLM basics and a section on choosing open models. A worked example shows how to pick an open summarization model: use Hugging Face to list candidates, then Papers With Code to find the most-cited dataset (CNN/DailyMail), vet its license and provenance, and compare models on ROUGE-1/2/L for abstractive summarization. Google's Pegasus fine-tuned on CNN/DailyMail is then run locally with Hugging Face Transformers. Experiments with max_new_tokens, temperature, top_k and top_p sampling show how decoding settings change summary length and quality.

  • Introducing the Enterprise Scenarios Leaderboard: a Leaderboard for Real World Use Cases

    Hugging Face easyNovice

    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. Scoring varies by task. FinanceBench and customer support use few-shot GPT-3.5 judging, legal uses exact-match yes/no accuracy, creative writing uses the EnDEX engagingness model, toxicity uses Perspective API, and PII uses a classifier trained on 3,000 labeled examples. To limit test-set contamination, four of the six datasets are kept closed, with only validation sets released. Submitted models must be public and loadable via Hugging Face AutoClasses.

The quest for software engineering knowledge.

Look:
Layout: