Papers › LLMBox: A Comprehensive Library for Large Language Models

LLMBox: A Comprehensive Library for Large Language Models

8 Jul 2024arXiv:2407.05563archive 2025-07-28

Tianyi Tang, Yiwen Hu, Bingqian Li, Wenyang Luo, Zijing Qin, Haoxiang Sun, Jiapeng Wang, Shiyi Xu, Xiaoxue Cheng, Geyang Guo, Han Peng, Bowen Zheng, Yiru Tang, Yingqian Min, Yushuo Chen, Jie Chen, Yuanqian Zhao, Luran Ding, Yuhao Wang, Zican Dong, Chunxuan Xia, Junyi Li, Kun Zhou, Wayne Xin Zhao, Ji-Rong Wen

To facilitate the research on large language models (LLMs), this paper presents a comprehensive and unified library, LLMBox, to ease the development, use, and evaluation of LLMs. This library is featured with three main merits: (1) a unified data interface that supports the flexible implementation of various training strategies, (2) a comprehensive evaluation that covers extensive tasks, datasets, and models, and (3) more practical consideration, especially on user-friendliness and efficiency. With our library, users can easily reproduce existing methods, train new models, and conduct comprehensive performance comparisons. To rigorously test LLMBox, we conduct extensive experiments in a diverse coverage of evaluation settings, and experimental results demonstrate the effectiveness and efficiency of our library in supporting various implementations related to LLMs. The detailed introduction and usage guidance can be found at https://github.com/RUCAIBox/LLMBox.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.05563")

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 10 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

RUCAIBox/LLMBox officialmentioned in paperMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 11 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
10ran
5unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from RUCAIBox/LLMBox. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_space RUCAIBox/LLMBox/utilization/chat_templates.py official repository ran MIT (permissive) · bf88ec5fec6d05ae · report
calc_memory_usage RUCAIBox/LLMBox/training/gpu_calculator.py official repository ran MIT (permissive) · 2f328cd8f4cae4d7 · report
collator RUCAIBox/LLMBox/training/ppo.py official repository ran · our draft was wrong MIT (permissive) · bda36ad0c44dbd74 · report
createConcretizingPrompt RUCAIBox/LLMBox/training/evol_instruct.py official repository ran fingerprinted MIT (permissive) · 32761717f4267410 · report
createConstraintsPrompt RUCAIBox/LLMBox/training/evol_instruct.py official repository ran fingerprinted MIT (permissive) · a0db2434164b1d6f · report
createDeepenPrompt RUCAIBox/LLMBox/training/evol_instruct.py official repository ran fingerprinted MIT (permissive) · 5fe7e49d31fcd44c · report
get_bytes_per_parameter RUCAIBox/LLMBox/training/gpu_calculator.py official repository ran fingerprinted MIT (permissive) · 75719be4140d6dc0 · report
get_gpu_memory_size RUCAIBox/LLMBox/training/gpu_calculator.py official repository ran MIT (permissive) · d427424187e39701 · report
logit_bias_to_logits_processors RUCAIBox/LLMBox/utilization/model_enum.py official repository ran MIT (permissive) · 200d3fa78c34d9cc · report
register_model RUCAIBox/LLMBox/utilization/load_model.py official repository ran MIT (permissive) · 60dbaac6aae8f7ed · report
smart_space RUCAIBox/LLMBox/utilization/chat_templates.py official repository ran MIT (permissive) · c54aba1d5bde8bc7 · report
build_dataset RUCAIBox/LLMBox/training/ppo.py official repository unverified MIT (permissive) · c53aa72d3d68339b · report
get_c4 RUCAIBox/LLMBox/training/gptq.py official repository unverified MIT (permissive) · 3a8ad8ccd4b56839 · report
get_data RUCAIBox/LLMBox/training/dpo.py official repository unverified MIT (permissive) · d3cfff3ea527f4a2 · report
load_anthropic RUCAIBox/LLMBox/utilization/load_model.py official repository unverified MIT (permissive) · 0153072d00d03602 · report
load_openai RUCAIBox/LLMBox/utilization/load_model.py official repository unverified MIT (permissive) · 76c36d01434e80a7 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections