[2023/10/08] 🔥🔥🔥 All ToRA models released at
HuggingFace
!!!
[2023/09/29] ToRA paper, repo, and website released.
💡 Introduction
ToRA is a series of Tool-integrated Reasoning Agents designed to solve challenging mathematical reasoning problems by interacting with tools, e.g., computation libraries and symbolic solvers. ToRA series seamlessly integrate natural language reasoning with the utilization of external tools, thereby amalgamating the analytical prowess of language and the computational efficiency of external tools.
*
ToRA-Code-34B is currently the first and only open-source model to achieve over 50% accuracy (pass@1) on the MATH dataset, which significantly outperforms GPT-4’s CoT result (51.0 vs. 42.5), and is competitive with GPT-4 solving problems with programs. By open-sourcing our codes and models, we hope more breakthroughs will come!
†
10 math tasks include GSM8k, MATH, GSM-Hard, SVAMP, TabMWP, ASDiv, SingleEQ, SingleOP, AddSub, and MultiArith.
⚡️ Training
The models are trained on ToRA-Corpus 16k, which contains tool-integrated reasoning trajectories of MATH and GSM8k from GPT-4.
We use imitation learning (i.e., SFT) to fine-tune the models, and then apply our proposed
output space shaping
to improve tool-integrated reasoning behaviors. Please refer to the
paper
for more details.
🪁 Inference & Evaluation
Please refer to ToRA's
GitHub repo
for inference, evaluation, and training code.
☕️ Citation
If you find this repository helpful, please consider citing our paper:
@misc{gou2023tora,
title={ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving},
author={Zhibin Gou and Zhihong Shao and Yeyun Gong and yelong shen and Yujiu Yang and Minlie Huang and Nan Duan and Weizhu Chen},
year={2023},
eprint={2309.17452},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
Runs of llm-agents tora-code-13b-v1.0 on huggingface.co
197
Total runs
8
24-hour runs
19
3-day runs
54
7-day runs
112
30-day runs
More Information About tora-code-13b-v1.0 huggingface.co Model
tora-code-13b-v1.0 huggingface.co is an AI model on huggingface.co that provides tora-code-13b-v1.0's model effect (), which can be used instantly with this llm-agents tora-code-13b-v1.0 model. huggingface.co supports a free trial of the tora-code-13b-v1.0 model, and also provides paid use of the tora-code-13b-v1.0. Support call tora-code-13b-v1.0 model through api, including Node.js, Python, http.
tora-code-13b-v1.0 huggingface.co is an online trial and call api platform, which integrates tora-code-13b-v1.0's modeling effects, including api services, and provides a free online trial of tora-code-13b-v1.0, you can try tora-code-13b-v1.0 online for free by clicking the link below.
llm-agents tora-code-13b-v1.0 online free url in huggingface.co:
tora-code-13b-v1.0 is an open source model from GitHub that offers a free installation service, and any user can find tora-code-13b-v1.0 on GitHub to install. At the same time, huggingface.co provides the effect of tora-code-13b-v1.0 install, users can directly use tora-code-13b-v1.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.