The AI arena is free today

Open Playground

HumanEvalFIM-Average

Paper

Progress Over Time

Interactive timeline showing model performance evolution on HumanEvalFIM-Average

State-of-the-art frontier
Open
Proprietary

HumanEvalFIM-Average Leaderboard

1 models
ContextCostLicense
1
Mistral AI
Mistral AI
22B
Notice missing or incorrect data?
About this benchmark

What is HumanEvalFIM-Average?

Average evaluation of HumanEval Fill-in-the-Middle benchmark variants (single-line, multi-line, random-span) for assessing code infilling capabilities of language models

HumanEvalFIM-Average is a text benchmark evaluating models on general tasks. LLM Stats tracks 1 models on this benchmark, scored on a 0–1 scale. The current average is 0.9, with the leader at 0.9.

Compare leaders on the best AI for general leaderboards.

Current leaders

Codestral-22B from Mistral AI currently leads the HumanEvalFIM-Average leaderboard with a score of 0.916 across 1 evaluated AI models.

1Codestral-22BMistral AI91.6%

Source paper

Title
Efficient Training of Language Models to Fill in the Middle
Authors
Mohammad Bavarian, Heewoo Jun, Nikolas Tezak, John Schulman, and 3 others
Published
Abstract

We show that autoregressive language models can learn to infill text after we apply a straightforward transformation to the dataset, which simply moves a span of text from the middle of a document to its end. While this data augmentation has garnered much interest in recent years, we provide extensive evidence that training models with a large fraction of data transformed in this way does not harm the original left-to-right generative capability, as measured by perplexity and sampling evaluations across a wide range of scales. Given the usefulness, simplicity, and efficiency of training models to fill-in-the-middle (FIM), we suggest that future autoregressive language models be trained with FIM by default. To this end, we run a series of ablations on key hyperparameters, such as the data transformation frequency, the structure of the transformation, and the method of selecting the infill span. We use these ablations to prescribe strong default settings and best practices to train FIM models. We have released our best infilling model trained with best practices in our API, and release our infilling benchmarks to aid future research.

FAQ

Common questions about the HumanEvalFIM-Average benchmark and leaderboard.

What is the HumanEvalFIM-Average benchmark?

Average evaluation of HumanEval Fill-in-the-Middle benchmark variants (single-line, multi-line, random-span) for assessing code infilling capabilities of language models

What is the HumanEvalFIM-Average leaderboard?

The HumanEvalFIM-Average leaderboard ranks 1 AI models based on their performance on this benchmark. Currently, Codestral-22B by Mistral AI leads with a score of 0.916. The average score across all models is 0.916.

What is the highest HumanEvalFIM-Average score?

The highest HumanEvalFIM-Average score is 0.916, achieved by Codestral-22B from Mistral AI.

How many models are evaluated on HumanEvalFIM-Average?

1 models have been evaluated on the HumanEvalFIM-Average benchmark, with 0 verified results and 1 self-reported results.

Where can I find the HumanEvalFIM-Average paper?

The HumanEvalFIM-Average paper is available at https://arxiv.org/abs/2207.14255. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does HumanEvalFIM-Average cover?

HumanEvalFIM-Average is categorized under general. The benchmark evaluates text models.

What is the best open-source model on HumanEvalFIM-Average?

Codestral-22B by Mistral AI is the top-ranked open-source model on HumanEvalFIM-Average, with a score of 0.916 (rank #1).

How recent are the HumanEvalFIM-Average leaderboard results?

The HumanEvalFIM-Average leaderboard was last updated in August 2026 and currently includes 1 evaluated models.