Transformers
GGUF
English
llama
text-generation-inference
TheBloke commited on
Commit
38590a5
1 Parent(s): 97a269e

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +338 -0
README.md ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - garage-bAInd/Open-Platypus
4
+ inference: false
5
+ language:
6
+ - en
7
+ license: llama2
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
+ <!-- 200823 -->
17
+ <div style="width: auto; margin-left: auto; margin-right: auto">
18
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
19
+ </div>
20
+ <div style="display: flex; justify-content: space-between; width: 100%;">
21
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
22
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
23
+ </div>
24
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
25
+ <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>
26
+ </div>
27
+ </div>
28
+ <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>
29
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
30
+ <!-- header end -->
31
+
32
+ # Platypus2 - GGUF
33
+ - Model creator: [garage-bAInd](https://huggingface.co/garage-bAInd)
34
+ - Original model: [Platypus2](https://huggingface.co/garage-bAInd/Platypus2-13B)
35
+
36
+ ## Description
37
+
38
+ This repo contains GGUF format model files for [garage-bAInd's Platypus2](https://huggingface.co/garage-bAInd/Platypus2-13B).
39
+
40
+ <!-- README_GGUF.md-about-gguf start -->
41
+ ### About GGUF
42
+
43
+ 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.
44
+
45
+ The key benefit of GGUF is that it is a extensible, future-proof format which stores more information about the model as metadata. It also includes significantly improved tokenization code, including for the first time full support for special tokens. This should improve performance, especially with models that use new special tokens and implement custom prompt templates.
46
+
47
+ Here are a list of clients and libraries that are known to support GGUF:
48
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp).
49
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI. Supports GGUF with GPU acceleration via the ctransformers backend - llama-cpp-python backend should work soon too.
50
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), now supports GGUF as of release 1.41! A powerful GGML web UI, with full GPU accel. Especially good for story telling.
51
+ * [LM Studio](https://lmstudio.ai/), version 0.2.2 and later support GGUF. A fully featured local GUI with GPU acceleration on both Windows (NVidia and AMD), and macOS.
52
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), should now work, choose the `c_transformers` backend. A great web UI with many interesting features. Supports CUDA GPU acceleration.
53
+ * [ctransformers](https://github.com/marella/ctransformers), now supports GGUF as of version 0.2.24! A Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
54
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), supports GGUF as of version 0.1.79. A Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
55
+ * [candle](https://github.com/huggingface/candle), added GGUF support on August 22nd. Candle is a Rust ML framework with a focus on performance, including GPU support, and ease of use.
56
+
57
+ <!-- README_GGUF.md-about-gguf end -->
58
+ <!-- repositories-available start -->
59
+ ## Repositories available
60
+
61
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Platypus2-13B-GPTQ)
62
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Platypus2-13B-GGUF)
63
+ * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/Platypus2-13B-GGML)
64
+ * [garage-bAInd's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/garage-bAInd/Platypus2-13B)
65
+ <!-- repositories-available end -->
66
+
67
+ <!-- prompt-template start -->
68
+ ## Prompt template: Alpaca
69
+
70
+ ```
71
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
72
+
73
+ ### Instruction:
74
+ {prompt}
75
+
76
+ ### Response:
77
+
78
+ ```
79
+
80
+ <!-- prompt-template end -->
81
+ <!-- compatibility_gguf start -->
82
+ ## Compatibility
83
+
84
+ These quantised GGUF files are compatible with llama.cpp from August 21st 2023 onwards, as of commit [6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9](https://github.com/ggerganov/llama.cpp/commit/6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9)
85
+
86
+ They are now also compatible with many third party UIs and libraries - please see the list at the top of the README.
87
+
88
+ ## Explanation of quantisation methods
89
+ <details>
90
+ <summary>Click to see details</summary>
91
+
92
+ The new methods available are:
93
+ * 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)
94
+ * 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.
95
+ * 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.
96
+ * GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
97
+ * 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
98
+
99
+ Refer to the Provided Files table below to see what files use which methods, and how.
100
+ </details>
101
+ <!-- compatibility_gguf end -->
102
+
103
+ <!-- README_GGUF.md-provided-files start -->
104
+ ## Provided files
105
+
106
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
107
+ | ---- | ---- | ---- | ---- | ---- | ----- |
108
+ | [platypus2-13b.Q2_K.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q2_K.gguf) | Q2_K | 2 | 5.43 GB| 7.93 GB | smallest, significant quality loss - not recommended for most purposes |
109
+ | [platypus2-13b.Q3_K_S.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q3_K_S.gguf) | Q3_K_S | 3 | 5.66 GB| 8.16 GB | very small, high quality loss |
110
+ | [platypus2-13b.Q3_K_M.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q3_K_M.gguf) | Q3_K_M | 3 | 6.34 GB| 8.84 GB | very small, high quality loss |
111
+ | [platypus2-13b.Q3_K_L.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q3_K_L.gguf) | Q3_K_L | 3 | 6.93 GB| 9.43 GB | small, substantial quality loss |
112
+ | [platypus2-13b.Q4_0.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q4_0.gguf) | Q4_0 | 4 | 7.37 GB| 9.87 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
113
+ | [platypus2-13b.Q4_K_S.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q4_K_S.gguf) | Q4_K_S | 4 | 7.41 GB| 9.91 GB | small, greater quality loss |
114
+ | [platypus2-13b.Q4_K_M.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q4_K_M.gguf) | Q4_K_M | 4 | 7.87 GB| 10.37 GB | medium, balanced quality - recommended |
115
+ | [platypus2-13b.Q5_0.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q5_0.gguf) | Q5_0 | 5 | 8.97 GB| 11.47 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
116
+ | [platypus2-13b.Q5_K_S.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q5_K_S.gguf) | Q5_K_S | 5 | 8.97 GB| 11.47 GB | large, low quality loss - recommended |
117
+ | [platypus2-13b.Q5_K_M.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q5_K_M.gguf) | Q5_K_M | 5 | 9.23 GB| 11.73 GB | large, very low quality loss - recommended |
118
+ | [platypus2-13b.Q6_K.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q6_K.gguf) | Q6_K | 6 | 10.68 GB| 13.18 GB | very large, extremely low quality loss |
119
+ | [platypus2-13b.Q8_0.gguf](https://huggingface.co/TheBloke/Platypus2-13B-GGUF/blob/main/platypus2-13b.Q8_0.gguf) | Q8_0 | 8 | 13.83 GB| 16.33 GB | very large, extremely low quality loss - not recommended |
120
+
121
+ **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.
122
+
123
+
124
+
125
+ <!-- README_GGUF.md-provided-files end -->
126
+
127
+ <!-- README_GGUF.md-how-to-run start -->
128
+ ## Example `llama.cpp` command
129
+
130
+ Make sure you are using `llama.cpp` from commit [6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9](https://github.com/ggerganov/llama.cpp/commit/6381d4e110bd0ec02843a60bbeb8b6fc37a9ace9) or later.
131
+
132
+ For compatibility with older versions of llama.cpp, or for any third-party libraries or clients that haven't yet updated for GGUF, please use GGML files instead.
133
+
134
+ ```
135
+ ./main -t 10 -ngl 32 -m platypus2-13b.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nWrite a story about llamas\n\n### Response:"
136
+ ```
137
+ Change `-t 10` to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use `-t 8`. If offloading all layers to GPU, set `-t 1`.
138
+
139
+ Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
140
+
141
+ Change `-c 4096` to the desired sequence length for this model. 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.
142
+
143
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
144
+
145
+ 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)
146
+
147
+ ## How to run in `text-generation-webui`
148
+
149
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
150
+
151
+ ## How to run from Python code
152
+
153
+ 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.
154
+
155
+ ### How to load this model from Python using ctransformers
156
+
157
+ #### First install the package
158
+
159
+ ```bash
160
+ # Base ctransformers with no GPU acceleration
161
+ pip install ctransformers>=0.2.24
162
+ # Or with CUDA GPU acceleration
163
+ pip install ctransformers[cuda]>=0.2.24
164
+ # Or with ROCm GPU acceleration
165
+ CT_HIPBLAS=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
166
+ # Or with Metal GPU acceleration for macOS systems
167
+ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
168
+ ```
169
+
170
+ #### Simple example code to load one of these GGUF models
171
+
172
+ ```python
173
+ from ctransformers import AutoModelForCausalLM
174
+
175
+ # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
176
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/Platypus2-13B-GGML", model_file="platypus2-13b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
177
+
178
+ print(llm("AI is going to"))
179
+ ```
180
+
181
+ ## How to use with LangChain
182
+
183
+ Here's guides on using llama-cpp-python or ctransformers with LangChain:
184
+
185
+ * [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
186
+ * [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
187
+
188
+ <!-- README_GGUF.md-how-to-run end -->
189
+
190
+ <!-- footer start -->
191
+ <!-- 200823 -->
192
+ ## Discord
193
+
194
+ For further support, and discussions on these models and AI in general, join us at:
195
+
196
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
197
+
198
+ ## Thanks, and how to contribute.
199
+
200
+ Thanks to the [chirper.ai](https://chirper.ai) team!
201
+
202
+ 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.
203
+
204
+ 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.
205
+
206
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
207
+
208
+ * Patreon: https://patreon.com/TheBlokeAI
209
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
210
+
211
+ **Special thanks to**: Aemon Algiz.
212
+
213
+ **Patreon special mentions**: Russ Johnson, J, alfie_i, Alex, NimbleBox.ai, Chadd, Mandus, Nikolai Manek, Ken Nordquist, ya boyyy, Illia Dulskyi, Viktor Bowallius, vamX, Iucharbius, zynix, Magnesian, Clay Pascal, Pierre Kircher, Enrico Ros, Tony Hughes, Elle, Andrey, knownsqashed, Deep Realms, Jerry Meng, Lone Striker, Derek Yates, Pyrater, Mesiah Bishop, James Bentley, Femi Adebogun, Brandon Frisco, SuperWojo, Alps Aficionado, Michael Dempsey, Vitor Caleffi, Will Dee, Edmond Seymore, usrbinkat, LangChain4j, Kacper Wikieł, Luke Pendergrass, John Detwiler, theTransient, Nathan LeClaire, Tiffany J. Kim, biorpg, Eugene Pentland, Stanislav Ovsiannikov, Fred von Graf, terasurfer, Kalila, Dan Guido, Nitin Borwankar, 阿明, Ai Maven, John Villwock, Gabriel Puliatti, Stephen Murray, Asp the Wyvern, danny, Chris Smitley, ReadyPlayerEmma, S_X, Daniel P. Andersen, Olakabola, Jeffrey Morgan, Imad Khwaja, Caitlyn Gatomon, webtim, Alicia Loh, Trenton Dambrowitz, Swaroop Kallakuri, Erik Bjäreholt, Leonard Tan, Spiking Neurons AB, Luke @flexchar, Ajan Kanaga, Thomas Belote, Deo Leter, RoA, Willem Michiel, transmissions 11, subjectnull, Matthew Berman, Joseph William Delisle, David Ziegler, Michael Davis, Johann-Peter Hartmann, Talal Aujan, senxiiz, Artur Olbinski, Rainer Wilmers, Spencer Kim, Fen Risland, Cap'n Zoog, Rishabh Srivastava, Michael Levine, Geoffrey Montalvo, Sean Connelly, Alexandros Triantafyllidis, Pieter, Gabriel Tamborski, Sam, Subspace Studios, Junyu Yang, Pedro Madruga, Vadim, Cory Kujawski, K, Raven Klaugh, Randy H, Mano Prime, Sebastain Graf, Space Cruiser
214
+
215
+
216
+ Thank you to all my generous patrons and donaters!
217
+
218
+ And thank you again to a16z for their generous grant.
219
+
220
+ <!-- footer end -->
221
+
222
+ <!-- original-model-card start -->
223
+ # Original model card: garage-bAInd's Platypus2
224
+
225
+
226
+ # Platypus2-13B
227
+
228
+ Platypus-13B is an instruction fine-tuned model based on the LLaMA2-13B transformer architecture.
229
+
230
+ ![Platty](./Best_Platty_small.jpeg)
231
+
232
+ ### Benchmark Metrics
233
+
234
+ | Metric | Value |
235
+ |-----------------------|-------|
236
+ | MMLU (5-shot) | 56.70 |
237
+ | ARC (25-shot) | 61.26 |
238
+ | HellaSwag (10-shot) | 82.56 |
239
+ | TruthfulQA (0-shot) | 44.86 |
240
+ | Avg. | 61.35 |
241
+
242
+ 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.
243
+
244
+ ### Model Details
245
+
246
+ * **Trained by**: Cole Hunter & Ariel Lee
247
+ * **Model type:** **Platypus2-13B** is an auto-regressive language model based on the LLaMA2 transformer architecture.
248
+ * **Language(s)**: English
249
+ * **License for base weights**: Non-Commercial Creative Commons license ([CC BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/))
250
+
251
+ ### Prompt Template
252
+ ```
253
+ ### Instruction:
254
+
255
+ <prompt> (without the <>)
256
+
257
+ ### Response:
258
+ ```
259
+
260
+ ### Training Dataset
261
+
262
+ `garage-bAInd/Platypus2-13B` trained using STEM and logic based dataset [`garage-bAInd/Open-Platypus`](https://huggingface.co/datasets/garage-bAInd/Open-Platypus).
263
+
264
+ Please see our [paper](https://arxiv.org/abs/2308.07317) and [project webpage](https://platypus-llm.github.io) for additional information.
265
+
266
+ ### Training Procedure
267
+
268
+ `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.
269
+
270
+ ### Reproducing Evaluation Results
271
+
272
+ Install LM Evaluation Harness:
273
+ ```
274
+ # clone repository
275
+ git clone https://github.com/EleutherAI/lm-evaluation-harness.git
276
+ # check out the correct commit
277
+ git checkout b281b0921b636bc36ad05c0b0b0763bd6dd43463
278
+ # change to repo directory
279
+ cd lm-evaluation-harness
280
+ # install
281
+ pip install -e .
282
+ ```
283
+ Each task was evaluated on 1 A100 80GB GPU.
284
+
285
+ ARC:
286
+ ```
287
+ 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
288
+ ```
289
+
290
+ HellaSwag:
291
+ ```
292
+ 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
293
+ ```
294
+
295
+ MMLU:
296
+ ```
297
+ 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
298
+ ```
299
+
300
+ TruthfulQA:
301
+ ```
302
+ 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
303
+ ```
304
+ ### Limitations and bias
305
+
306
+ 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.
307
+
308
+ Please see the Responsible Use Guide available at https://ai.meta.com/llama/responsible-use-guide/
309
+
310
+ ### Citations
311
+ ```bibtex
312
+ @article{platypus2023,
313
+ title={Platypus: Quick, Cheap, and Powerful Refinement of LLMs},
314
+ author={Ariel N. Lee and Cole J. Hunter and Nataniel Ruiz},
315
+ booktitle={arXiv preprint arxiv:2308.07317},
316
+ year={2023}
317
+ }
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 year={2023},
323
+ eprint={2307.09288},
324
+ archivePrefix={arXiv},
325
+ }
326
+ ```
327
+ ```bibtex
328
+ @inproceedings{
329
+ hu2022lora,
330
+ title={Lo{RA}: Low-Rank Adaptation of Large Language Models},
331
+ author={Edward J Hu and Yelong Shen and Phillip Wallis and Zeyuan Allen-Zhu and Yuanzhi Li and Shean Wang and Lu Wang and Weizhu Chen},
332
+ booktitle={International Conference on Learning Representations},
333
+ year={2022},
334
+ url={https://openreview.net/forum?id=nZeVKeeFYf9}
335
+ }
336
+ ```
337
+
338
+ <!-- original-model-card end -->