squeeze-ai-lab
commited on
Commit
•
5816d0b
1
Parent(s):
734fc8a
Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,7 @@ Please see our [Github](https://github.com/SqueezeAILab/TinyAgent) for details o
|
|
44 |
## Training Details
|
45 |
|
46 |
**Dataset:**
|
47 |
-
We curated a [dataset](https://huggingface.co/datasets/squeeze-ai-lab/TinyAgent-dataset) of **40,000** real-life use cases. We use GPT-3.5-Turbo to generate real-world instructions. These are then used to obtain synthetic execution plans using GPT-4-Turbo. Please check out our blog post for more details on our dataset.
|
48 |
|
49 |
**Fine-tuning Procedure:**
|
50 |
TinyAgent models are fine-tuned from base models. Below is a table of each TinyAgent model with its base counterpart
|
@@ -57,14 +57,14 @@ TinyAgent models are fine-tuned from base models. Below is a table of each TinyA
|
|
57 |
| TinyAgent-1.1B + ToolRAG / [[hf](https://huggingface.co/squeeze-ai-lab/TinyAgent-1.1B)] [[gguf](https://huggingface.co/squeeze-ai-lab/TinyAgent-1.1B-GGUF)] | **80.06%** |
|
58 |
| TinyAgent-7B + ToolRAG / [[hf](https://huggingface.co/squeeze-ai-lab/TinyAgent-7B)] [[gguf](https://huggingface.co/squeeze-ai-lab/TinyAgent-7B-GGUF)] | **84.95%** |
|
59 |
|
60 |
-
Using the synthetic data generation process described above, we use parameter-efficient fine-tuning with LoRA to fine-tune the base models for 3 epochs. Please check out our blog post for more details on our fine-tuning procedure.
|
61 |
|
62 |
### 🛠️ ToolRAG
|
63 |
|
64 |
-
When faced with challenging tasks, SLM agents require appropriate tools and in-context examples to guide them. If the model sees irrelevant examples, it can hallucinate. Likewise, if the model sees the descriptions of the tools that it doesn’t need, it usually gets confused, and these tools take up unnecessary prompt space. To tackle this, TinyAgent uses ToolRAG to retrieve the best tools and examples suited for a given query. This process has minimal latency and increases the accuracy of TinyAgent substantially. Please take a look at our blog post and our [ToolRAG model](https://huggingface.co/squeeze-ai-lab/TinyAgent-ToolRAG) for more details.
|
65 |
|
66 |
|
67 |
## Links
|
68 |
-
**Blog Post**:
|
69 |
|
70 |
**Github:** https://github.com/SqueezeAILab/TinyAgent
|
|
|
44 |
## Training Details
|
45 |
|
46 |
**Dataset:**
|
47 |
+
We curated a [dataset](https://huggingface.co/datasets/squeeze-ai-lab/TinyAgent-dataset) of **40,000** real-life use cases. We use GPT-3.5-Turbo to generate real-world instructions. These are then used to obtain synthetic execution plans using GPT-4-Turbo. Please check out our [blog post](https://bair.berkeley.edu/blog/2024/05/29/tiny-agent/) for more details on our dataset.
|
48 |
|
49 |
**Fine-tuning Procedure:**
|
50 |
TinyAgent models are fine-tuned from base models. Below is a table of each TinyAgent model with its base counterpart
|
|
|
57 |
| TinyAgent-1.1B + ToolRAG / [[hf](https://huggingface.co/squeeze-ai-lab/TinyAgent-1.1B)] [[gguf](https://huggingface.co/squeeze-ai-lab/TinyAgent-1.1B-GGUF)] | **80.06%** |
|
58 |
| TinyAgent-7B + ToolRAG / [[hf](https://huggingface.co/squeeze-ai-lab/TinyAgent-7B)] [[gguf](https://huggingface.co/squeeze-ai-lab/TinyAgent-7B-GGUF)] | **84.95%** |
|
59 |
|
60 |
+
Using the synthetic data generation process described above, we use parameter-efficient fine-tuning with LoRA to fine-tune the base models for 3 epochs. Please check out our [blog post](https://bair.berkeley.edu/blog/2024/05/29/tiny-agent/) for more details on our fine-tuning procedure.
|
61 |
|
62 |
### 🛠️ ToolRAG
|
63 |
|
64 |
+
When faced with challenging tasks, SLM agents require appropriate tools and in-context examples to guide them. If the model sees irrelevant examples, it can hallucinate. Likewise, if the model sees the descriptions of the tools that it doesn’t need, it usually gets confused, and these tools take up unnecessary prompt space. To tackle this, TinyAgent uses ToolRAG to retrieve the best tools and examples suited for a given query. This process has minimal latency and increases the accuracy of TinyAgent substantially. Please take a look at our [blog post](https://bair.berkeley.edu/blog/2024/05/29/tiny-agent/) and our [ToolRAG model](https://huggingface.co/squeeze-ai-lab/TinyAgent-ToolRAG) for more details.
|
65 |
|
66 |
|
67 |
## Links
|
68 |
+
**Blog Post**: https://bair.berkeley.edu/blog/2024/05/29/tiny-agent/
|
69 |
|
70 |
**Github:** https://github.com/SqueezeAILab/TinyAgent
|