


messages with optional function/tool callszai-org/GLM-4.5
| Model | FTFC (↑) | RC@3 (↑) | SR@3 (↑) | Avg. |
|---|---|---|---|---|
| GLM-4.5-Air | 15.0 | 16.1 | 20.0 | 17.0 |
| GLM-4.5 | 37.8 | 50.0 | 47.4 | 45.1 |
| GLM-4.5-Code | 48.0 | 48.0 | 47.5 | 47.8 |
| LIMI-Air | 35.4 | 34.3 | 33.1 | 34.3 |
| LIMI | 71.7 | 74.2 | 74.6 | 73.5 |
| Model | Backbone | Size | Link |
|---|---|---|---|
| LIMI | GLM‑4.5 | 353B | https://huggingface.co/GAIR/LIMI |
| LIMI‑Air | GLM‑4.5‑Air | 107B | https://huggingface.co/GAIR/LIMI-Air |
GAIR/LIMImessages, optional tools, normalized tool‑call arguments); current release contains ~78 high‑quality samples.1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "GAIR/LIMI", torch_dtype="auto", device_map="auto", trust_remote_code=True
6)
7tok = AutoTokenizer.from_pretrained("GAIR/LIMI", trust_remote_code=True)
8
9messages = [
10 {"role": "system", "content": "You are a helpful assistant tasked with discovering mathematical function structures for scientific systems."},
11 {"role": "user", "content": "Modify the equation.py function, considering the physical meaning and relationships of the inputs."}
12]
13
14text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
15inputs = tok(text, return_tensors="pt").to(model.device)
16out = model.generate(
17 **inputs,
18 max_new_tokens=4096,
19 temperature=0.6,
20 top_p=0.95,
21 do_sample=True,
22)
23print(tok.decode(out[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True))1from vllm import LLM, SamplingParams
2from transformers import AutoTokenizer
3
4llm = LLM(model="GAIR/LIMI", trust_remote_code=True)
5tok = AutoTokenizer.from_pretrained("GAIR/LIMI", trust_remote_code=True)
6text = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
7out = llm.generate(text, SamplingParams(temperature=0.6, max_tokens=4096, top_p=0.95))
8print(out[0].outputs[0].text)1[
2 {"role": "system", "content": "You are a helpful assistant tasked with discovering mathematical function structures for scientific systems."},
3 {"role": "user", "content": "Modify the equation.py function, considering the physical meaning and relationships of the inputs."}
4]1@misc{xiao2025limiagency,
2 title={LIMI: Less is More for Agency},
3 author={Yang Xiao and Mohan Jiang and Jie Sun and Keyu Li and Jifan Lin and Yumin Zhuang and Ji Zeng and Shijie Xia and Qishuo Hua and Xuefeng Li and Xiaojie Cai and Tongyu Wang and Yue Zhang and Liming Liu and Xia Wu and Jinlong Hou and Yuan Cheng and Wenjie Li and Xiang Wang and Dequan Wang and Pengfei Liu},
4 year={2025},
5 eprint={2509.17567},
6 archivePrefix={arXiv},
7 primaryClass={cs.AI},
8 url={https://arxiv.org/abs/2509.17567},
9}