Transformers
GGUF
llama
TheBloke commited on
Commit
244bc65
1 Parent(s): 312800d

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +366 -0
README.md ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: THUDM/agentlm-70b
3
+ datasets:
4
+ - THUDM/AgentInstruct
5
+ inference: false
6
+ license: llama2
7
+ model_creator: Knowledge Engineering Group (KEG
8
+ model_name: AgentLM 70B
9
+ model_type: llama
10
+ prompt_template: '[INST] <<SYS>>
11
+
12
+ You are a helpful, respectful and honest assistant.
13
+
14
+ <</SYS>>
15
+
16
+ {prompt} [/INST]
17
+
18
+ '
19
+ quantized_by: TheBloke
20
+ ---
21
+
22
+ <!-- header start -->
23
+ <!-- 200823 -->
24
+ <div style="width: auto; margin-left: auto; margin-right: auto">
25
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
26
+ </div>
27
+ <div style="display: flex; justify-content: space-between; width: 100%;">
28
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
29
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
30
+ </div>
31
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
32
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
33
+ </div>
34
+ </div>
35
+ <div style="text-align:center; margin-top: 0em; margin-bottom: 0em"><p style="margin-top: 0.25em; margin-bottom: 0em;">TheBloke's LLM work is generously supported by a grant from <a href="https://a16z.com">andreessen horowitz (a16z)</a></p></div>
36
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
37
+ <!-- header end -->
38
+
39
+ # AgentLM 70B - GGUF
40
+ - Model creator: [Knowledge Engineering Group (KEG](https://huggingface.co/THUDM)
41
+ - Original model: [AgentLM 70B](https://huggingface.co/THUDM/agentlm-70b)
42
+
43
+ <!-- description start -->
44
+ ## Description
45
+
46
+ This repo contains GGUF format model files for [Knowledge Engineering Group (KEG's AgentLM 70B](https://huggingface.co/THUDM/agentlm-70b).
47
+
48
+ <!-- description end -->
49
+ <!-- README_GGUF.md-about-gguf start -->
50
+ ### About GGUF
51
+
52
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp.
53
+
54
+ Here is an incomplate list of clients and libraries that are known to support GGUF:
55
+
56
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
57
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
58
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
59
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
60
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
61
+ * [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
62
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
63
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
64
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
65
+
66
+ <!-- README_GGUF.md-about-gguf end -->
67
+ <!-- repositories-available start -->
68
+ ## Repositories available
69
+
70
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/agentlm-70B-AWQ)
71
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/agentlm-70B-GPTQ)
72
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/agentlm-70B-GGUF)
73
+ * [Knowledge Engineering Group (KEG's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/THUDM/agentlm-70b)
74
+ <!-- repositories-available end -->
75
+
76
+ <!-- prompt-template start -->
77
+ ## Prompt template: THUDM-Llama-2-Chat
78
+
79
+ ```
80
+ [INST] <<SYS>>
81
+ You are a helpful, respectful and honest assistant.
82
+ <</SYS>>
83
+ {prompt} [/INST]
84
+
85
+ ```
86
+
87
+ <!-- prompt-template end -->
88
+
89
+
90
+ <!-- compatibility_gguf start -->
91
+ ## Compatibility
92
+
93
+ These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221)
94
+
95
+ They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
96
+
97
+ ## Explanation of quantisation methods
98
+ <details>
99
+ <summary>Click to see details</summary>
100
+
101
+ The new methods available are:
102
+ * GGML_TYPE_Q2_K - "type-1" 2-bit quantization in super-blocks containing 16 blocks, each block having 16 weight. Block scales and mins are quantized with 4 bits. This ends up effectively using 2.5625 bits per weight (bpw)
103
+ * GGML_TYPE_Q3_K - "type-0" 3-bit quantization in super-blocks containing 16 blocks, each block having 16 weights. Scales are quantized with 6 bits. This end up using 3.4375 bpw.
104
+ * GGML_TYPE_Q4_K - "type-1" 4-bit quantization in super-blocks containing 8 blocks, each block having 32 weights. Scales and mins are quantized with 6 bits. This ends up using 4.5 bpw.
105
+ * GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
106
+ * GGML_TYPE_Q6_K - "type-0" 6-bit quantization. Super-blocks with 16 blocks, each block having 16 weights. Scales are quantized with 8 bits. This ends up using 6.5625 bpw
107
+
108
+ Refer to the Provided Files table below to see what files use which methods, and how.
109
+ </details>
110
+ <!-- compatibility_gguf end -->
111
+
112
+ <!-- README_GGUF.md-provided-files start -->
113
+ ## Provided files
114
+
115
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
116
+ | ---- | ---- | ---- | ---- | ---- | ----- |
117
+ | [agentlm-70b.Q2_K.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q2_K.gguf) | Q2_K | 2 | 29.28 GB| 31.78 GB | smallest, significant quality loss - not recommended for most purposes |
118
+ | [agentlm-70b.Q3_K_S.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q3_K_S.gguf) | Q3_K_S | 3 | 29.92 GB| 32.42 GB | very small, high quality loss |
119
+ | [agentlm-70b.Q3_K_M.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q3_K_M.gguf) | Q3_K_M | 3 | 33.19 GB| 35.69 GB | very small, high quality loss |
120
+ | [agentlm-70b.Q3_K_L.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q3_K_L.gguf) | Q3_K_L | 3 | 36.15 GB| 38.65 GB | small, substantial quality loss |
121
+ | [agentlm-70b.Q4_0.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q4_0.gguf) | Q4_0 | 4 | 38.88 GB| 41.38 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
122
+ | [agentlm-70b.Q4_K_S.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q4_K_S.gguf) | Q4_K_S | 4 | 39.08 GB| 41.58 GB | small, greater quality loss |
123
+ | [agentlm-70b.Q4_K_M.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q4_K_M.gguf) | Q4_K_M | 4 | 41.43 GB| 43.93 GB | medium, balanced quality - recommended |
124
+ | [agentlm-70b.Q5_0.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q5_0.gguf) | Q5_0 | 5 | 47.46 GB| 49.96 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
125
+ | [agentlm-70b.Q5_K_S.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q5_K_S.gguf) | Q5_K_S | 5 | 47.46 GB| 49.96 GB | large, low quality loss - recommended |
126
+ | [agentlm-70b.Q5_K_M.gguf](https://huggingface.co/TheBloke/agentlm-70B-GGUF/blob/main/agentlm-70b.Q5_K_M.gguf) | Q5_K_M | 5 | 48.76 GB| 51.26 GB | large, very low quality loss - recommended |
127
+ | agentlm-70b.Q6_K.gguf | Q6_K | 6 | 56.59 GB| 59.09 GB | very large, extremely low quality loss |
128
+ | agentlm-70b.Q8_0.gguf | Q8_0 | 8 | 73.30 GB| 75.80 GB | very large, extremely low quality loss - not recommended |
129
+
130
+ **Note**: the above RAM figures assume no GPU offloading. If layers are offloaded to the GPU, this will reduce RAM usage and use VRAM instead.
131
+
132
+ ### Q6_K and Q8_0 files are split and require joining
133
+
134
+ **Note:** HF does not support uploading files larger than 50GB. Therefore I have uploaded the Q6_K and Q8_0 files as split files.
135
+
136
+ <details>
137
+ <summary>Click for instructions regarding Q6_K and Q8_0 files</summary>
138
+
139
+ ### q6_K
140
+ Please download:
141
+ * `agentlm-70b.Q6_K.gguf-split-a`
142
+ * `agentlm-70b.Q6_K.gguf-split-b`
143
+
144
+ ### q8_0
145
+ Please download:
146
+ * `agentlm-70b.Q8_0.gguf-split-a`
147
+ * `agentlm-70b.Q8_0.gguf-split-b`
148
+
149
+ To join the files, do the following:
150
+
151
+ Linux and macOS:
152
+ ```
153
+ cat agentlm-70b.Q6_K.gguf-split-* > agentlm-70b.Q6_K.gguf && rm agentlm-70b.Q6_K.gguf-split-*
154
+ cat agentlm-70b.Q8_0.gguf-split-* > agentlm-70b.Q8_0.gguf && rm agentlm-70b.Q8_0.gguf-split-*
155
+ ```
156
+ Windows command line:
157
+ ```
158
+ COPY /B agentlm-70b.Q6_K.gguf-split-a + agentlm-70b.Q6_K.gguf-split-b agentlm-70b.Q6_K.gguf
159
+ del agentlm-70b.Q6_K.gguf-split-a agentlm-70b.Q6_K.gguf-split-b
160
+
161
+ COPY /B agentlm-70b.Q8_0.gguf-split-a + agentlm-70b.Q8_0.gguf-split-b agentlm-70b.Q8_0.gguf
162
+ del agentlm-70b.Q8_0.gguf-split-a agentlm-70b.Q8_0.gguf-split-b
163
+ ```
164
+
165
+ </details>
166
+ <!-- README_GGUF.md-provided-files end -->
167
+
168
+ <!-- README_GGUF.md-how-to-download start -->
169
+ ## How to download GGUF files
170
+
171
+ **Note for manual downloaders:** You almost never want to clone the entire repo! Multiple different quantisation formats are provided, and most users only want to pick and download a single file.
172
+
173
+ The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
174
+ - LM Studio
175
+ - LoLLMS Web UI
176
+ - Faraday.dev
177
+
178
+ ### In `text-generation-webui`
179
+
180
+ Under Download Model, you can enter the model repo: TheBloke/agentlm-70B-GGUF and below it, a specific filename to download, such as: agentlm-70b.Q4_K_M.gguf.
181
+
182
+ Then click Download.
183
+
184
+ ### On the command line, including multiple files at once
185
+
186
+ I recommend using the `huggingface-hub` Python library:
187
+
188
+ ```shell
189
+ pip3 install huggingface-hub
190
+ ```
191
+
192
+ Then you can download any individual model file to the current directory, at high speed, with a command like this:
193
+
194
+ ```shell
195
+ huggingface-cli download TheBloke/agentlm-70B-GGUF agentlm-70b.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
196
+ ```
197
+
198
+ <details>
199
+ <summary>More advanced huggingface-cli download usage</summary>
200
+
201
+ You can also download multiple files at once with a pattern:
202
+
203
+ ```shell
204
+ huggingface-cli download TheBloke/agentlm-70B-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
205
+ ```
206
+
207
+ For more documentation on downloading with `huggingface-cli`, please see: [HF -> Hub Python Library -> Download files -> Download from the CLI](https://huggingface.co/docs/huggingface_hub/guides/download#download-from-the-cli).
208
+
209
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
210
+
211
+ ```shell
212
+ pip3 install hf_transfer
213
+ ```
214
+
215
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
216
+
217
+ ```shell
218
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/agentlm-70B-GGUF agentlm-70b.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
219
+ ```
220
+
221
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
222
+ </details>
223
+ <!-- README_GGUF.md-how-to-download end -->
224
+
225
+ <!-- README_GGUF.md-how-to-run start -->
226
+ ## Example `llama.cpp` command
227
+
228
+ Make sure you are using `llama.cpp` from commit [d0cee0d](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
229
+
230
+ ```shell
231
+ ./main -ngl 32 -m agentlm-70b.Q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "[INST] <<SYS>>\nYou are a helpful, respectful and honest assistant.\n<</SYS>>\n{prompt} [/INST]"
232
+ ```
233
+
234
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
235
+
236
+ Change `-c 4096` to the desired sequence length. For extended sequence models - eg 8K, 16K, 32K - the necessary RoPE scaling parameters are read from the GGUF file and set by llama.cpp automatically.
237
+
238
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
239
+
240
+ For other parameters and how to use them, please refer to [the llama.cpp documentation](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md)
241
+
242
+ ## How to run in `text-generation-webui`
243
+
244
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
245
+
246
+ ## How to run from Python code
247
+
248
+ You can use GGUF models from Python using the [llama-cpp-python](https://github.com/abetlen/llama-cpp-python) or [ctransformers](https://github.com/marella/ctransformers) libraries.
249
+
250
+ ### How to load this model in Python code, using ctransformers
251
+
252
+ #### First install the package
253
+
254
+ Run one of the following commands, according to your system:
255
+
256
+ ```shell
257
+ # Base ctransformers with no GPU acceleration
258
+ pip install ctransformers
259
+ # Or with CUDA GPU acceleration
260
+ pip install ctransformers[cuda]
261
+ # Or with AMD ROCm GPU acceleration (Linux only)
262
+ CT_HIPBLAS=1 pip install ctransformers --no-binary ctransformers
263
+ # Or with Metal GPU acceleration for macOS systems only
264
+ CT_METAL=1 pip install ctransformers --no-binary ctransformers
265
+ ```
266
+
267
+ #### Simple ctransformers example code
268
+
269
+ ```python
270
+ from ctransformers import AutoModelForCausalLM
271
+
272
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
273
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/agentlm-70B-GGUF", model_file="agentlm-70b.Q4_K_M.gguf", model_type="llama", gpu_layers=50)
274
+
275
+ print(llm("AI is going to"))
276
+ ```
277
+
278
+ ## How to use with LangChain
279
+
280
+ Here are guides on using llama-cpp-python and ctransformers with LangChain:
281
+
282
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
283
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
284
+
285
+ <!-- README_GGUF.md-how-to-run end -->
286
+
287
+ <!-- footer start -->
288
+ <!-- 200823 -->
289
+ ## Discord
290
+
291
+ For further support, and discussions on these models and AI in general, join us at:
292
+
293
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
294
+
295
+ ## Thanks, and how to contribute
296
+
297
+ Thanks to the [chirper.ai](https://chirper.ai) team!
298
+
299
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
300
+
301
+ I've had a lot of people ask if they can contribute. I enjoy providing models and helping people, and would love to be able to spend even more time doing it, as well as expanding into new projects like fine tuning/training.
302
+
303
+ If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
304
+
305
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
306
+
307
+ * Patreon: https://patreon.com/TheBlokeAI
308
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
309
+
310
+ **Special thanks to**: Aemon Algiz.
311
+
312
+ **Patreon special mentions**: Pierre Kircher, Stanislav Ovsiannikov, Michael Levine, Eugene Pentland, Andrey, 준교 김, Randy H, Fred von Graf, Artur Olbinski, Caitlyn Gatomon, terasurfer, Jeff Scroggin, James Bentley, Vadim, Gabriel Puliatti, Harry Royden McLaughlin, Sean Connelly, Dan Guido, Edmond Seymore, Alicia Loh, subjectnull, AzureBlack, Manuel Alberto Morcote, Thomas Belote, Lone Striker, Chris Smitley, Vitor Caleffi, Johann-Peter Hartmann, Clay Pascal, biorpg, Brandon Frisco, sidney chen, transmissions 11, Pedro Madruga, jinyuan sun, Ajan Kanaga, Emad Mostaque, Trenton Dambrowitz, Jonathan Leane, Iucharbius, usrbinkat, vamX, George Stoitzev, Luke Pendergrass, theTransient, Olakabola, Swaroop Kallakuri, Cap'n Zoog, Brandon Phillips, Michael Dempsey, Nikolai Manek, danny, Matthew Berman, Gabriel Tamborski, alfie_i, Raymond Fosdick, Tom X Nguyen, Raven Klaugh, LangChain4j, Magnesian, Illia Dulskyi, David Ziegler, Mano Prime, Luis Javier Navarrete Lozano, Erik Bjäreholt, 阿明, Nathan Dryer, Alex, Rainer Wilmers, zynix, TL, Joseph William Delisle, John Villwock, Nathan LeClaire, Willem Michiel, Joguhyik, GodLy, OG, Alps Aficionado, Jeffrey Morgan, ReadyPlayerEmma, Tiffany J. Kim, Sebastain Graf, Spencer Kim, Michael Davis, webtim, Talal Aujan, knownsqashed, John Detwiler, Imad Khwaja, Deo Leter, Jerry Meng, Elijah Stavena, Rooh Singh, Pieter, SuperWojo, Alexandros Triantafyllidis, Stephen Murray, Ai Maven, ya boyyy, Enrico Ros, Ken Nordquist, Deep Realms, Nicholas, Spiking Neurons AB, Elle, Will Dee, Jack West, RoA, Luke @flexchar, Viktor Bowallius, Derek Yates, Subspace Studios, jjj, Toran Billups, Asp the Wyvern, Fen Risland, Ilya, NimbleBox.ai, Chadd, Nitin Borwankar, Emre, Mandus, Leonard Tan, Kalila, K, Trailburnt, S_X, Cory Kujawski
313
+
314
+
315
+ Thank you to all my generous patrons and donaters!
316
+
317
+ And thank you again to a16z for their generous grant.
318
+
319
+ <!-- footer end -->
320
+
321
+ <!-- original-model-card start -->
322
+ # Original model card: Knowledge Engineering Group (KEG's AgentLM 70B
323
+
324
+
325
+ ## AgentLM-70B
326
+
327
+ <p align="center">
328
+ 🤗 <a href="https://huggingface.co/datasets/THUDM/AgentInstruct" target="_blank">[Dataset] </a> • 💻 <a href="https://github.com/THUDM/AgentTuning" target="_blank">[Github Repo]</a> • 📌 <a href="https://THUDM.github.io/AgentTuning/" target="_blank">[Project Page]</a> • 📃 <a href="https://arxiv.org/abs/2310.12823" target="_blank">[Paper]</a>
329
+ </p>
330
+
331
+ **AgentTuning** represents the very first attempt to instruction-tune LLMs using interaction trajectories across multiple agent tasks. Evaluation results indicate that AgentTuning enables the agent capabilities of LLMs with robust generalization on unseen agent tasks while remaining good on general language abilities. We have open-sourced the AgentInstruct dataset and AgentLM.
332
+
333
+ ## Models
334
+
335
+ **AgentLM** models are produced by mixed training on AgentInstruct dataset and ShareGPT dataset from Llama-2-chat models.
336
+
337
+ The models follow the conversation format of [Llama-2-chat](https://huggingface.co/blog/llama2#how-to-prompt-llama-2), with system prompt fixed as
338
+
339
+ ```
340
+ You are a helpful, respectful and honest assistant.
341
+ ```
342
+
343
+ 7B, 13B, and 70B models are available on Huggingface model hub.
344
+
345
+ |Model|Huggingface Repo|
346
+ |---|---|
347
+ |AgentLM-7B| [🤗Huggingface Repo](https://huggingface.co/THUDM/agentlm-7b) |
348
+ |AgentLM-13B| [🤗Huggingface Repo](https://huggingface.co/THUDM/agentlm-13b) |
349
+ |AgentLM-70B| [🤗Huggingface Repo](https://huggingface.co/THUDM/agentlm-70b) |
350
+
351
+ ## Citation
352
+
353
+ If you find our work useful, please consider citing AgentTuning:
354
+
355
+ ```
356
+ @misc{zeng2023agenttuning,
357
+ title={AgentTuning: Enabling Generalized Agent Abilities for LLMs},
358
+ author={Aohan Zeng and Mingdao Liu and Rui Lu and Bowen Wang and Xiao Liu and Yuxiao Dong and Jie Tang},
359
+ year={2023},
360
+ eprint={2310.12823},
361
+ archivePrefix={arXiv},
362
+ primaryClass={cs.CL}
363
+ }
364
+ ```
365
+
366
+ <!-- original-model-card end -->