Lemur: Harmonizing Natural Language and Code for Language Agents

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Yiheng, Su, Hongjin, Xing, Chen, Mi, Boyu, Liu, Qian, Shi, Weijia, Hui, Binyuan, Zhou, Fan, Liu, Yitao, Xie, Tianbao, Cheng, Zhoujun, Zhao, Siheng, Kong, Lingpeng, Wang, Bailin, Xiong, Caiming, Yu, Tao
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916368185556992
author Xu, Yiheng
Su, Hongjin
Xing, Chen
Mi, Boyu
Liu, Qian
Shi, Weijia
Hui, Binyuan
Zhou, Fan
Liu, Yitao
Xie, Tianbao
Cheng, Zhoujun
Zhao, Siheng
Kong, Lingpeng
Wang, Bailin
Xiong, Caiming
Yu, Tao
author_facet Xu, Yiheng
Su, Hongjin
Xing, Chen
Mi, Boyu
Liu, Qian
Shi, Weijia
Hui, Binyuan
Zhou, Fan
Liu, Yitao
Xie, Tianbao
Cheng, Zhoujun
Zhao, Siheng
Kong, Lingpeng
Wang, Bailin
Xiong, Caiming
Yu, Tao
contents We introduce Lemur and Lemur-Chat, openly accessible language models optimized for both natural language and coding capabilities to serve as the backbone of versatile language agents. The evolution from language chat models to functional language agents demands that models not only master human interaction, reasoning, and planning but also ensure grounding in the relevant environments. This calls for a harmonious blend of language and coding capabilities in the models. Lemur and Lemur-Chat are proposed to address this necessity, demonstrating balanced proficiencies in both domains, unlike existing open-source models that tend to specialize in either. Through meticulous pre-training using a code-intensive corpus and instruction fine-tuning on text and code data, our models achieve state-of-the-art averaged performance across diverse text and coding benchmarks among open-source models. Comprehensive experiments demonstrate Lemur's superiority over existing open-source models and its proficiency across various agent tasks involving human communication, tool usage, and interaction under fully- and partially- observable environments. The harmonization between natural and programming languages enables Lemur-Chat to significantly narrow the gap with proprietary models on agent abilities, providing key insights into developing advanced open-source agents adept at reasoning, planning, and operating seamlessly across environments. https://github.com/OpenLemur/Lemur
format Preprint
id arxiv_https___arxiv_org_abs_2310_06830
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Lemur: Harmonizing Natural Language and Code for Language Agents
Xu, Yiheng
Su, Hongjin
Xing, Chen
Mi, Boyu
Liu, Qian
Shi, Weijia
Hui, Binyuan
Zhou, Fan
Liu, Yitao
Xie, Tianbao
Cheng, Zhoujun
Zhao, Siheng
Kong, Lingpeng
Wang, Bailin
Xiong, Caiming
Yu, Tao
Computation and Language
We introduce Lemur and Lemur-Chat, openly accessible language models optimized for both natural language and coding capabilities to serve as the backbone of versatile language agents. The evolution from language chat models to functional language agents demands that models not only master human interaction, reasoning, and planning but also ensure grounding in the relevant environments. This calls for a harmonious blend of language and coding capabilities in the models. Lemur and Lemur-Chat are proposed to address this necessity, demonstrating balanced proficiencies in both domains, unlike existing open-source models that tend to specialize in either. Through meticulous pre-training using a code-intensive corpus and instruction fine-tuning on text and code data, our models achieve state-of-the-art averaged performance across diverse text and coding benchmarks among open-source models. Comprehensive experiments demonstrate Lemur's superiority over existing open-source models and its proficiency across various agent tasks involving human communication, tool usage, and interaction under fully- and partially- observable environments. The harmonization between natural and programming languages enables Lemur-Chat to significantly narrow the gap with proprietary models on agent abilities, providing key insights into developing advanced open-source agents adept at reasoning, planning, and operating seamlessly across environments. https://github.com/OpenLemur/Lemur
title Lemur: Harmonizing Natural Language and Code for Language Agents
topic Computation and Language
url https://arxiv.org/abs/2310.06830