Upload README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,18 @@
|
|
1 |
---
|
|
|
2 |
inference: false
|
3 |
language:
|
4 |
- en
|
5 |
-
license:
|
6 |
model_creator: Mikael110
|
7 |
-
model_link: https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora
|
8 |
model_name: Llama2 70B Guanaco QLoRA
|
9 |
model_type: llama
|
10 |
pipeline_tag: text-classification
|
|
|
|
|
|
|
|
|
|
|
11 |
quantized_by: TheBloke
|
12 |
tags:
|
13 |
- llama-2
|
@@ -45,9 +50,9 @@ Multiple GPTQ parameter permutations are provided; see Provided Files below for
|
|
45 |
<!-- repositories-available start -->
|
46 |
## Repositories available
|
47 |
|
|
|
48 |
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ)
|
49 |
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF)
|
50 |
-
* [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGML)
|
51 |
* [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-fp16)
|
52 |
* [Mikael110's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
53 |
<!-- repositories-available end -->
|
@@ -62,7 +67,15 @@ Multiple GPTQ parameter permutations are provided; see Provided Files below for
|
|
62 |
```
|
63 |
|
64 |
<!-- prompt-template end -->
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
|
|
|
|
66 |
<!-- README_GPTQ.md-provided-files start -->
|
67 |
## Provided files and GPTQ parameters
|
68 |
|
@@ -87,24 +100,24 @@ All recent GPTQ files are made with AutoGPTQ, and all files in non-main branches
|
|
87 |
|
88 |
| Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
|
89 |
| ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
|
90 |
-
| [main](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/main) | 4 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 36.65 GB | Yes |
|
91 |
-
| [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 40.66 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage.
|
92 |
-
| [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 37.99 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy.
|
93 |
-
| [gptq-4bit-128g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-4bit-128g-actorder_True) | 4 | 128 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 36.65 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy.
|
94 |
| [gptq-3bit--1g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit--1g-actorder_True) | 3 | None | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 26.78 GB | No | 3-bit, with Act Order and no group size. Lowest possible VRAM requirements. May be lower quality than 3-bit 128g. |
|
95 |
| [gptq-3bit-128g-actorder_False](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit-128g-actorder_False) | 3 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 28.03 GB | No | 3-bit, with group size 128g but no act-order. Slightly higher VRAM requirements than 3-bit None. |
|
96 |
-
| [gptq-3bit-128g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit-128g-actorder_True) | 3 | 128 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 28.03 GB | No | 3-bit, with group size 128g and act-order. Higher quality than 128g-False
|
97 |
-
| [gptq-3bit-64g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit-64g-actorder_True) | 3 | 64 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 29.30 GB | No | 3-bit, with group size 64g and act-order.
|
98 |
|
99 |
<!-- README_GPTQ.md-provided-files end -->
|
100 |
|
101 |
<!-- README_GPTQ.md-download-from-branches start -->
|
102 |
## How to download from branches
|
103 |
|
104 |
-
- In text-generation-webui, you can add `:branch` to the end of the download name, eg `TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ:
|
105 |
- With Git, you can clone a branch with:
|
106 |
```
|
107 |
-
git clone --single-branch --branch
|
108 |
```
|
109 |
- In Python Transformers code, the branch is the `revision` parameter; see below.
|
110 |
<!-- README_GPTQ.md-download-from-branches end -->
|
@@ -117,7 +130,7 @@ It is strongly recommended to use the text-generation-webui one-click-installers
|
|
117 |
|
118 |
1. Click the **Model tab**.
|
119 |
2. Under **Download custom model or LoRA**, enter `TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ`.
|
120 |
-
- To download from a specific branch, enter for example `TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ:
|
121 |
- see Provided Files above for the list of branches for each option.
|
122 |
3. Click **Download**.
|
123 |
4. The model will start downloading. Once it's finished it will say "Done".
|
@@ -165,10 +178,10 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
|
165 |
|
166 |
model_name_or_path = "TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ"
|
167 |
# To use a different branch, change revision
|
168 |
-
# For example: revision="
|
169 |
model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
|
170 |
-
torch_dtype=torch.float16,
|
171 |
device_map="auto",
|
|
|
172 |
revision="main")
|
173 |
|
174 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
|
@@ -182,7 +195,7 @@ prompt_template=f'''### Human: {prompt}
|
|
182 |
print("\n\n*** Generate:")
|
183 |
|
184 |
input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
|
185 |
-
output = model.generate(inputs=input_ids, temperature=0.7, max_new_tokens=512)
|
186 |
print(tokenizer.decode(output[0]))
|
187 |
|
188 |
# Inference can also be done using transformers' pipeline
|
@@ -193,9 +206,11 @@ pipe = pipeline(
|
|
193 |
model=model,
|
194 |
tokenizer=tokenizer,
|
195 |
max_new_tokens=512,
|
|
|
196 |
temperature=0.7,
|
197 |
top_p=0.95,
|
198 |
-
|
|
|
199 |
)
|
200 |
|
201 |
print(pipe(prompt_template)[0]['generated_text'])
|
@@ -220,10 +235,12 @@ For further support, and discussions on these models and AI in general, join us
|
|
220 |
|
221 |
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
222 |
|
223 |
-
## Thanks, and how to contribute
|
224 |
|
225 |
Thanks to the [chirper.ai](https://chirper.ai) team!
|
226 |
|
|
|
|
|
227 |
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.
|
228 |
|
229 |
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.
|
@@ -235,7 +252,7 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
235 |
|
236 |
**Special thanks to**: Aemon Algiz.
|
237 |
|
238 |
-
**Patreon special mentions**:
|
239 |
|
240 |
|
241 |
Thank you to all my generous patrons and donaters!
|
@@ -246,6 +263,76 @@ And thank you again to a16z for their generous grant.
|
|
246 |
|
247 |
# Original model card: Mikael110's Llama2 70b Guanaco QLoRA
|
248 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
This is a Llama-2 version of [Guanaco](https://huggingface.co/timdettmers/guanaco-65b). It was finetuned from the base [Llama-70b](https://huggingface.co/meta-llama/Llama-2-70b-hf) model using the official training scripts found in the [QLoRA repo](https://github.com/artidoro/qlora). I wanted it to be as faithful as possible and therefore changed nothing in the training script beyond the model it was pointing to. The model prompt is therefore also the same as the original Guanaco model.
|
250 |
|
251 |
This repo contains the QLoRA adapter.
|
|
|
1 |
---
|
2 |
+
base_model: https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora
|
3 |
inference: false
|
4 |
language:
|
5 |
- en
|
6 |
+
license: other
|
7 |
model_creator: Mikael110
|
|
|
8 |
model_name: Llama2 70B Guanaco QLoRA
|
9 |
model_type: llama
|
10 |
pipeline_tag: text-classification
|
11 |
+
prompt_template: '### Human: {prompt}
|
12 |
+
|
13 |
+
### Assistant:
|
14 |
+
|
15 |
+
'
|
16 |
quantized_by: TheBloke
|
17 |
tags:
|
18 |
- llama-2
|
|
|
50 |
<!-- repositories-available start -->
|
51 |
## Repositories available
|
52 |
|
53 |
+
* [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-AWQ)
|
54 |
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ)
|
55 |
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF)
|
|
|
56 |
* [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-fp16)
|
57 |
* [Mikael110's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
58 |
<!-- repositories-available end -->
|
|
|
67 |
```
|
68 |
|
69 |
<!-- prompt-template end -->
|
70 |
+
<!-- licensing start -->
|
71 |
+
## Licensing
|
72 |
+
|
73 |
+
The creator of the source model has listed its license as `other`, and this quantization has therefore used that same license.
|
74 |
+
|
75 |
+
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.
|
76 |
|
77 |
+
In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [Mikael110's Llama2 70b Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora).
|
78 |
+
<!-- licensing end -->
|
79 |
<!-- README_GPTQ.md-provided-files start -->
|
80 |
## Provided files and GPTQ parameters
|
81 |
|
|
|
100 |
|
101 |
| Branch | Bits | GS | Act Order | Damp % | GPTQ Dataset | Seq Len | Size | ExLlama | Desc |
|
102 |
| ------ | ---- | -- | --------- | ------ | ------------ | ------- | ---- | ------- | ---- |
|
103 |
+
| [main](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/main) | 4 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 36.65 GB | Yes | 4-bit, without Act Order and group size 128g. |
|
104 |
+
| [gptq-4bit-32g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-4bit-32g-actorder_True) | 4 | 32 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 40.66 GB | Yes | 4-bit, with Act Order and group size 32g. Gives highest possible inference quality, with maximum VRAM usage. |
|
105 |
+
| [gptq-4bit-64g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-4bit-64g-actorder_True) | 4 | 64 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 37.99 GB | Yes | 4-bit, with Act Order and group size 64g. Uses less VRAM than 32g, but with slightly lower accuracy. |
|
106 |
+
| [gptq-4bit-128g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-4bit-128g-actorder_True) | 4 | 128 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 36.65 GB | Yes | 4-bit, with Act Order and group size 128g. Uses even less VRAM than 64g, but with slightly lower accuracy. |
|
107 |
| [gptq-3bit--1g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit--1g-actorder_True) | 3 | None | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 26.78 GB | No | 3-bit, with Act Order and no group size. Lowest possible VRAM requirements. May be lower quality than 3-bit 128g. |
|
108 |
| [gptq-3bit-128g-actorder_False](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit-128g-actorder_False) | 3 | 128 | No | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 28.03 GB | No | 3-bit, with group size 128g but no act-order. Slightly higher VRAM requirements than 3-bit None. |
|
109 |
+
| [gptq-3bit-128g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit-128g-actorder_True) | 3 | 128 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 28.03 GB | No | 3-bit, with group size 128g and act-order. Higher quality than 128g-False. |
|
110 |
+
| [gptq-3bit-64g-actorder_True](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ/tree/gptq-3bit-64g-actorder_True) | 3 | 64 | Yes | 0.01 | [wikitext](https://huggingface.co/datasets/wikitext/viewer/wikitext-2-v1/test) | 4096 | 29.30 GB | No | 3-bit, with group size 64g and act-order. |
|
111 |
|
112 |
<!-- README_GPTQ.md-provided-files end -->
|
113 |
|
114 |
<!-- README_GPTQ.md-download-from-branches start -->
|
115 |
## How to download from branches
|
116 |
|
117 |
+
- In text-generation-webui, you can add `:branch` to the end of the download name, eg `TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ:main`
|
118 |
- With Git, you can clone a branch with:
|
119 |
```
|
120 |
+
git clone --single-branch --branch main https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ
|
121 |
```
|
122 |
- In Python Transformers code, the branch is the `revision` parameter; see below.
|
123 |
<!-- README_GPTQ.md-download-from-branches end -->
|
|
|
130 |
|
131 |
1. Click the **Model tab**.
|
132 |
2. Under **Download custom model or LoRA**, enter `TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ`.
|
133 |
+
- To download from a specific branch, enter for example `TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ:main`
|
134 |
- see Provided Files above for the list of branches for each option.
|
135 |
3. Click **Download**.
|
136 |
4. The model will start downloading. Once it's finished it will say "Done".
|
|
|
178 |
|
179 |
model_name_or_path = "TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ"
|
180 |
# To use a different branch, change revision
|
181 |
+
# For example: revision="main"
|
182 |
model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
|
|
|
183 |
device_map="auto",
|
184 |
+
trust_remote_code=False,
|
185 |
revision="main")
|
186 |
|
187 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
|
|
|
195 |
print("\n\n*** Generate:")
|
196 |
|
197 |
input_ids = tokenizer(prompt_template, return_tensors='pt').input_ids.cuda()
|
198 |
+
output = model.generate(inputs=input_ids, temperature=0.7, do_sample=True, top_p=0.95, top_k=40, max_new_tokens=512)
|
199 |
print(tokenizer.decode(output[0]))
|
200 |
|
201 |
# Inference can also be done using transformers' pipeline
|
|
|
206 |
model=model,
|
207 |
tokenizer=tokenizer,
|
208 |
max_new_tokens=512,
|
209 |
+
do_sample=True,
|
210 |
temperature=0.7,
|
211 |
top_p=0.95,
|
212 |
+
top_k=40,
|
213 |
+
repetition_penalty=1.1
|
214 |
)
|
215 |
|
216 |
print(pipe(prompt_template)[0]['generated_text'])
|
|
|
235 |
|
236 |
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
237 |
|
238 |
+
## Thanks, and how to contribute
|
239 |
|
240 |
Thanks to the [chirper.ai](https://chirper.ai) team!
|
241 |
|
242 |
+
Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
|
243 |
+
|
244 |
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.
|
245 |
|
246 |
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.
|
|
|
252 |
|
253 |
**Special thanks to**: Aemon Algiz.
|
254 |
|
255 |
+
**Patreon special mentions**: Alicia Loh, Stephen Murray, K, Ajan Kanaga, RoA, Magnesian, Deo Leter, Olakabola, Eugene Pentland, zynix, Deep Realms, Raymond Fosdick, Elijah Stavena, Iucharbius, Erik Bjäreholt, Luis Javier Navarrete Lozano, Nicholas, theTransient, John Detwiler, alfie_i, knownsqashed, Mano Prime, Willem Michiel, Enrico Ros, LangChain4j, OG, Michael Dempsey, Pierre Kircher, Pedro Madruga, James Bentley, Thomas Belote, Luke @flexchar, Leonard Tan, Johann-Peter Hartmann, Illia Dulskyi, Fen Risland, Chadd, S_X, Jeff Scroggin, Ken Nordquist, Sean Connelly, Artur Olbinski, Swaroop Kallakuri, Jack West, Ai Maven, David Ziegler, Russ Johnson, transmissions 11, John Villwock, Alps Aficionado, Clay Pascal, Viktor Bowallius, Subspace Studios, Rainer Wilmers, Trenton Dambrowitz, vamX, Michael Levine, 준교 김, Brandon Frisco, Kalila, Trailburnt, Randy H, Talal Aujan, Nathan Dryer, Vadim, 阿明, ReadyPlayerEmma, Tiffany J. Kim, George Stoitzev, Spencer Kim, Jerry Meng, Gabriel Tamborski, Cory Kujawski, Jeffrey Morgan, Spiking Neurons AB, Edmond Seymore, Alexandros Triantafyllidis, Lone Striker, Cap'n Zoog, Nikolai Manek, danny, ya boyyy, Derek Yates, usrbinkat, Mandus, TL, Nathan LeClaire, subjectnull, Imad Khwaja, webtim, Raven Klaugh, Asp the Wyvern, Gabriel Puliatti, Caitlyn Gatomon, Joseph William Delisle, Jonathan Leane, Luke Pendergrass, SuperWojo, Sebastain Graf, Will Dee, Fred von Graf, Andrey, Dan Guido, Daniel P. Andersen, Nitin Borwankar, Elle, Vitor Caleffi, biorpg, jjj, NimbleBox.ai, Pieter, Matthew Berman, terasurfer, Michael Davis, Alex, Stanislav Ovsiannikov
|
256 |
|
257 |
|
258 |
Thank you to all my generous patrons and donaters!
|
|
|
263 |
|
264 |
# Original model card: Mikael110's Llama2 70b Guanaco QLoRA
|
265 |
|
266 |
+
|
267 |
+
<!-- header start -->
|
268 |
+
<div style="width: 100%;">
|
269 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
270 |
+
</div>
|
271 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
272 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
273 |
+
<p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
|
274 |
+
</div>
|
275 |
+
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
276 |
+
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
277 |
+
</div>
|
278 |
+
</div>
|
279 |
+
<!-- header end -->
|
280 |
+
|
281 |
+
# Llama2 70b Guanaco QLoRA - fp16
|
282 |
+
- Model creator: [Mikael110](https://huggingface.co/Mikael110)
|
283 |
+
- Original model: [Llama2 70b Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
284 |
+
|
285 |
+
# Mikael110's Llama2 70b Guanaco QLoRA fp16
|
286 |
+
|
287 |
+
These files are pytorch format fp16 model files for [Mikael110's Llama2 70b Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora).
|
288 |
+
|
289 |
+
It is the result of merging and/or converting the source repository to float16.
|
290 |
+
|
291 |
+
## Repositories available
|
292 |
+
|
293 |
+
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ)
|
294 |
+
* [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGML)
|
295 |
+
* [Merged fp16 model, for GPU inference and further conversions](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-fp16)
|
296 |
+
* [Mikael110's original QLoRA adapter](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
297 |
+
|
298 |
+
## Prompt template: Guanaco
|
299 |
+
|
300 |
+
```
|
301 |
+
### Human: {prompt}
|
302 |
+
### Assistant:
|
303 |
+
```
|
304 |
+
|
305 |
+
<!-- footer start -->
|
306 |
+
## Discord
|
307 |
+
|
308 |
+
For further support, and discussions on these models and AI in general, join us at:
|
309 |
+
|
310 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
311 |
+
|
312 |
+
## Thanks, and how to contribute.
|
313 |
+
|
314 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
315 |
+
|
316 |
+
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.
|
317 |
+
|
318 |
+
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.
|
319 |
+
|
320 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
321 |
+
|
322 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
323 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
324 |
+
|
325 |
+
**Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
|
326 |
+
|
327 |
+
**Patreon special mentions**: Slarti, Chadd, John Detwiler, Pieter, zynix, K, Mano Prime, ReadyPlayerEmma, Ai Maven, Leonard Tan, Edmond Seymore, Joseph William Delisle, Luke @flexchar, Fred von Graf, Viktor Bowallius, Rishabh Srivastava, Nikolai Manek, Matthew Berman, Johann-Peter Hartmann, ya boyyy, Greatston Gnanesh, Femi Adebogun, Talal Aujan, Jonathan Leane, terasurfer, David Flickinger, William Sang, Ajan Kanaga, Vadim, Artur Olbinski, Raven Klaugh, Michael Levine, Oscar Rangel, Randy H, Cory Kujawski, RoA, Dave, Alex, Alexandros Triantafyllidis, Fen Risland, Eugene Pentland, vamX, Elle, Nathan LeClaire, Khalefa Al-Ahmad, Rainer Wilmers, subjectnull, Junyu Yang, Daniel P. Andersen, SuperWojo, LangChain4j, Mandus, Kalila, Illia Dulskyi, Trenton Dambrowitz, Asp the Wyvern, Derek Yates, Jeffrey Morgan, Deep Realms, Imad Khwaja, Pyrater, Preetika Verma, biorpg, Gabriel Tamborski, Stephen Murray, Spiking Neurons AB, Iucharbius, Chris Smitley, Willem Michiel, Luke Pendergrass, Sebastain Graf, senxiiz, Will Dee, Space Cruiser, Karl Bernard, Clay Pascal, Lone Striker, transmissions 11, webtim, WelcomeToTheClub, Sam, theTransient, Pierre Kircher, chris gileta, John Villwock, Sean Connelly, Willian Hasse
|
328 |
+
|
329 |
+
|
330 |
+
Thank you to all my generous patrons and donaters!
|
331 |
+
|
332 |
+
<!-- footer end -->
|
333 |
+
|
334 |
+
# Original model card: Mikael110's Llama2 70b Guanaco QLoRA
|
335 |
+
|
336 |
This is a Llama-2 version of [Guanaco](https://huggingface.co/timdettmers/guanaco-65b). It was finetuned from the base [Llama-70b](https://huggingface.co/meta-llama/Llama-2-70b-hf) model using the official training scripts found in the [QLoRA repo](https://github.com/artidoro/qlora). I wanted it to be as faithful as possible and therefore changed nothing in the training script beyond the model it was pointing to. The model prompt is therefore also the same as the original Guanaco model.
|
337 |
|
338 |
This repo contains the QLoRA adapter.
|