Evaluating Large Language Models with fmeval

Pola Schwöbel, Luca Franceschi, Muhammad Bilal Zafar, Keerthan Vasist, Aman Malhotra +5 more
7/15/2024
cs.CLcs.LG

Official code: aws/fmeval (292 stars, Apache-2.0, last commit 2025-08-07).

Abstract

fmeval is an open source library to evaluate large language models (LLMs) in a range of tasks. It helps practitioners evaluate their model for task performance and along multiple responsible AI dimensions. This paper presents the library and exposes its underlying design principles: simplicity, coverage, extensibility and performance. We then present how these were implemented in the scientific and engineering choices taken when developing fmeval. A case study demonstrates a typical use case for the library: picking a suitable model for a question answering task. We close by discussing limitations and further work in the development of the library. fmeval can be found at https://github.com/aws/fmeval.

View on arXivView PDF

Code Implementations(1)

aws/fmevalOfficial100%
Apache-2.0

Foundation Model Evaluations Library

29260Shell, PythonSep 25, 20231 years agoApache-2.0

Cite this paper

@article{schwbel2024evaluating,
  title  = {Evaluating Large Language Models with fmeval},
  author = {Pola Schwöbel and Luca Franceschi and Muhammad Bilal Zafar and Keerthan Vasist and Aman Malhotra and Tomer Shenhar and Pinal Tailor and Pinar Yilmaz and Michael Diamond and Michele Donini},
  year   = {2024},
  eprint = {2407.12872},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.12872v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.12872.svg)](https://codeofpaper.com/paper/2407.12872)

Discussion