TensorX
返回文献探索

Paper · arXiv 2408.03837

WalledEval: A Comprehensive Safety Evaluation Toolkit for Large Language Models

Prannaya Gupta, Le Qi Yau, Hao Han Low, I-Shiang Lee, Hugo Maximus Lim, Yu Xin Teoh, Jia Hng Koh, Dar Win Liew, Rishabh Bhardwaj, Rajat Bhardwaj, Soujanya Poria

18 upvotesAugust 7, 2024arXiv 预印本
AI 摘要

WalledEval is a comprehensive safety testing toolkit for large language models using multiple safety benchmarks and custom mutators to assess performance in areas such as multilingual safety, exaggerated safety, and cultural contexts.

large language modelssafety benchmarksmultilingual safetyexaggerated safetyprompt injectionsLLMjudge benchmarkingcustom mutatorsWalledGuardSGXSTest

Abstract

WalledEval is a comprehensive AI safety testing toolkit designed to evaluate large language models (LLMs). It accommodates a diverse range of models, including both open-weight and API-based ones, and features over 35 safety benchmarks covering areas such as multilingual safety, exaggerated safety, and prompt injections. The framework supports both LLM and judge benchmarking, and incorporates custom mutators to test safety against various text-style mutations such as future tense and paraphrasing. Additionally, WalledEval introduces WalledGuard, a new, small and performant content moderation tool, and SGXSTest, a benchmark for assessing exaggerated safety in cultural contexts. We make WalledEval publicly available at https://github.com/walledai/walledevalA.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号