svjack / CodeActAgent-Mistral-7b-v0.1

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: May 05 2024
text-generation

Introduction of CodeActAgent-Mistral-7b-v0.1

Model Details of CodeActAgent-Mistral-7b-v0.1

🤖 This is a repo copy from https://huggingface.co/xingyaoww/CodeActAgent-Mistral-7b-v0.1

Below is the Github repo made by me to use the model in simple way in Gradio 😊

😊 Github Repo: https://github.com/svjack/CodeActAgent-Gradio



Executable Code Actions Elicit Better LLM Agents

💻 Code • 📃 Paper • 🤗 Data (CodeActInstruct) • 🤗 Model (CodeActAgent-Mistral-7b-v0.1) • 🤖 Chat with CodeActAgent!

We propose to use executable Python code to consolidate LLM agents’ act ions into a unified action space ( CodeAct ). Integrated with a Python interpreter, CodeAct can execute code actions and dynamically revise prior actions or emit new actions upon new observations (e.g., code execution results) through multi-turn interactions.

Overview

Why CodeAct?

Our extensive analysis of 17 LLMs on API-Bank and a newly curated benchmark M 3 ToolEval shows that CodeAct outperforms widely used alternatives like Text and JSON (up to 20% higher success rate). Please check our paper for more detailed analysis!

Comparison between CodeAct and Text/JSON Comparison between CodeAct and Text / JSON as action.

Comparison between CodeAct and Text/JSON Quantitative results comparing CodeAct and {Text, JSON} on M 3 ToolEval.

📁 CodeActInstruct

We collect an instruction-tuning dataset CodeActInstruct that consists of 7k multi-turn interactions using CodeAct. Dataset is release at huggingface dataset 🤗 . Please refer to the paper and this section for details of data collection.

Data Statistics Dataset Statistics. Token statistics are computed using Llama-2 tokenizer.

🪄 CodeActAgent

Trained on CodeActInstruct and general conversaions, CodeActAgent excels at out-of-domain agent tasks compared to open-source models of the same size, while not sacrificing generic performance (e.g., knowledge, dialog). We release two variants of CodeActAgent:

  • CodeActAgent-Mistral-7b-v0.1 (recommended, model link ): using Mistral-7b-v0.1 as the base model with 32k context window.
  • CodeActAgent-Llama-7b ( model link ): using Llama-2-7b as the base model with 4k context window.

Model Performance Evaluation results for CodeActAgent. ID and OD stand for in-domain and out-of-domain evaluation correspondingly. Overall averaged performance normalizes the MT-Bench score to be consistent with other tasks and excludes in-domain tasks for fair comparison.

Please check out our paper and code for more details about data collection, model training, and evaluation.

📚 Citation
@misc{wang2024executable,
      title={Executable Code Actions Elicit Better LLM Agents}, 
      author={Xingyao Wang and Yangyi Chen and Lifan Yuan and Yizhe Zhang and Yunzhu Li and Hao Peng and Heng Ji},
      year={2024},
      eprint={2402.01030},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Runs of svjack CodeActAgent-Mistral-7b-v0.1 on huggingface.co

3
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About CodeActAgent-Mistral-7b-v0.1 huggingface.co Model

More CodeActAgent-Mistral-7b-v0.1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

CodeActAgent-Mistral-7b-v0.1 huggingface.co

CodeActAgent-Mistral-7b-v0.1 huggingface.co is an AI model on huggingface.co that provides CodeActAgent-Mistral-7b-v0.1's model effect (), which can be used instantly with this svjack CodeActAgent-Mistral-7b-v0.1 model. huggingface.co supports a free trial of the CodeActAgent-Mistral-7b-v0.1 model, and also provides paid use of the CodeActAgent-Mistral-7b-v0.1. Support call CodeActAgent-Mistral-7b-v0.1 model through api, including Node.js, Python, http.

CodeActAgent-Mistral-7b-v0.1 huggingface.co Url

https://huggingface.co/svjack/CodeActAgent-Mistral-7b-v0.1

svjack CodeActAgent-Mistral-7b-v0.1 online free

CodeActAgent-Mistral-7b-v0.1 huggingface.co is an online trial and call api platform, which integrates CodeActAgent-Mistral-7b-v0.1's modeling effects, including api services, and provides a free online trial of CodeActAgent-Mistral-7b-v0.1, you can try CodeActAgent-Mistral-7b-v0.1 online for free by clicking the link below.

svjack CodeActAgent-Mistral-7b-v0.1 online free url in huggingface.co:

https://huggingface.co/svjack/CodeActAgent-Mistral-7b-v0.1

CodeActAgent-Mistral-7b-v0.1 install

CodeActAgent-Mistral-7b-v0.1 is an open source model from GitHub that offers a free installation service, and any user can find CodeActAgent-Mistral-7b-v0.1 on GitHub to install. At the same time, huggingface.co provides the effect of CodeActAgent-Mistral-7b-v0.1 install, users can directly use CodeActAgent-Mistral-7b-v0.1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

CodeActAgent-Mistral-7b-v0.1 install url in huggingface.co:

https://huggingface.co/svjack/CodeActAgent-Mistral-7b-v0.1

Url of CodeActAgent-Mistral-7b-v0.1

CodeActAgent-Mistral-7b-v0.1 huggingface.co Url

Provider of CodeActAgent-Mistral-7b-v0.1 huggingface.co

svjack
ORGANIZATIONS

Other API from svjack

huggingface.co

Total runs: 19
Run Growth: 7
Growth Rate: 36.84%
Updated:February 20 2023
huggingface.co

Total runs: 13
Run Growth: -8
Growth Rate: -61.54%
Updated:February 23 2024
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:March 05 2024