TheBloke commited on
Commit
13432c2
1 Parent(s): f3e8b6a

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: pipizhao/Pandalyst-7B-V1.1
3
+ inference: false
4
+ language:
5
+ - en
6
+ library_name: transformers
7
+ license: llama2
8
+ model-index:
9
+ - name: Pandalyst_7B_v1.1
10
+ results:
11
+ - metrics:
12
+ - name: exec@1
13
+ type: exec@1
14
+ value: 0.76
15
+ verified: false
16
+ task:
17
+ type: text-generation
18
+ model_creator: Yanzhao Zheng
19
+ model_name: Pandalyst 7B V1.1
20
+ model_type: llama
21
+ prompt_template: 'Below is an instruction that describes a task. Write a response
22
+ that appropriately completes the request.
23
+
24
+
25
+ ### Instruction:
26
+
27
+ {prompt}
28
+
29
+
30
+ ### Response:
31
+
32
+ '
33
+ quantized_by: TheBloke
34
+ tags:
35
+ - code
36
+ ---
37
+
38
+ <!-- header start -->
39
+ <!-- 200823 -->
40
+ <div style="width: auto; margin-left: auto; margin-right: auto">
41
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
42
+ </div>
43
+ <div style="display: flex; justify-content: space-between; width: 100%;">
44
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
45
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
46
+ </div>
47
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
48
+ <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>
49
+ </div>
50
+ </div>
51
+ <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>
52
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
53
+ <!-- header end -->
54
+
55
+ # Pandalyst 7B V1.1 - GPTQ
56
+ - Model creator: [Yanzhao Zheng](https://huggingface.co/pipizhao)
57
+ - Original model: [Pandalyst 7B V1.1](https://huggingface.co/pipizhao/Pandalyst-7B-V1.1)
58
+
59
+ <!-- description start -->
60
+ ## Description
61
+
62
+ This repo contains GPTQ model files for [Yanzhao Zheng's Pandalyst 7B V1.1](https://huggingface.co/pipizhao/Pandalyst-7B-V1.1).
63
+
64
+ Multiple GPTQ parameter permutations are provided; see Provided Files below for details of the options provided, their parameters, and the software used to create them.
65
+
66
+ <!-- description end -->
67
+ <!-- repositories-available start -->
68
+ ## Repositories available
69
+
70
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-AWQ)
71
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ)
72
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GGUF)
73
+ * [Yanzhao Zheng's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/pipizhao/Pandalyst-7B-V1.1)
74
+ <!-- repositories-available end -->
75
+
76
+ <!-- prompt-template start -->
77
+ ## Prompt template: Alpaca
78
+
79
+ ```
80
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
81
+
82
+ ### Instruction:
83
+ {prompt}
84
+
85
+ ### Response:
86
+
87
+ ```
88
+
89
+ <!-- prompt-template end -->
90
+
91
+
92
+ <!-- README_GPTQ.md-provided-files start -->
93
+ ## Provided files, and GPTQ parameters
94
+
95
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
96
+
97
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
98
+
99
+ All recent GPTQ files are made with AutoGPTQ, and all files in non-main branches are made with AutoGPTQ. Files in the `main` branch which were uploaded before August 2023 were made with GPTQ-for-LLaMa.
100
+
101
+ <details>
102
+ <summary>Explanation of GPTQ parameters</summary>
103
+
104
+ - Bits: The bit size of the quantised model.
105
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
106
+ - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have had issues with models that use Act Order plus Group Size, but this is generally resolved now.
107
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
108
+ - GPTQ dataset: The calibration dataset used during quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ calibration dataset is not the same as the dataset used to train the model - please refer to the original model repo for details of the training dataset(s).
109
+ - Sequence Length: The length of the dataset sequences used for quantisation. Ideally this is the same as the model sequence length. For some very long sequence models (16+K), a lower sequence length may have to be used. Note that a lower sequence length does not limit the sequence length of the quantised model. It only impacts the quantisation accuracy on longer inference sequences.
110
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit.
111
+
112
+ </details>
113
+
114
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
115
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
116
+ | [main](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ/tree/main) | 4 | 128 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 3.90 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
117
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 4.28 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
118
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 7.01 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements. |
119
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 7.16 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. |
120
+ | [gptq-8bit-32g-actorder_True](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ/tree/gptq-8bit-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 7.62 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. |
121
+ | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [Evol Instruct Code](https://huggingface.co/datasets/nickrosh/Evol-Instruct-Code-80k-v1) | 8192 | 4.02 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. |
122
+
123
+ <!-- README_GPTQ.md-provided-files end -->
124
+
125
+ <!-- README_GPTQ.md-download-from-branches start -->
126
+ ## How to download, including from branches
127
+
128
+ ### In text-generation-webui
129
+
130
+ To download from the `main` branch, enter `TheBloke/Pandalyst-7B-V1.1-GPTQ` in the "Download model" box.
131
+
132
+ To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/Pandalyst-7B-V1.1-GPTQ:gptq-4bit-32g-actorder_True`
133
+
134
+ ### From the command line
135
+
136
+ I recommend using the `huggingface-hub` Python library:
137
+
138
+ ```shell
139
+ pip3 install huggingface-hub
140
+ ```
141
+
142
+ To download the `main` branch to a folder called `Pandalyst-7B-V1.1-GPTQ`:
143
+
144
+ ```shell
145
+ mkdir Pandalyst-7B-V1.1-GPTQ
146
+ huggingface-cli download TheBloke/Pandalyst-7B-V1.1-GPTQ --local-dir Pandalyst-7B-V1.1-GPTQ --local-dir-use-symlinks False
147
+ ```
148
+
149
+ To download from a different branch, add the `--revision` parameter:
150
+
151
+ ```shell
152
+ mkdir Pandalyst-7B-V1.1-GPTQ
153
+ huggingface-cli download TheBloke/Pandalyst-7B-V1.1-GPTQ --revision gptq-4bit-32g-actorder_True --local-dir Pandalyst-7B-V1.1-GPTQ --local-dir-use-symlinks False
154
+ ```
155
+
156
+ <details>
157
+ <summary>More advanced huggingface-cli download usage</summary>
158
+
159
+ If you remove the `--local-dir-use-symlinks False` parameter, the files will instead be stored in the central Huggingface cache directory (default location on Linux is: `~/.cache/huggingface`), and symlinks will be added to the specified `--local-dir`, pointing to their real location in the cache. This allows for interrupted downloads to be resumed, and allows you to quickly clone the repo to multiple places on disk without triggering a download again. The downside, and the reason why I don't list that as the default option, is that the files are then hidden away in a cache folder and it's harder to know where your disk space is being used, and to clear it up if/when you want to remove a download model.
160
+
161
+ The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
162
+
163
+ 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).
164
+
165
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
166
+
167
+ ```shell
168
+ pip3 install hf_transfer
169
+ ```
170
+
171
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
172
+
173
+ ```shell
174
+ mkdir Pandalyst-7B-V1.1-GPTQ
175
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Pandalyst-7B-V1.1-GPTQ --local-dir Pandalyst-7B-V1.1-GPTQ --local-dir-use-symlinks False
176
+ ```
177
+
178
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
179
+ </details>
180
+
181
+ ### With `git` (**not** recommended)
182
+
183
+ To clone a specific branch with `git`, use a command like this:
184
+
185
+ ```shell
186
+ git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Pandalyst-7B-V1.1-GPTQ
187
+ ```
188
+
189
+ Note that using Git with HF repos is strongly discouraged. It will be much slower than using `huggingface-hub`, and will use twice as much disk space as it has to store the model files twice (it stores every byte both in the intended target folder, and again in the `.git` folder as a blob.)
190
+
191
+ <!-- README_GPTQ.md-download-from-branches end -->
192
+ <!-- README_GPTQ.md-text-generation-webui start -->
193
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
194
+
195
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
196
+
197
+ It is strongly recommended to use the text-generation-webui one-click-installers unless you're sure you know how to make a manual install.
198
+
199
+ 1. Click the **Model tab**.
200
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/Pandalyst-7B-V1.1-GPTQ`.
201
+ - To download from a specific branch, enter for example `TheBloke/Pandalyst-7B-V1.1-GPTQ:gptq-4bit-32g-actorder_True`
202
+ - see Provided Files above for the list of branches for each option.
203
+ 3. Click **Download**.
204
+ 4. The model will start downloading. Once it's finished it will say "Done".
205
+ 5. In the top left, click the refresh icon next to **Model**.
206
+ 6. In the **Model** dropdown, choose the model you just downloaded: `Pandalyst-7B-V1.1-GPTQ`
207
+ 7. The model will automatically load, and is now ready for use!
208
+ 8. If you want any custom settings, set them and then click **Save settings for this model** followed by **Reload the Model** in the top right.
209
+ * Note that you do not need to and should not set manual GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
210
+ 9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started!
211
+ <!-- README_GPTQ.md-text-generation-webui end -->
212
+
213
+ <!-- README_GPTQ.md-use-from-python start -->
214
+ ## How to use this GPTQ model from Python code
215
+
216
+ ### Install the necessary packages
217
+
218
+ Requires: Transformers 4.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
219
+
220
+ ```shell
221
+ pip3 install transformers optimum
222
+ pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7
223
+ ```
224
+
225
+ If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead:
226
+
227
+ ```shell
228
+ pip3 uninstall -y auto-gptq
229
+ git clone https://github.com/PanQiWei/AutoGPTQ
230
+ cd AutoGPTQ
231
+ git checkout v0.4.2
232
+ pip3 install .
233
+ ```
234
+
235
+ ### You can then use the following code
236
+
237
+ ```python
238
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
239
+
240
+ model_name_or_path = "TheBloke/Pandalyst-7B-V1.1-GPTQ"
241
+ # To use a different branch, change revision
242
+ # For example: revision="gptq-4bit-32g-actorder_True"
243
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
244
+ device_map="auto",
245
+ trust_remote_code=False,
246
+ revision="main")
247
+
248
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
249
+
250
+ prompt = "Tell me about AI"
251
+ prompt_template=f'''Below is an instruction that describes a task. Write a response that appropriately completes the request.
252
+
253
+ ### Instruction:
254
+ {prompt}
255
+
256
+ ### Response:
257
+ '''
258
+
259
+ print("\n\n*** Generate:")
260
+
261
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
262
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
263
+ print(tokenizer.decode(output[0]))
264
+
265
+ # Inference can also be done using transformers' pipeline
266
+
267
+ print("*** Pipeline:")
268
+ pipe = pipeline(
269
+ "text-generation",
270
+ model=model,
271
+ tokenizer=tokenizer,
272
+ max_new_tokens=512,
273
+ do_sample=True,
274
+ temperature=0.7,
275
+ top_p=0.95,
276
+ top_k=40,
277
+ repetition_penalty=1.1
278
+ )
279
+
280
+ print(pipe(prompt_template)[0]['generated_text'])
281
+ ```
282
+ <!-- README_GPTQ.md-use-from-python end -->
283
+
284
+ <!-- README_GPTQ.md-compatibility start -->
285
+ ## Compatibility
286
+
287
+ The files provided are tested to work with AutoGPTQ, both via Transformers and using AutoGPTQ directly. They should also work with [Occ4m's GPTQ-for-LLaMa fork](https://github.com/0cc4m/KoboldAI).
288
+
289
+ [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
290
+
291
+ [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is compatible with all GPTQ models.
292
+ <!-- README_GPTQ.md-compatibility end -->
293
+
294
+ <!-- footer start -->
295
+ <!-- 200823 -->
296
+ ## Discord
297
+
298
+ For further support, and discussions on these models and AI in general, join us at:
299
+
300
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
301
+
302
+ ## Thanks, and how to contribute
303
+
304
+ Thanks to the [chirper.ai](https://chirper.ai) team!
305
+
306
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
307
+
308
+ 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.
309
+
310
+ 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.
311
+
312
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
313
+
314
+ * Patreon: https://patreon.com/TheBlokeAI
315
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
316
+
317
+ **Special thanks to**: Aemon Algiz.
318
+
319
+ **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
320
+
321
+
322
+ Thank you to all my generous patrons and donaters!
323
+
324
+ And thank you again to a16z for their generous grant.
325
+
326
+ <!-- footer end -->
327
+
328
+ # Original model card: Yanzhao Zheng's Pandalyst 7B V1.1
329
+
330
+
331
+
332
+ ## Pandalyst: A large language model for mastering data analysis using pandas
333
+
334
+ <p align="center">
335
+ <img src="https://raw.githubusercontent.com/zhengyanzhao1997/Pandalyst/master/imgs/pandalyst.png" width="300"/>
336
+ </p>
337
+
338
+ <p align="center">
339
+ 🐱 <a href="https://github.com/zhengyanzhao1997/Pandalyst" target="_blank">Github Repo</a> <br>
340
+ </p>
341
+
342
+ **What is Pandalyst**
343
+ - Pandalyst is a general large language model specifically trained to process and analyze data using the pandas library.
344
+
345
+ **How is Pandalyst**
346
+ - Pandalyst has strong generalization capabilities for data tables in different fields and different data analysis needs.
347
+
348
+ **Why is Pandalyst**
349
+ - Pandalyst is open source and free to use, and its small parameter size (7B/13B) allows us to easily deploy it on local PC.
350
+ - Pandalyst can handle complex data tables (multiple columns and multiple rows), allowing us to enter enough context to describe our table in detail.
351
+ - Pandalyst has very competitive performance, significantly outperforming models of the same size and even outperforming some of the strongest closed-source models.
352
+
353
+
354
+ ## News
355
+ - 🔥[2023/09/30] We released **Pandalyst-7B-V1.1** , which was trained on **CodeLlama-7b-Python** and achieves the **76.1 exec@1** in our **PandaTest_V1.0** and surpasses **Pandalyst-13B-V1.0**, **WizardCoder-Python-13B-V1.0** and **ChatGPT-3.5 (2023/06/13)**.
356
+ - 🔥[2023/09/28] We released **Pandalyst-13B-V1.0** , which was trained on **WizardCoder-Python-13B-V1.0** and achieves the **70.7 exec@1** in our **PandaTest_V1.0** and surpasses **WizardCoder-Python-13B-V1.0** and **ChatGPT-3.5 (2023/06/13)**.
357
+
358
+
359
+ | Model | Checkpoint | Base Model | PandaTest_V1.0 | EASY | HARD | License |
360
+ |--------------------|---------------------------------------------------------------------------------------------|------------|----------------|---------------------|---------------------| ----- |
361
+ | Pandalyst-13B-V1.0 | 🤗 <a href="https://huggingface.co/pipizhao/Pandalyst_13B_V1.0" target="_blank">HF Link</a> | WizardCoder-Python-13B-V1.0 | 70.7 | 75.6 | 65.9 | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> |
362
+ | Pandalyst-7B-V1.1 | 🤗 <a href="https://huggingface.co/pipizhao/Pandalyst-7B-V1.1" target="_blank">HF Link</a> | CodeLlama-7b-Python | 76.1 | 85.2 | 67.0 | <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a> |
363
+
364
+
365
+ ## Usage and Human evaluation
366
+ Please refer to <a href="https://github.com/zhengyanzhao1997/Pandalyst" target="_blank">Github</a>.