TheBloke commited on
Commit
4119758
1 Parent(s): e7a6607

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +432 -0
README.md ADDED
@@ -0,0 +1,432 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: IkariDev/Athena-v4
3
+ inference: false
4
+ license: cc-by-nc-4.0
5
+ model_creator: IkariDev + Undi95
6
+ model_name: Athena v4
7
+ model_type: llama
8
+ prompt_template: 'Below is an instruction that describes a task. Write a response
9
+ that appropriately completes the request.
10
+
11
+
12
+ ### Instruction:
13
+
14
+ {prompt}
15
+
16
+
17
+ ### Response:
18
+
19
+ '
20
+ quantized_by: TheBloke
21
+ ---
22
+
23
+ <!-- header start -->
24
+ <!-- 200823 -->
25
+ <div style="width: auto; margin-left: auto; margin-right: auto">
26
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
27
+ </div>
28
+ <div style="display: flex; justify-content: space-between; width: 100%;">
29
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
30
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
31
+ </div>
32
+ <div style="display: flex; flex-direction: column; align-items: flex-end;">
33
+ <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>
34
+ </div>
35
+ </div>
36
+ <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>
37
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
38
+ <!-- header end -->
39
+
40
+ # Athena v4 - GPTQ
41
+ - Model creator: [IkariDev + Undi95](https://huggingface.co/IkariDev)
42
+ - Original model: [Athena v4](https://huggingface.co/IkariDev/Athena-v4)
43
+
44
+ <!-- description start -->
45
+ ## Description
46
+
47
+ This repo contains GPTQ model files for [IkariDev + Undi95's Athena v4](https://huggingface.co/IkariDev/Athena-v4).
48
+
49
+ 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.
50
+
51
+ <!-- description end -->
52
+ <!-- repositories-available start -->
53
+ ## Repositories available
54
+
55
+ * [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/Athena-v4-AWQ)
56
+ * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/Athena-v4-GPTQ)
57
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/Athena-v4-GGUF)
58
+ * [IkariDev + Undi95's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/IkariDev/Athena-v4)
59
+ <!-- repositories-available end -->
60
+
61
+ <!-- prompt-template start -->
62
+ ## Prompt template: Alpaca
63
+
64
+ ```
65
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
66
+
67
+ ### Instruction:
68
+ {prompt}
69
+
70
+ ### Response:
71
+
72
+ ```
73
+
74
+ <!-- prompt-template end -->
75
+ <!-- licensing start -->
76
+ ## Licensing
77
+
78
+ The creator of the source model has listed its license as `cc-by-nc-4.0`, and this quantization has therefore used that same license.
79
+
80
+ As this model is based on Llama 2, it is also subject to the Meta Llama 2 license terms, and the license files for that are additionally included. It should therefore be considered as being claimed to be licensed under both licenses. I contacted Hugging Face for clarification on dual licensing but they do not yet have an official position. Should this change, or should Meta provide any feedback on this situation, I will update this section accordingly.
81
+
82
+ In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [IkariDev + Undi95's Athena v4](https://huggingface.co/IkariDev/Athena-v4).
83
+ <!-- licensing end -->
84
+ <!-- README_GPTQ.md-provided-files start -->
85
+ ## Provided files, and GPTQ parameters
86
+
87
+ Multiple quantisation parameters are provided, to allow you to choose the best one for your hardware and requirements.
88
+
89
+ Each separate quant is in a different branch. See below for instructions on fetching from different branches.
90
+
91
+ Most GPTQ files are made with AutoGPTQ. Mistral models are currently made with Transformers.
92
+
93
+ <details>
94
+ <summary>Explanation of GPTQ parameters</summary>
95
+
96
+ - Bits: The bit size of the quantised model.
97
+ - GS: GPTQ group size. Higher numbers use less VRAM, but have lower quantisation accuracy. "None" is the lowest possible value.
98
+ - 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.
99
+ - Damp %: A GPTQ parameter that affects how samples are processed for quantisation. 0.01 is default, but 0.1 results in slightly better accuracy.
100
+ - 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).
101
+ - 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.
102
+ - ExLlama Compatibility: Whether this file can be loaded with ExLlama, which currently only supports Llama models in 4-bit.
103
+
104
+ </details>
105
+
106
+ | Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
107
+ | ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
108
+ | [main](https://huggingface.co/TheBloke/Athena-v4-GPTQ/tree/main) | 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. |
109
+ | [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/Athena-v4-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. |
110
+ | [gptq-8bit--1g-actorder_True](https://huggingface.co/TheBloke/Athena-v4-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. |
111
+ | [gptq-8bit-128g-actorder_True](https://huggingface.co/TheBloke/Athena-v4-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. |
112
+ | [gptq-8bit-32g-actorder_True](https://huggingface.co/TheBloke/Athena-v4-GPTQ/tree/gptq-8bit-32g-actorder_True) | 8 | 32 | Yes | 0.1 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 14.54 GB | No | 8-bit, with group size 32g and Act Order for maximum inference quality. |
113
+ | [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/Athena-v4-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. |
114
+
115
+ <!-- README_GPTQ.md-provided-files end -->
116
+
117
+ <!-- README_GPTQ.md-download-from-branches start -->
118
+ ## How to download, including from branches
119
+
120
+ ### In text-generation-webui
121
+
122
+ To download from the `main` branch, enter `TheBloke/Athena-v4-GPTQ` in the "Download model" box.
123
+
124
+ To download from another branch, add `:branchname` to the end of the download name, eg `TheBloke/Athena-v4-GPTQ:gptq-4bit-32g-actorder_True`
125
+
126
+ ### From the command line
127
+
128
+ I recommend using the `huggingface-hub` Python library:
129
+
130
+ ```shell
131
+ pip3 install huggingface-hub
132
+ ```
133
+
134
+ To download the `main` branch to a folder called `Athena-v4-GPTQ`:
135
+
136
+ ```shell
137
+ mkdir Athena-v4-GPTQ
138
+ huggingface-cli download TheBloke/Athena-v4-GPTQ --local-dir Athena-v4-GPTQ --local-dir-use-symlinks False
139
+ ```
140
+
141
+ To download from a different branch, add the `--revision` parameter:
142
+
143
+ ```shell
144
+ mkdir Athena-v4-GPTQ
145
+ huggingface-cli download TheBloke/Athena-v4-GPTQ --revision gptq-4bit-32g-actorder_True --local-dir Athena-v4-GPTQ --local-dir-use-symlinks False
146
+ ```
147
+
148
+ <details>
149
+ <summary>More advanced huggingface-cli download usage</summary>
150
+
151
+ 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.
152
+
153
+ The cache location can be changed with the `HF_HOME` environment variable, and/or the `--cache-dir` parameter to `huggingface-cli`.
154
+
155
+ 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).
156
+
157
+ To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
158
+
159
+ ```shell
160
+ pip3 install hf_transfer
161
+ ```
162
+
163
+ And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
164
+
165
+ ```shell
166
+ mkdir Athena-v4-GPTQ
167
+ HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Athena-v4-GPTQ --local-dir Athena-v4-GPTQ --local-dir-use-symlinks False
168
+ ```
169
+
170
+ Windows Command Line users: You can set the environment variable by running `set HF_HUB_ENABLE_HF_TRANSFER=1` before the download command.
171
+ </details>
172
+
173
+ ### With `git` (**not** recommended)
174
+
175
+ To clone a specific branch with `git`, use a command like this:
176
+
177
+ ```shell
178
+ git clone --single-branch --branch gptq-4bit-32g-actorder_True https://huggingface.co/TheBloke/Athena-v4-GPTQ
179
+ ```
180
+
181
+ 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.)
182
+
183
+ <!-- README_GPTQ.md-download-from-branches end -->
184
+ <!-- README_GPTQ.md-text-generation-webui start -->
185
+ ## How to easily download and use this model in [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
186
+
187
+ Please make sure you're using the latest version of [text-generation-webui](https://github.com/oobabooga/text-generation-webui).
188
+
189
+ 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.
190
+
191
+ 1. Click the **Model tab**.
192
+ 2. Under **Download custom model or LoRA**, enter `TheBloke/Athena-v4-GPTQ`.
193
+ - To download from a specific branch, enter for example `TheBloke/Athena-v4-GPTQ:gptq-4bit-32g-actorder_True`
194
+ - see Provided Files above for the list of branches for each option.
195
+ 3. Click **Download**.
196
+ 4. The model will start downloading. Once it's finished it will say "Done".
197
+ 5. In the top left, click the refresh icon next to **Model**.
198
+ 6. In the **Model** dropdown, choose the model you just downloaded: `Athena-v4-GPTQ`
199
+ 7. The model will automatically load, and is now ready for use!
200
+ 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.
201
+ * 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`.
202
+ 9. Once you're ready, click the **Text Generation tab** and enter a prompt to get started!
203
+
204
+ <!-- README_GPTQ.md-text-generation-webui end -->
205
+
206
+ <!-- README_GPTQ.md-use-from-tgi start -->
207
+ ## Serving this model from Text Generation Inference (TGI)
208
+
209
+ It's recommended to use TGI version 1.1.0 or later. The official Docker container is: `ghcr.io/huggingface/text-generation-inference:1.1.0`
210
+
211
+ Example Docker parameters:
212
+
213
+ ```shell
214
+ --model-id TheBloke/Athena-v4-GPTQ --port 3000 --quantize awq --max-input-length 3696 --max-total-tokens 4096 --max-batch-prefill-tokens 4096
215
+ ```
216
+
217
+ Example Python code for interfacing with TGI (requires huggingface-hub 0.17.0 or later):
218
+
219
+ ```shell
220
+ pip3 install huggingface-hub
221
+ ```
222
+
223
+ ```python
224
+ from huggingface_hub import InferenceClient
225
+
226
+ endpoint_url = "https://your-endpoint-url-here"
227
+
228
+ prompt = "Tell me about AI"
229
+ prompt_template=f'''Below is an instruction that describes a task. Write a response that appropriately completes the request.
230
+
231
+ ### Instruction:
232
+ {prompt}
233
+
234
+ ### Response:
235
+ '''
236
+
237
+ client = InferenceClient(endpoint_url)
238
+ response = client.text_generation(prompt,
239
+ max_new_tokens=128,
240
+ do_sample=True,
241
+ temperature=0.7,
242
+ top_p=0.95,
243
+ top_k=40,
244
+ repetition_penalty=1.1)
245
+
246
+ print(f"Model output: {response}")
247
+ ```
248
+ <!-- README_GPTQ.md-use-from-tgi end -->
249
+ <!-- README_GPTQ.md-use-from-python start -->
250
+ ## How to use this GPTQ model from Python code
251
+
252
+ ### Install the necessary packages
253
+
254
+ Requires: Transformers 4.33.0 or later, Optimum 1.12.0 or later, and AutoGPTQ 0.4.2 or later.
255
+
256
+ ```shell
257
+ pip3 install transformers optimum
258
+ pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/ # Use cu117 if on CUDA 11.7
259
+ ```
260
+
261
+ If you have problems installing AutoGPTQ using the pre-built wheels, install it from source instead:
262
+
263
+ ```shell
264
+ pip3 uninstall -y auto-gptq
265
+ git clone https://github.com/PanQiWei/AutoGPTQ
266
+ cd AutoGPTQ
267
+ git checkout v0.4.2
268
+ pip3 install .
269
+ ```
270
+
271
+ ### You can then use the following code
272
+
273
+ ```python
274
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
275
+
276
+ model_name_or_path = "TheBloke/Athena-v4-GPTQ"
277
+ # To use a different branch, change revision
278
+ # For example: revision="gptq-4bit-32g-actorder_True"
279
+ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
280
+ device_map="auto",
281
+ trust_remote_code=False,
282
+ revision="main")
283
+
284
+ tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
285
+
286
+ prompt = "Tell me about AI"
287
+ prompt_template=f'''Below is an instruction that describes a task. Write a response that appropriately completes the request.
288
+
289
+ ### Instruction:
290
+ {prompt}
291
+
292
+ ### Response:
293
+ '''
294
+
295
+ print("\n\n*** Generate:")
296
+
297
+ input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
298
+ output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
299
+ print(tokenizer.decode(output[0]))
300
+
301
+ # Inference can also be done using transformers' pipeline
302
+
303
+ print("*** Pipeline:")
304
+ pipe = pipeline(
305
+ "text-generation",
306
+ model=model,
307
+ tokenizer=tokenizer,
308
+ max_new_tokens=512,
309
+ do_sample=True,
310
+ temperature=0.7,
311
+ top_p=0.95,
312
+ top_k=40,
313
+ repetition_penalty=1.1
314
+ )
315
+
316
+ print(pipe(prompt_template)[0]['generated_text'])
317
+ ```
318
+ <!-- README_GPTQ.md-use-from-python end -->
319
+
320
+ <!-- README_GPTQ.md-compatibility start -->
321
+ ## Compatibility
322
+
323
+ 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).
324
+
325
+ [ExLlama](https://github.com/turboderp/exllama) is compatible with Llama and Mistral models in 4-bit. Please see the Provided Files table above for per-file compatibility.
326
+
327
+ [Huggingface Text Generation Inference (TGI)](https://github.com/huggingface/text-generation-inference) is compatible with all GPTQ models.
328
+ <!-- README_GPTQ.md-compatibility end -->
329
+
330
+ <!-- footer start -->
331
+ <!-- 200823 -->
332
+ ## Discord
333
+
334
+ For further support, and discussions on these models and AI in general, join us at:
335
+
336
+ [TheBloke AI's Discord server](https://discord.gg/theblokeai)
337
+
338
+ ## Thanks, and how to contribute
339
+
340
+ Thanks to the [chirper.ai](https://chirper.ai) team!
341
+
342
+ Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
343
+
344
+ 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.
345
+
346
+ 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.
347
+
348
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
349
+
350
+ * Patreon: https://patreon.com/TheBlokeAI
351
+ * Ko-Fi: https://ko-fi.com/TheBlokeAI
352
+
353
+ **Special thanks to**: Aemon Algiz.
354
+
355
+ **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
356
+
357
+
358
+ Thank you to all my generous patrons and donaters!
359
+
360
+ And thank you again to a16z for their generous grant.
361
+
362
+ <!-- footer end -->
363
+
364
+ # Original model card: IkariDev + Undi95's Athena v4
365
+
366
+
367
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/630dfb008df86f1e5becadc3/XKvu-iA8ZJaw2rRLm1sVn.png)
368
+
369
+ Experimental Athena v4 model. Use Alpaca format. Suitable for RP, ERP and general stuff.
370
+
371
+ I should state here that this is a HIGHLY experimental model!
372
+
373
+ <!-- description start -->
374
+ ## Description
375
+
376
+ <!-- [Recommended settings - contributed by localfultonextractor](https://files.catbox.moe/ue0tja.json) -->
377
+
378
+ This repo contains fp16 files of Athena-V4.
379
+
380
+ <!-- [GGUF - By TheBloke](https://huggingface.co/TheBloke/Athena-v3-GGUF)-->
381
+
382
+ <!-- [GPTQ - By TheBloke](https://huggingface.co/TheBloke/Athena-v3-GPTQ)-->
383
+
384
+ <!-- [exl2 - by AzureBlack](https://huggingface.co/AzureBlack/Athena-v2-6.0bit-exl2) -->
385
+
386
+ <!-- [AWQ - By TheBloke](https://huggingface.co/TheBloke/Athena-v3-AWQ)-->
387
+
388
+ [fp16 - by IkariDev+Undi95](https://huggingface.co/IkariDev/Athena-v4)
389
+
390
+ [GGUF - by IkariDev](https://huggingface.co/IkariDev/Athena-v4-GGUF)
391
+ <!-- [OLD(GGUF - by IkariDev+Undi95)](https://huggingface.co/IkariDev/Athena-v3-GGUF)-->
392
+
393
+ ## Ratings:
394
+
395
+ Note: I have permission of all users to upload their ratings, i DONT screenshot random reviews without asking if i can put them here!
396
+
397
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/630dfb008df86f1e5becadc3/8kA_i7BVItCTiUGRdHkoy.png)
398
+
399
+ If you want your rating to be here, send me a message over on DC and ill put up a screenshot of it here. DC name is "ikaridev".
400
+
401
+ <!-- description end -->
402
+ <!-- description start -->
403
+ ## Models+loras used and recipe
404
+
405
+ - Athena-v3
406
+ - Xwin-LM/Xwin-LM-13B-V0.1
407
+ - Undi95/PsyMedRP-v1-13B
408
+ - cgato/Thespis-13b-v0.2
409
+ - jondurbin/airoboros-l2-13b-3.0
410
+ ```
411
+ Athena-v4-tmp1 = [ Athena-v3(0.85)+Xwin-LM/Xwin-LM-13B-V0.1(0.15) ]
412
+ Athena-v4-tmp2 = [ Undi95/PsyMedRP-v1-13B(0.55)+cgato/Thespis-13b-v0.2(0.45) ]
413
+
414
+ Athena-v4-tmp3 = Athena-v4-tmp1(0.55) + Athena-v4-tmp2(0.35)
415
+
416
+ Athena-v4 = Athena-v4-tmp3 + jondurbin/airoboros-l2-13b-3.0(0.1)
417
+ ```
418
+ <!-- description end -->
419
+ <!-- prompt-template start -->
420
+ ## Prompt template: Alpaca
421
+
422
+ ```
423
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
424
+
425
+ ### Instruction:
426
+ {prompt}
427
+
428
+ ### Response:
429
+
430
+ ```
431
+
432
+ Thanks to [Undi95](https://huggingface.co/Undi95) for providing the machine for Athena v2 and Athena v3, and giving me infos about how things work. Going forward i will use a merging server provided by a friend.