PromptBench: A Unified Library for Evaluation of Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhu, Kaijie, Zhao, Qinlin, Chen, Hao, Wang, Jindong, Xie, Xing
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911995015462912
author Zhu, Kaijie
Zhao, Qinlin
Chen, Hao
Wang, Jindong
Xie, Xing
author_facet Zhu, Kaijie
Zhao, Qinlin
Chen, Hao
Wang, Jindong
Xie, Xing
contents The evaluation of large language models (LLMs) is crucial to assess their performance and mitigate potential security risks. In this paper, we introduce PromptBench, a unified library to evaluate LLMs. It consists of several key components that are easily used and extended by researchers: prompt construction, prompt engineering, dataset and model loading, adversarial prompt attack, dynamic evaluation protocols, and analysis tools. PromptBench is designed to be an open, general, and flexible codebase for research purposes that can facilitate original study in creating new benchmarks, deploying downstream applications, and designing new evaluation protocols. The code is available at: https://github.com/microsoft/promptbench and will be continuously supported.
format Preprint
id arxiv_https___arxiv_org_abs_2312_07910
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle PromptBench: A Unified Library for Evaluation of Large Language Models
Zhu, Kaijie
Zhao, Qinlin
Chen, Hao
Wang, Jindong
Xie, Xing
Artificial Intelligence
Computation and Language
Machine Learning
The evaluation of large language models (LLMs) is crucial to assess their performance and mitigate potential security risks. In this paper, we introduce PromptBench, a unified library to evaluate LLMs. It consists of several key components that are easily used and extended by researchers: prompt construction, prompt engineering, dataset and model loading, adversarial prompt attack, dynamic evaluation protocols, and analysis tools. PromptBench is designed to be an open, general, and flexible codebase for research purposes that can facilitate original study in creating new benchmarks, deploying downstream applications, and designing new evaluation protocols. The code is available at: https://github.com/microsoft/promptbench and will be continuously supported.
title PromptBench: A Unified Library for Evaluation of Large Language Models
topic Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2312.07910