TensorX
返回文献探索

Paper · arXiv 2411.00918

LIBMoE: A Library for comprehensive benchmarking Mixture of Experts in Large Language Models

Nam V. Nguyen, Thong T. Doan, Luong Tran, Van Nguyen, Quang Pham

12 upvotesNovember 1, 2024arXiv 预印本
AI 摘要

LibMoE provides a modular framework for accessible research, training, and evaluation of Mixture of Experts algorithms in large language models, enabling standardized pipelines and benchmarking across various tasks.

Mixture of Expertslarge language modelsLibMoEmodular designefficient trainingcomprehensive evaluationzero-shot setting

Abstract

Mixture of Experts (MoEs) plays an important role in the development of more efficient and effective large language models (LLMs). Due to the enormous resource requirements, studying large scale MoE algorithms remain in-accessible to many researchers. This work develops LibMoE, a comprehensive and modular framework to streamline the research, training, and evaluation of MoE algorithms. Built upon three core principles: (i) modular design, (ii) efficient training; (iii) comprehensive evaluation, LibMoE brings MoE in LLMs more accessible to a wide range of researchers by standardizing the training and evaluation pipelines. Using LibMoE, we extensively benchmarked five state-of-the-art MoE algorithms over three different LLMs and 11 datasets under the zero-shot setting. The results show that despite the unique characteristics, all MoE algorithms perform roughly similar when averaged across a wide range of tasks. With the modular design and extensive evaluation, we believe LibMoE will be invaluable for researchers to make meaningful progress towards the next generation of MoE and LLMs. Project page: https://fsoft-aic.github.io/fsoft-LibMoE.github.io.

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

京ICP备2026059466号
LIBMoE: A Library for comprehensive benchmarking Mixture of Experts in Large Language Models | TensorX