RaLLe: A Framework for Developing and Evaluating Retrieval-Augmented Large Language Models
Hoshi, Yasuto, Miyashita, Daisuke, Ng, Youyang, Tatsuno, Kento, Morioka, Yasuhiro, Torii, Osamu, Deguchi, Jun
–arXiv.org Artificial Intelligence
Retrieval-augmented large language models (R-LLMs) combine pre-trained large language models (LLMs) with information retrieval systems to improve the accuracy of factual question-answering. However, current libraries for building R-LLMs provide high-level abstractions without sufficient transparency for evaluating and optimizing prompts within specific inference processes such as retrieval and generation. To address this gap, we present RaLLe, an open-source framework designed to facilitate the development, evaluation, and optimization of R-LLMs for knowledge-intensive tasks. With RaLLe, developers can easily develop and evaluate R-LLMs, improving hand-crafted prompts, assessing individual inference processes, and objectively measuring overall system performance quantitatively. By leveraging these features, developers can enhance the performance and accuracy of their R-LLMs in knowledge-intensive generation tasks. We open-source our code at https://github.com/yhoshi3/RaLLe.
arXiv.org Artificial Intelligence
Oct-16-2023
- Country:
- Europe > Croatia (0.04)
- North America
- United States
- Maine (0.04)
- New York > New York County
- New York City (0.14)
- Florida > Monroe County
- Key West (0.04)
- Canada > British Columbia
- United States
- Asia > Japan
- Honshū > Tōhoku > Iwate Prefecture > Morioka (0.04)
- Genre:
- Research Report > New Finding (0.46)
- Technology: