File size: 2,370 Bytes
0330bd3
 
8adc9ac
 
 
 
 
 
 
 
 
 
 
0330bd3
8adc9ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
license: apache-2.0
datasets:
- ai2lumos/lumos_unified_ground_iterative
language:
- en
tags:
- language-agent
- web-agent
- question-answering
- maths
- reasoning
- grounding
---

# 馃獎 Lumos: Language Agents with Unified Formats, Modular Design, and Open-Source LLMs
<p align="center">
  馃寪<a href="https://allenai.github.io/lumos">[Website]</a> &nbsp;
  馃摑<a href="">[Paper]</a> &nbsp;
  馃<a href="https://huggingface.co/datasets?sort=trending&search=ai2lumos">[Data]</a> &nbsp;
  馃<a href="https://huggingface.co/models?sort=trending&search=ai2lumos">[Model]</a> &nbsp;
</p>

We introduce 馃獎**Lumos**, Language Agents with **Unified** Formats, **Modular** Design, and **Open-Source** LLMs. **Lumos** unifies a suite of complex interactive tasks and achieves competitive performance with GPT-4/3.5-based and larger open-source agents. 

**Lumos** has following features:
* 馃З **Modular Architecture**:
  - **Lumos** consists of planning, grounding, and execution modules built based on LLAMA-2-7B.
* 馃實 **Diverse Training Data**:
  - **Lumos** is trained with ~40K high-quality annotations from ground-truth reasoning steps in existing benchmarks with GPT-4. 
* 馃殌 **Competitive Performance**:
  - 馃殌 **Lumos** outperforms **GPT-4/3.5-based** agents on complex QA and web agent tasks, and **larger open agents** on maths tasks.
  - 馃殌 **Lumos** performs better than open agent baseline formulations including **chain-of-thoughts** and **unmodularized** training.
  - 馃殌 **Lumos** surpasses larger open LLM agents and domain-specific agents on an unseen task, WebShop.

## Model Overview
`lumos_unified_ground_iterative` is a **grounding** module checkpoint finetuned on **complex QA**, **web agent** and **maths** tasks in **Lumos-Iterative (Lumos-I)** formulation. 

The training annotation is shown below:

| Training Data | Number |
|---|---|
|[`lumos_unified_ground_iterative`](https://huggingface.co/datasets/ai2lumos/lumos_unified_ground_iterative)|39827|


## Citation

If you find this work is relevant with your research, please feel free to cite our work!
```
@article{yin2023lumos,
  title={Lumos: Towards Language Agents that are Unified, Modular, and Open Source},
  author={Yin, Da and Brahman, Faeze and Ravichander, Abhilasha and Chandu, Khyathi and Chang, Kai-Wei and Choi, Yejin and Lin, Bill Yuchen},
  year={2023}
}
```