HackerPapers

arXiv:2312.07910cs.AI

PromptBench: A Unified Library for Evaluation of Large Language Models

Kaijie Zhu, Qinlin Zhao, Hao Chen, Jindong Wang, Xing Xie

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
Accepted by Journal of Machine Learning Research (JMLR); code: https://github.com/microsoft/promptbench
Journal reference
DOI
Subjects
cs.AIArtificial Intelligence cs.CLComputation and Language cs.LGMachine Learning

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Dec 2023 to Dec 2023.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Some results published here https://llm-eval.github.io/pages/leaderboard/advprompt.html Also, technical report on arxiv https://arxiv.org/abs/2312.07910 I think that something that would make the results better would be highlighting which models perform best for specific tests…

      Flux159View on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.