TheBloke commited on
Commit
1f5c7b1
1 Parent(s): 9aca40d

Initial GPTQ model commit

Browse files
Files changed (1) hide show
  1. README.md +335 -0
README.md ADDED
@@ -0,0 +1,335 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - garage-bAInd/OpenPlatypus
4
+ inference: false
5
+ language:
6
+ - en
7
+ license: other
8
+ model_creator: garage-bAInd
9
+ model_link: https://huggingface.co/garage-bAInd/Platypus2-13B
10
+ model_name: Platypus2
11
+ model_type: llama
12
+ quantized_by: TheBloke
13
+ ---
14
+
15
+ <!-- header start -->
16
+ <div style="width: 100%;">
17
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
18
+ </div>
19
+ <div style="display: flex; justify-content: space-between; width: 100%;">
20
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
21
+ <p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
22
+ </div>
23
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
24
+ <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
25
+ </div>
26
+ </div>
27
+ <!-- header end -->
28
+
29
+ # Platypus2 - GPTQ
30
+ - Model creator: [garage-bAInd](https://huggingface.co/garage-bAInd)
31
+ - Original model: [Platypus2](https://huggingface.co/garage-bAInd/Platypus2-13B)
32
+
33
+ ## Description
34
+
35
+ This repo contains GPTQ model files for [garage-bAInd's Platypus2](https://huggingface.co/garage-bAInd/Platypus2-13B).
36
+
37
+ 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.
38
+
39
+ ## Repositories available
40
+
41
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ)
42
+ * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/Platypus2-13B-GGML)
43
+ * [garage-bAInd's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/garage-bAInd/Platypus2-13B)
44
+
45
+ ## Prompt template: Alpaca
46
+
47
+ ```
48
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
49
+
50
+ ### Instruction:
51
+ {prompt}
52
+
53
+ ### Response:
54
+ ```
55
+
56
+ ## Provided files and GPTQ parameters
57
+
58
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
59
+
60
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
61
+
62
+ All GPTQ files are made with AutoGPTQ.
63
+
64
+ <details>
65
+ <summary>Explanation of GPTQ parameters</summary>
66
+
67
+ - Bits: The bit size of the quantised model.
68
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
69
+ - Act Order: True or False. Also known as `desc_act`. True results in better quantisation accuracy. Some GPTQ clients have issues with models that use Act Order plus Group Size.
70
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
71
+ - GPTQ dataset: The dataset used for quantisation. Using a dataset more appropriate to the model's training can improve quantisation accuracy. Note that the GPTQ 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).
72
+ - 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.
73
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit.
74
+
75
+ </details>
76
+
77
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
78
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
79
+ | [main](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/main) | 4 | 128 | No | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 7.26 GB | Yes | Most compatible option. Good inference speed in AutoGPTQ and GPTQ-for-LLaMa. Lower inference quality than other options. |
80
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 8.00 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. Poor AutoGPTQ CUDA speed. |
81
+ | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 7.51 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. Poor AutoGPTQ CUDA speed. |
82
+ | [gptq-4bit-128g-actorder_True](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-4bit-128g-actorder_True) | 4 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 7.26 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. Poor AutoGPTQ CUDA speed. |
83
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-8bit--1g-actorder_True) | 8 | None | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 13.36 GB | No | 8-bit, with Act Order. No group size, to lower VRAM requirements and to improve AutoGPTQ speed. |
84
+ | [gptq-8bit-128g-actorder_False](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-8bit-128g-actorder_False) | 8 | 128 | No | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 13.65 GB | No | 8-bit, with group size 128g for higher inference quality and without Act Order to improve AutoGPTQ speed. |
85
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-8bit-128g-actorder_True) | 8 | 128 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 13.65 GB | No | 8-bit, with group size 128g for higher inference quality and with Act Order for even higher accuracy. Poor AutoGPTQ CUDA speed. |
86
+ | [gptq-8bit-64g-actorder_True](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ/tree/gptq-8bit-64g-actorder_True) | 8 | 64 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 13.95 GB | No | 8-bit, with group size 64g and Act Order for even higher inference quality. Poor AutoGPTQ CUDA speed. |
87
+
88
+ ## How to download from branches
89
+
90
+ - In text-generation-webui, you can add `:branch` to the end of the download name, eg `TheBloke/Platypus2-13B-GPTQ:gptq-4bit-32g-actorder_True`
91
+ - With Git, you can clone a branch with:
92
+ ```
93
+ git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Platypus2-13B-GPTQ
94
+ ```
95
+ - In Python Transformers code, the branch is the `revision` parameter; see below.
96
+
97
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
98
+
99
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
100
+
101
+ It is strongly recommended to use the text-generation-webui one-click-installers unless you know how to make a manual install.
102
+
103
+ 1. Click the **Model tab**.
104
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/Platypus2-13B-GPTQ`.
105
+ - To download from a specific branch, enter for example `TheBloke/Platypus2-13B-GPTQ:gptq-4bit-32g-actorder_True`
106
+ - see Provided Files above for the list of branches for each option.
107
+ 3. Click **Download**.
108
+ 4. The model will start downloading. Once it's finished it will say "Done"
109
+ 5. In the top left, click the refresh icon next to **Model**.
110
+ 6. In the **Model** dropdown, choose the model you just downloaded: `Platypus2-13B-GPTQ`
111
+ 7. The model will automatically load, and is now ready for use!
112
+ 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.
113
+ * Note that you do not need to set GPTQ parameters any more. These are set automatically from the file `quantize_config.json`.
114
+ 9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started!
115
+
116
+ ## How to use this GPTQ model from Python code
117
+
118
+ First make sure you have [AutoGPTQ](https://github.com/PanQiWei/AutoGPTQ) 0.3.1 or later installed:
119
+
120
+ ```
121
+ pip3 install auto-gptq
122
+ ```
123
+
124
+ If you have problems installing AutoGPTQ, please build from source instead:
125
+ ```
126
+ pip3 uninstall -y auto-gptq
127
+ git clone https://github.com/PanQiWei/AutoGPTQ
128
+ cd AutoGPTQ
129
+ pip3 install .
130
+ ```
131
+
132
+ Then try the following example code:
133
+
134
+ ```python
135
+ from transformers import AutoTokenizer, pipeline, logging
136
+ from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
137
+
138
+ model_name_or_path = "TheBloke/Platypus2-13B-GPTQ"
139
+
140
+ use_triton = False
141
+
142
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
143
+
144
+ model = AutoGPTQForCausalLM.from_quantized(model_name_or_path,
145
+ use_safetensors=True,
146
+ trust_remote_code=False,
147
+ device="cuda:0",
148
+ use_triton=use_triton,
149
+ quantize_config=None)
150
+
151
+ """
152
+ # To download from a specific branch, use the revision parameter, as in this example:
153
+ # Note that `revision` requires AutoGPTQ 0.3.1 or later!
154
+
155
+ model = AutoGPTQForCausalLM.from_quantized(model_name_or_path,
156
+ revision="gptq-4bit-32g-actorder_True",
157
+ use_safetensors=True,
158
+ trust_remote_code=False,
159
+ device="cuda:0",
160
+ quantize_config=None)
161
+ """
162
+
163
+ prompt = "Tell me about AI"
164
+ prompt_template=f'''Below is an instruction that describes a task. Write a response that appropriately completes the request.
165
+
166
+ ### Instruction:
167
+ {prompt}
168
+
169
+ ### Response:
170
+ '''
171
+
172
+ print("\n\n*** Generate:")
173
+
174
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
175
+ output = model.generate(inputs=input_ids, temperature=0.7, max_new_tokens=512)
176
+ print(tokenizer.decode(output[0]))
177
+
178
+ # Inference can also be done using transformers' pipeline
179
+
180
+ # Prevent printing spurious transformers error when using pipeline with AutoGPTQ
181
+ logging.set_verbosity(logging.CRITICAL)
182
+
183
+ print("*** Pipeline:")
184
+ pipe = pipeline(
185
+ "text-generation",
186
+ model=model,
187
+ tokenizer=tokenizer,
188
+ max_new_tokens=512,
189
+ temperature=0.7,
190
+ top_p=0.95,
191
+ repetition_penalty=1.15
192
+ )
193
+
194
+ print(pipe(prompt_template)[0]['generated_text'])
195
+ ```
196
+
197
+ ## Compatibility
198
+
199
+ The files provided will work with AutoGPTQ (CUDA and Triton modes), GPTQ-for-LLaMa (only CUDA has been tested), and Occ4m's GPTQ-for-LLaMa fork.
200
+
201
+ ExLlama works with Llama models in 4-bit. Please see the Provided Files table above for per-file compatibility.
202
+
203
+ <!-- footer start -->
204
+ ## Discord
205
+
206
+ For further support, and discussions on these models and AI in general, join us at:
207
+
208
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
209
+
210
+ ## Thanks, and how to contribute.
211
+
212
+ Thanks to the [chirper.ai](https://chirper.ai) team!
213
+
214
+ 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.
215
+
216
+ 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.
217
+
218
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
219
+
220
+ * Patreon: https://patreon.com/TheBlokeAI
221
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
222
+
223
+ **Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
224
+
225
+ **Patreon special mentions**: Willem Michiel, Ajan Kanaga, Cory Kujawski, Alps Aficionado, Nikolai Manek, Jonathan Leane, Stanislav Ovsiannikov, Michael Levine, Luke Pendergrass, Sid, K, Gabriel Tamborski, Clay Pascal, Kalila, William Sang, Will Dee, Pieter, Nathan LeClaire, ya boyyy, David Flickinger, vamX, Derek Yates, Fen Risland, Jeffrey Morgan, webtim, Daniel P. Andersen, Chadd, Edmond Seymore, Pyrater, Olusegun Samson, Lone Striker, biorpg, alfie_i, Mano Prime, Chris Smitley, Dave, zynix, Trenton Dambrowitz, Johann-Peter Hartmann, Magnesian, Spencer Kim, John Detwiler, Iucharbius, Gabriel Puliatti, LangChain4j, Luke @flexchar, Vadim, Rishabh Srivastava, Preetika Verma, Ai Maven, Femi Adebogun, WelcomeToTheClub, Leonard Tan, Imad Khwaja, Steven Wood, Stefan Sabev, Sebastain Graf, usrbinkat, Dan Guido, Sam, Eugene Pentland, Mandus, transmissions 11, Slarti, Karl Bernard, Spiking Neurons AB, Artur Olbinski, Joseph William Delisle, ReadyPlayerEmma, Olakabola, Asp the Wyvern, Space Cruiser, Matthew Berman, Randy H, subjectnull, danny, John Villwock, Illia Dulskyi, Rainer Wilmers, theTransient, Pierre Kircher, Alexandros Triantafyllidis, Viktor Bowallius, terasurfer, Deep Realms, SuperWojo, senxiiz, Oscar Rangel, Alex, Stephen Murray, Talal Aujan, Raven Klaugh, Sean Connelly, Raymond Fosdick, Fred von Graf, chris gileta, Junyu Yang, Elle
226
+
227
+
228
+ Thank you to all my generous patrons and donaters!
229
+
230
+ <!-- footer end -->
231
+
232
+ # Original model card: garage-bAInd's Platypus2
233
+
234
+
235
+ # Platypus2-13B
236
+
237
+ Platypus-13B is an instruction fine-tuned model based on the LLaMA2-13B transformer architecture.
238
+
239
+ ![Platty](./Best_Platty_small.jpeg)
240
+
241
+ ### Benchmark Metrics
242
+
243
+ | Metric | Value |
244
+ |-----------------------|-------|
245
+ | MMLU (5-shot) | - |
246
+ | ARC (25-shot) | - |
247
+ | HellaSwag (10-shot) | - |
248
+ | TruthfulQA (0-shot) | - |
249
+ | Avg. | - |
250
+
251
+ We use state-of-the-art [Language Model Evaluation Harness](https://github.com/EleutherAI/lm-evaluation-harness) to run the benchmark tests above, using the same version as the HuggingFace LLM Leaderboard. Please see below for detailed instructions on reproducing benchmark results.
252
+
253
+ ### Model Details
254
+
255
+ * **Trained by**: Cole Hunter & Ariel Lee
256
+ * **Model type:** **Platypus2-13B** is an auto-regressive language model based on the LLaMA2 transformer architecture.
257
+ * **Language(s)**: English
258
+ * **License for base weights**: Non-Commercial Creative Commons license ([CC BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/))
259
+
260
+ ### Prompt Template
261
+ ```
262
+ ### Instruction:
263
+
264
+ <prompt> (without the <>)
265
+
266
+ ### Response:
267
+ ```
268
+
269
+ ### Training Dataset
270
+
271
+ STEM and logic based dataset [`garage-bAInd/OpenPlatypus`](https://huggingface.co/datasets/garage-bAInd/OpenPlatypus) [COMING SOON!]
272
+
273
+ ### Training Procedure
274
+
275
+ `garage-bAInd/Platypus2-13B` was instruction fine-tuned using LoRA on 1 A100 80GB. For training details and inference instructions please see the [Platypus2](https://github.com/arielnlee/Platypus) GitHub repo.
276
+
277
+ ### Reproducing Evaluation Results
278
+
279
+ Install LM Evaluation Harness:
280
+ ```
281
+ # clone repository
282
+ git clone https://github.com/EleutherAI/lm-evaluation-harness.git
283
+ # check out the correct commit
284
+ git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
285
+ # change to repo directory
286
+ cd lm-evaluation-harness
287
+ # install
288
+ pip install -e .
289
+ ```
290
+ Each task was evaluated on a single A100 80GB GPU.
291
+
292
+ ARC:
293
+ ```
294
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-13B --tasks arc_challenge --batch_size 1 --no_cache --write_out --output_path results/Platypus2-13B/arc_challenge_25shot.json --device cuda --num_fewshot 25
295
+ ```
296
+
297
+ HellaSwag:
298
+ ```
299
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-13B --tasks hellaswag --batch_size 1 --no_cache --write_out --output_path results/Platypus2-13B/hellaswag_10shot.json --device cuda --num_fewshot 10
300
+ ```
301
+
302
+ MMLU:
303
+ ```
304
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-13B --tasks hendrycksTest-* --batch_size 1 --no_cache --write_out --output_path results/Platypus2-13B/mmlu_5shot.json --device cuda --num_fewshot 5
305
+ ```
306
+
307
+ TruthfulQA:
308
+ ```
309
+ python main.py --model hf-causal-experimental --model_args pretrained=garage-bAInd/Platypus2-13B --tasks truthfulqa_mc --batch_size 1 --no_cache --write_out --output_path results/Platypus2-13B/truthfulqa_0shot.json --device cuda
310
+ ```
311
+ ### Limitations and bias
312
+
313
+ Llama 2 and fine-tuned variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2 and any fine-tuned varient's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2 variants, developers should perform safety testing and tuning tailored to their specific applications of the model.
314
+
315
+ Please see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/
316
+
317
+ ### Citations
318
+
319
+ ```bibtex
320
+ @misc{touvron2023llama,
321
+ title={Llama 2: Open Foundation and Fine-Tuned Chat Models},
322
+ author={Hugo Touvron and Louis Martin and Kevin Stone and Peter Albert and Amjad Almahairi and Yasmine Babaei and Nikolay Bashlykov and Soumya Batra and Prajjwal Bhargava and Shruti Bhosale and Dan Bikel and Lukas Blecher and Cristian Canton Ferrer and Moya Chen and Guillem Cucurull and David Esiobu and Jude Fernandes and Jeremy Fu and Wenyin Fu and Brian Fuller and Cynthia Gao and Vedanuj Goswami and Naman Goyal and Anthony Hartshorn and Saghar Hosseini and Rui Hou and Hakan Inan and Marcin Kardas and Viktor Kerkez and Madian Khabsa and Isabel Kloumann and Artem Korenev and Punit Singh Koura and Marie-Anne Lachaux and Thibaut Lavril and Jenya Lee and Diana Liskovich and Yinghai Lu and Yuning Mao and Xavier Martinet and Todor Mihaylov and Pushkar Mishra and Igor Molybog and Yixin Nie and Andrew Poulton and Jeremy Reizenstein and Rashi Rungta and Kalyan Saladi and Alan Schelten and Ruan Silva and Eric Michael Smith and Ranjan Subramanian and Xiaoqing Ellen Tan and Binh Tang and Ross Taylor and Adina Williams and Jian Xiang Kuan and Puxin Xu and Zheng Yan and Iliyan Zarov and Yuchen Zhang and Angela Fan and Melanie Kambadur and Sharan Narang and Aurelien Rodriguez and Robert Stojnic and Sergey Edunov and Thomas Scialom},
323
+ year={2023},
324
+ eprint={2307.09288},
325
+ archivePrefix={arXiv},
326
+ }
327
+ ```
328
+ ```bibtex
329
+ @article{hu2021lora,
330
+ title={LoRA: Low-Rank Adaptation of Large Language Models},
331
+ author={Hu, Edward J. and Shen, Yelong and Wallis, Phillip and Allen-Zhu, Zeyuan and Li, Yuanzhi and Wang, Shean and Chen, Weizhu},
332
+ journal={CoRR},
333
+ year={2021}
334
+ }
335
+ ```