Duplicate from TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF
Browse filesCo-authored-by: Tom Jobbins <[email protected]>
- .gitattributes +49 -0
- LICENSE.txt +126 -0
- Notice +1 -0
- README.md +406 -0
- USE_POLICY.md +50 -0
- config.json +3 -0
- llama-2-70b-guanaco-qlora.Q2_K.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q3_K_L.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q3_K_M.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q3_K_S.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q4_0.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q4_K_M.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q4_K_S.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q5_0.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q5_K_M.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q5_K_S.gguf +3 -0
- llama-2-70b-guanaco-qlora.Q6_K.gguf-split-a +3 -0
- llama-2-70b-guanaco-qlora.Q6_K.gguf-split-b +3 -0
- llama-2-70b-guanaco-qlora.Q8_0.gguf-split-a +3 -0
- llama-2-70b-guanaco-qlora.Q8_0.gguf-split-b +3 -0
.gitattributes
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
llama-2-70b-guanaco-qlora.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
llama-2-70b-guanaco-qlora.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
llama-2-70b-guanaco-qlora.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
llama-2-70b-guanaco-qlora.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
llama-2-70b-guanaco-qlora.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
llama-2-70b-guanaco-qlora.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
llama-2-70b-guanaco-qlora.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
llama-2-70b-guanaco-qlora.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
llama-2-70b-guanaco-qlora.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
llama-2-70b-guanaco-qlora.Q6_K.gguf-split-a filter=lfs diff=lfs merge=lfs -text
|
46 |
+
llama-2-70b-guanaco-qlora.Q6_K.gguf-split-b filter=lfs diff=lfs merge=lfs -text
|
47 |
+
llama-2-70b-guanaco-qlora.Q8_0.gguf-split-a filter=lfs diff=lfs merge=lfs -text
|
48 |
+
llama-2-70b-guanaco-qlora.Q8_0.gguf-split-b filter=lfs diff=lfs merge=lfs -text
|
49 |
+
llama-2-70b-guanaco-qlora.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
LICENSE.txt
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
LLAMA 2 COMMUNITY LICENSE AGREEMENT
|
2 |
+
Llama 2 Version Release Date: July 18, 2023
|
3 |
+
|
4 |
+
"Agreement" means the terms and conditions for use, reproduction, distribution and
|
5 |
+
modification of the Llama Materials set forth herein.
|
6 |
+
|
7 |
+
"Documentation" means the specifications, manuals and documentation
|
8 |
+
accompanying Llama 2 distributed by Meta at ai.meta.com/resources/models-and-
|
9 |
+
libraries/llama-downloads/.
|
10 |
+
|
11 |
+
"Licensee" or "you" means you, or your employer or any other person or entity (if
|
12 |
+
you are entering into this Agreement on such person or entity's behalf), of the age
|
13 |
+
required under applicable laws, rules or regulations to provide legal consent and that
|
14 |
+
has legal authority to bind your employer or such other person or entity if you are
|
15 |
+
entering in this Agreement on their behalf.
|
16 |
+
|
17 |
+
"Llama 2" means the foundational large language models and software and
|
18 |
+
algorithms, including machine-learning model code, trained model weights,
|
19 |
+
inference-enabling code, training-enabling code, fine-tuning enabling code and other
|
20 |
+
elements of the foregoing distributed by Meta at ai.meta.com/resources/models-and-
|
21 |
+
libraries/llama-downloads/.
|
22 |
+
|
23 |
+
"Llama Materials" means, collectively, Meta's proprietary Llama 2 and
|
24 |
+
Documentation (and any portion thereof) made available under this Agreement.
|
25 |
+
|
26 |
+
"Meta" or "we" means Meta Platforms Ireland Limited (if you are located in or, if you
|
27 |
+
are an entity, your principal place of business is in the EEA or Switzerland) and Meta
|
28 |
+
Platforms, Inc. (if you are located outside of the EEA or Switzerland).
|
29 |
+
|
30 |
+
By clicking "I Accept" below or by using or distributing any portion or element of the
|
31 |
+
Llama Materials, you agree to be bound by this Agreement.
|
32 |
+
|
33 |
+
1. License Rights and Redistribution.
|
34 |
+
|
35 |
+
a. Grant of Rights. You are granted a non-exclusive, worldwide, non-
|
36 |
+
transferable and royalty-free limited license under Meta's intellectual property or
|
37 |
+
other rights owned by Meta embodied in the Llama Materials to use, reproduce,
|
38 |
+
distribute, copy, create derivative works of, and make modifications to the Llama
|
39 |
+
Materials.
|
40 |
+
|
41 |
+
b. Redistribution and Use.
|
42 |
+
|
43 |
+
i. If you distribute or make the Llama Materials, or any derivative works
|
44 |
+
thereof, available to a third party, you shall provide a copy of this Agreement to such
|
45 |
+
third party.
|
46 |
+
ii. If you receive Llama Materials, or any derivative works thereof, from
|
47 |
+
a Licensee as part of an integrated end user product, then Section 2 of this
|
48 |
+
Agreement will not apply to you.
|
49 |
+
|
50 |
+
iii. You must retain in all copies of the Llama Materials that you
|
51 |
+
distribute the following attribution notice within a "Notice" text file distributed as a
|
52 |
+
part of such copies: "Llama 2 is licensed under the LLAMA 2 Community License,
|
53 |
+
Copyright (c) Meta Platforms, Inc. All Rights Reserved."
|
54 |
+
|
55 |
+
iv. Your use of the Llama Materials must comply with applicable laws
|
56 |
+
and regulations (including trade compliance laws and regulations) and adhere to the
|
57 |
+
Acceptable Use Policy for the Llama Materials (available at
|
58 |
+
https://ai.meta.com/llama/use-policy), which is hereby incorporated by reference into
|
59 |
+
this Agreement.
|
60 |
+
|
61 |
+
v. You will not use the Llama Materials or any output or results of the
|
62 |
+
Llama Materials to improve any other large language model (excluding Llama 2 or
|
63 |
+
derivative works thereof).
|
64 |
+
|
65 |
+
2. Additional Commercial Terms. If, on the Llama 2 version release date, the
|
66 |
+
monthly active users of the products or services made available by or for Licensee,
|
67 |
+
or Licensee's affiliates, is greater than 700 million monthly active users in the
|
68 |
+
preceding calendar month, you must request a license from Meta, which Meta may
|
69 |
+
grant to you in its sole discretion, and you are not authorized to exercise any of the
|
70 |
+
rights under this Agreement unless or until Meta otherwise expressly grants you
|
71 |
+
such rights.
|
72 |
+
|
73 |
+
3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE
|
74 |
+
LLAMA MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE
|
75 |
+
PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
|
76 |
+
EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY
|
77 |
+
WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR
|
78 |
+
FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE
|
79 |
+
FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING
|
80 |
+
THE LLAMA MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR
|
81 |
+
USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.
|
82 |
+
|
83 |
+
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE
|
84 |
+
LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT,
|
85 |
+
NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS
|
86 |
+
AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL,
|
87 |
+
CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN
|
88 |
+
IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF
|
89 |
+
ANY OF THE FOREGOING.
|
90 |
+
|
91 |
+
5. Intellectual Property.
|
92 |
+
|
93 |
+
a. No trademark licenses are granted under this Agreement, and in
|
94 |
+
connection with the Llama Materials, neither Meta nor Licensee may use any name
|
95 |
+
or mark owned by or associated with the other or any of its affiliates, except as
|
96 |
+
required for reasonable and customary use in describing and redistributing the
|
97 |
+
Llama Materials.
|
98 |
+
|
99 |
+
b. Subject to Meta's ownership of Llama Materials and derivatives made by or
|
100 |
+
for Meta, with respect to any derivative works and modifications of the Llama
|
101 |
+
Materials that are made by you, as between you and Meta, you are and will be the
|
102 |
+
owner of such derivative works and modifications.
|
103 |
+
|
104 |
+
c. If you institute litigation or other proceedings against Meta or any entity
|
105 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that the Llama
|
106 |
+
Materials or Llama 2 outputs or results, or any portion of any of the foregoing,
|
107 |
+
constitutes infringement of intellectual property or other rights owned or licensable
|
108 |
+
by you, then any licenses granted to you under this Agreement shall terminate as of
|
109 |
+
the date such litigation or claim is filed or instituted. You will indemnify and hold
|
110 |
+
harmless Meta from and against any claim by any third party arising out of or related
|
111 |
+
to your use or distribution of the Llama Materials.
|
112 |
+
|
113 |
+
6. Term and Termination. The term of this Agreement will commence upon your
|
114 |
+
acceptance of this Agreement or access to the Llama Materials and will continue in
|
115 |
+
full force and effect until terminated in accordance with the terms and conditions
|
116 |
+
herein. Meta may terminate this Agreement if you are in breach of any term or
|
117 |
+
condition of this Agreement. Upon termination of this Agreement, you shall delete
|
118 |
+
and cease use of the Llama Materials. Sections 3, 4 and 7 shall survive the
|
119 |
+
termination of this Agreement.
|
120 |
+
|
121 |
+
7. Governing Law and Jurisdiction. This Agreement will be governed and
|
122 |
+
construed under the laws of the State of California without regard to choice of law
|
123 |
+
principles, and the UN Convention on Contracts for the International Sale of Goods
|
124 |
+
does not apply to this Agreement. The courts of California shall have exclusive
|
125 |
+
jurisdiction of any dispute arising out of this Agreement.
|
126 |
+
|
Notice
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Llama 2 is licensed under the LLAMA 2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.
|
README.md
ADDED
@@ -0,0 +1,406 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: other
|
5 |
+
tags:
|
6 |
+
- llama-2
|
7 |
+
model_name: Llama2 70B Guanaco QLoRA
|
8 |
+
base_model: Mikael110/llama-2-70b-guanaco-qlora
|
9 |
+
inference: false
|
10 |
+
model_creator: Mikael110
|
11 |
+
model_type: llama
|
12 |
+
pipeline_tag: text-classification
|
13 |
+
prompt_template: '### Human: {prompt}
|
14 |
+
|
15 |
+
### Assistant:
|
16 |
+
|
17 |
+
'
|
18 |
+
quantized_by: TheBloke
|
19 |
+
---
|
20 |
+
|
21 |
+
<!-- header start -->
|
22 |
+
<!-- 200823 -->
|
23 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
24 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
25 |
+
</div>
|
26 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
27 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
28 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
|
29 |
+
</div>
|
30 |
+
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
31 |
+
<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>
|
32 |
+
</div>
|
33 |
+
</div>
|
34 |
+
<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>
|
35 |
+
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
36 |
+
<!-- header end -->
|
37 |
+
|
38 |
+
# Llama2 70B Guanaco QLoRA - GGUF
|
39 |
+
- Model creator: [Mikael110](https://huggingface.co/Mikael110)
|
40 |
+
- Original model: [Llama2 70B Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
41 |
+
|
42 |
+
<!-- description start -->
|
43 |
+
## Description
|
44 |
+
|
45 |
+
This repo contains GGUF format model files for [Mikael110's Llama2 70b Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora).
|
46 |
+
|
47 |
+
<!-- description end -->
|
48 |
+
<!-- README_GGUF.md-about-gguf start -->
|
49 |
+
### About GGUF
|
50 |
+
|
51 |
+
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. GGUF offers numerous advantages over GGML, such as better tokenisation, and support for special tokens. It is also supports metadata, and is designed to be extensible.
|
52 |
+
|
53 |
+
Here is an incomplate list of clients and libraries that are known to support GGUF:
|
54 |
+
|
55 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
|
56 |
+
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
|
57 |
+
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
|
58 |
+
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
|
59 |
+
* [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
|
60 |
+
* [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
|
61 |
+
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
|
62 |
+
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
|
63 |
+
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
|
64 |
+
|
65 |
+
<!-- README_GGUF.md-about-gguf end -->
|
66 |
+
<!-- repositories-available start -->
|
67 |
+
## Repositories available
|
68 |
+
|
69 |
+
* [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-AWQ)
|
70 |
+
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ)
|
71 |
+
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF)
|
72 |
+
* [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-fp16)
|
73 |
+
* [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)
|
74 |
+
<!-- repositories-available end -->
|
75 |
+
|
76 |
+
<!-- prompt-template start -->
|
77 |
+
## Prompt template: Guanaco
|
78 |
+
|
79 |
+
```
|
80 |
+
### Human: {prompt}
|
81 |
+
### Assistant:
|
82 |
+
|
83 |
+
```
|
84 |
+
|
85 |
+
<!-- prompt-template end -->
|
86 |
+
<!-- licensing start -->
|
87 |
+
## Licensing
|
88 |
+
|
89 |
+
The creator of the source model has listed its license as `other`, and this quantization has therefore used that same license.
|
90 |
+
|
91 |
+
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.
|
92 |
+
|
93 |
+
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).
|
94 |
+
<!-- licensing end -->
|
95 |
+
<!-- compatibility_gguf start -->
|
96 |
+
## Compatibility
|
97 |
+
|
98 |
+
These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221)
|
99 |
+
|
100 |
+
They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
|
101 |
+
|
102 |
+
## Explanation of quantisation methods
|
103 |
+
<details>
|
104 |
+
<summary>Click to see details</summary>
|
105 |
+
|
106 |
+
The new methods available are:
|
107 |
+
* 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)
|
108 |
+
* 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.
|
109 |
+
* 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.
|
110 |
+
* GGML_TYPE_Q5_K - "type-1" 5-bit quantization. Same super-block structure as GGML_TYPE_Q4_K resulting in 5.5 bpw
|
111 |
+
* 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
|
112 |
+
|
113 |
+
Refer to the Provided Files table below to see what files use which methods, and how.
|
114 |
+
</details>
|
115 |
+
<!-- compatibility_gguf end -->
|
116 |
+
|
117 |
+
<!-- README_GGUF.md-provided-files start -->
|
118 |
+
## Provided files
|
119 |
+
|
120 |
+
| Name | Quant method | Bits | Size | Max RAM required | Use case |
|
121 |
+
| ---- | ---- | ---- | ---- | ---- | ----- |
|
122 |
+
| [llama-2-70b-guanaco-qlora.Q2_K.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q2_K.gguf) | Q2_K | 2 | 29.28 GB| 31.78 GB | smallest, significant quality loss - not recommended for most purposes |
|
123 |
+
| [llama-2-70b-guanaco-qlora.Q3_K_S.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q3_K_S.gguf) | Q3_K_S | 3 | 29.92 GB| 32.42 GB | very small, high quality loss |
|
124 |
+
| [llama-2-70b-guanaco-qlora.Q3_K_M.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q3_K_M.gguf) | Q3_K_M | 3 | 33.19 GB| 35.69 GB | very small, high quality loss |
|
125 |
+
| [llama-2-70b-guanaco-qlora.Q3_K_L.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q3_K_L.gguf) | Q3_K_L | 3 | 36.15 GB| 38.65 GB | small, substantial quality loss |
|
126 |
+
| [llama-2-70b-guanaco-qlora.Q4_0.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q4_0.gguf) | Q4_0 | 4 | 38.87 GB| 41.37 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
127 |
+
| [llama-2-70b-guanaco-qlora.Q4_K_S.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q4_K_S.gguf) | Q4_K_S | 4 | 39.07 GB| 41.57 GB | small, greater quality loss |
|
128 |
+
| [llama-2-70b-guanaco-qlora.Q4_K_M.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q4_K_M.gguf) | Q4_K_M | 4 | 41.42 GB| 43.92 GB | medium, balanced quality - recommended |
|
129 |
+
| [llama-2-70b-guanaco-qlora.Q5_0.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q5_0.gguf) | Q5_0 | 5 | 47.46 GB| 49.96 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
130 |
+
| [llama-2-70b-guanaco-qlora.Q5_K_S.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q5_K_S.gguf) | Q5_K_S | 5 | 47.46 GB| 49.96 GB | large, low quality loss - recommended |
|
131 |
+
| [llama-2-70b-guanaco-qlora.Q5_K_M.gguf](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF/blob/main/llama-2-70b-guanaco-qlora.Q5_K_M.gguf) | Q5_K_M | 5 | 48.75 GB| 51.25 GB | large, very low quality loss - recommended |
|
132 |
+
| llama-2-70b-guanaco-qlora.Q6_K.gguf | Q6_K | 6 | 56.59 GB| 59.09 GB | very large, extremely low quality loss |
|
133 |
+
| llama-2-70b-guanaco-qlora.Q8_0.gguf | Q8_0 | 8 | 73.29 GB| 75.79 GB | very large, extremely low quality loss - not recommended |
|
134 |
+
|
135 |
+
**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.
|
136 |
+
|
137 |
+
### Q6_K and Q8_0 files are split and require joining
|
138 |
+
|
139 |
+
**Note:** HF does not support uploading files larger than 50GB. Therefore I have uploaded the Q6_K and Q8_0 files as split files.
|
140 |
+
|
141 |
+
<details>
|
142 |
+
<summary>Click for instructions regarding Q6_K and Q8_0 files</summary>
|
143 |
+
|
144 |
+
### q6_K
|
145 |
+
Please download:
|
146 |
+
* `llama-2-70b-guanaco-qlora.Q6_K.gguf-split-a`
|
147 |
+
* `llama-2-70b-guanaco-qlora.Q6_K.gguf-split-b`
|
148 |
+
|
149 |
+
### q8_0
|
150 |
+
Please download:
|
151 |
+
* `llama-2-70b-guanaco-qlora.Q8_0.gguf-split-a`
|
152 |
+
* `llama-2-70b-guanaco-qlora.Q8_0.gguf-split-b`
|
153 |
+
|
154 |
+
To join the files, do the following:
|
155 |
+
|
156 |
+
Linux and macOS:
|
157 |
+
```
|
158 |
+
cat llama-2-70b-guanaco-qlora.Q6_K.gguf-split-* > llama-2-70b-guanaco-qlora.Q6_K.gguf && rm llama-2-70b-guanaco-qlora.Q6_K.gguf-split-*
|
159 |
+
cat llama-2-70b-guanaco-qlora.Q8_0.gguf-split-* > llama-2-70b-guanaco-qlora.Q8_0.gguf && rm llama-2-70b-guanaco-qlora.Q8_0.gguf-split-*
|
160 |
+
```
|
161 |
+
Windows command line:
|
162 |
+
```
|
163 |
+
COPY /B llama-2-70b-guanaco-qlora.Q6_K.gguf-split-a + llama-2-70b-guanaco-qlora.Q6_K.gguf-split-b llama-2-70b-guanaco-qlora.Q6_K.gguf
|
164 |
+
del llama-2-70b-guanaco-qlora.Q6_K.gguf-split-a llama-2-70b-guanaco-qlora.Q6_K.gguf-split-b
|
165 |
+
|
166 |
+
COPY /B llama-2-70b-guanaco-qlora.Q8_0.gguf-split-a + llama-2-70b-guanaco-qlora.Q8_0.gguf-split-b llama-2-70b-guanaco-qlora.Q8_0.gguf
|
167 |
+
del llama-2-70b-guanaco-qlora.Q8_0.gguf-split-a llama-2-70b-guanaco-qlora.Q8_0.gguf-split-b
|
168 |
+
```
|
169 |
+
|
170 |
+
</details>
|
171 |
+
<!-- README_GGUF.md-provided-files end -->
|
172 |
+
|
173 |
+
<!-- README_GGUF.md-how-to-download start -->
|
174 |
+
## How to download GGUF files
|
175 |
+
|
176 |
+
**Note for manual downloaders:** You almost never want to clone the entire repo! Multiple different quantisation formats are provided, and most users only want to pick and download a single file.
|
177 |
+
|
178 |
+
The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
|
179 |
+
- LM Studio
|
180 |
+
- LoLLMS Web UI
|
181 |
+
- Faraday.dev
|
182 |
+
|
183 |
+
### In `text-generation-webui`
|
184 |
+
|
185 |
+
Under Download Model, you can enter the model repo: TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF and below it, a specific filename to download, such as: llama-2-70b-guanaco-qlora.q4_K_M.gguf.
|
186 |
+
|
187 |
+
Then click Download.
|
188 |
+
|
189 |
+
### On the command line, including multiple files at once
|
190 |
+
|
191 |
+
I recommend using the `huggingface-hub` Python library:
|
192 |
+
|
193 |
+
```shell
|
194 |
+
pip3 install huggingface-hub>=0.17.1
|
195 |
+
```
|
196 |
+
|
197 |
+
Then you can download any individual model file to the current directory, at high speed, with a command like this:
|
198 |
+
|
199 |
+
```shell
|
200 |
+
huggingface-cli download TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF llama-2-70b-guanaco-qlora.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
201 |
+
```
|
202 |
+
|
203 |
+
<details>
|
204 |
+
<summary>More advanced huggingface-cli download usage</summary>
|
205 |
+
|
206 |
+
You can also download multiple files at once with a pattern:
|
207 |
+
|
208 |
+
```shell
|
209 |
+
huggingface-cli download TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
210 |
+
```
|
211 |
+
|
212 |
+
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).
|
213 |
+
|
214 |
+
To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
|
215 |
+
|
216 |
+
```shell
|
217 |
+
pip3 install hf_transfer
|
218 |
+
```
|
219 |
+
|
220 |
+
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
221 |
+
|
222 |
+
```shell
|
223 |
+
HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF llama-2-70b-guanaco-qlora.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
224 |
+
```
|
225 |
+
|
226 |
+
Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
|
227 |
+
</details>
|
228 |
+
<!-- README_GGUF.md-how-to-download end -->
|
229 |
+
|
230 |
+
<!-- README_GGUF.md-how-to-run start -->
|
231 |
+
## Example `llama.cpp` command
|
232 |
+
|
233 |
+
Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
|
234 |
+
|
235 |
+
```shell
|
236 |
+
./main -ngl 32 -m llama-2-70b-guanaco-qlora.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Human: {prompt}\n### Assistant:"
|
237 |
+
```
|
238 |
+
|
239 |
+
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
240 |
+
|
241 |
+
Change `-c 4096` to the desired sequence length. 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.
|
242 |
+
|
243 |
+
If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
|
244 |
+
|
245 |
+
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)
|
246 |
+
|
247 |
+
## How to run in `text-generation-webui`
|
248 |
+
|
249 |
+
Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
|
250 |
+
|
251 |
+
## How to run from Python code
|
252 |
+
|
253 |
+
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.
|
254 |
+
|
255 |
+
### How to load this model from Python using ctransformers
|
256 |
+
|
257 |
+
#### First install the package
|
258 |
+
|
259 |
+
```bash
|
260 |
+
# Base ctransformers with no GPU acceleration
|
261 |
+
pip install ctransformers>=0.2.24
|
262 |
+
# Or with CUDA GPU acceleration
|
263 |
+
pip install ctransformers[cuda]>=0.2.24
|
264 |
+
# Or with ROCm GPU acceleration
|
265 |
+
CT_HIPBLAS=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
266 |
+
# Or with Metal GPU acceleration for macOS systems
|
267 |
+
CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
268 |
+
```
|
269 |
+
|
270 |
+
#### Simple example code to load one of these GGUF models
|
271 |
+
|
272 |
+
```python
|
273 |
+
from ctransformers import AutoModelForCausalLM
|
274 |
+
|
275 |
+
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
276 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/llama-2-70b-Guanaco-QLoRA-GGUF", model_file="llama-2-70b-guanaco-qlora.q4_K_M.gguf", model_type="llama", gpu_layers=50)
|
277 |
+
|
278 |
+
print(llm("AI is going to"))
|
279 |
+
```
|
280 |
+
|
281 |
+
## How to use with LangChain
|
282 |
+
|
283 |
+
Here's guides on using llama-cpp-python or ctransformers with LangChain:
|
284 |
+
|
285 |
+
* [LangChain + llama-cpp-python](https://python.langchain.com/docs/integrations/llms/llamacpp)
|
286 |
+
* [LangChain + ctransformers](https://python.langchain.com/docs/integrations/providers/ctransformers)
|
287 |
+
|
288 |
+
<!-- README_GGUF.md-how-to-run end -->
|
289 |
+
|
290 |
+
<!-- footer start -->
|
291 |
+
<!-- 200823 -->
|
292 |
+
## Discord
|
293 |
+
|
294 |
+
For further support, and discussions on these models and AI in general, join us at:
|
295 |
+
|
296 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
297 |
+
|
298 |
+
## Thanks, and how to contribute
|
299 |
+
|
300 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
301 |
+
|
302 |
+
Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
|
303 |
+
|
304 |
+
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.
|
305 |
+
|
306 |
+
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.
|
307 |
+
|
308 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
309 |
+
|
310 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
311 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
312 |
+
|
313 |
+
**Special thanks to**: Aemon Algiz.
|
314 |
+
|
315 |
+
**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
|
316 |
+
|
317 |
+
|
318 |
+
Thank you to all my generous patrons and donaters!
|
319 |
+
|
320 |
+
And thank you again to a16z for their generous grant.
|
321 |
+
|
322 |
+
<!-- footer end -->
|
323 |
+
|
324 |
+
<!-- original-model-card start -->
|
325 |
+
# Original model card: Mikael110's Llama2 70b Guanaco QLoRA
|
326 |
+
|
327 |
+
|
328 |
+
<!-- header start -->
|
329 |
+
<div style="width: 100%;">
|
330 |
+
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
331 |
+
</div>
|
332 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
333 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
334 |
+
<p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
|
335 |
+
</div>
|
336 |
+
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
337 |
+
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
338 |
+
</div>
|
339 |
+
</div>
|
340 |
+
<!-- header end -->
|
341 |
+
|
342 |
+
# Llama2 70b Guanaco QLoRA - fp16
|
343 |
+
- Model creator: [Mikael110](https://huggingface.co/Mikael110)
|
344 |
+
- Original model: [Llama2 70b Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
345 |
+
|
346 |
+
# Mikael110's Llama2 70b Guanaco QLoRA fp16
|
347 |
+
|
348 |
+
These files are pytorch format fp16 model files for [Mikael110's Llama2 70b Guanaco QLoRA](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora).
|
349 |
+
|
350 |
+
It is the result of merging and/or converting the source repository to float16.
|
351 |
+
|
352 |
+
## Repositories available
|
353 |
+
|
354 |
+
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GPTQ)
|
355 |
+
* [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGML)
|
356 |
+
* [Merged fp16 model, for GPU inference and further conversions](https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-fp16)
|
357 |
+
* [Mikael110's original QLoRA adapter](https://huggingface.co/Mikael110/llama-2-70b-guanaco-qlora)
|
358 |
+
|
359 |
+
## Prompt template: Guanaco
|
360 |
+
|
361 |
+
```
|
362 |
+
### Human: {prompt}
|
363 |
+
### Assistant:
|
364 |
+
```
|
365 |
+
|
366 |
+
<!-- footer start -->
|
367 |
+
## Discord
|
368 |
+
|
369 |
+
For further support, and discussions on these models and AI in general, join us at:
|
370 |
+
|
371 |
+
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
372 |
+
|
373 |
+
## Thanks, and how to contribute.
|
374 |
+
|
375 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
376 |
+
|
377 |
+
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.
|
378 |
+
|
379 |
+
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.
|
380 |
+
|
381 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
382 |
+
|
383 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
384 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
385 |
+
|
386 |
+
**Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
|
387 |
+
|
388 |
+
**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
|
389 |
+
|
390 |
+
|
391 |
+
Thank you to all my generous patrons and donaters!
|
392 |
+
|
393 |
+
<!-- footer end -->
|
394 |
+
|
395 |
+
# Original model card: Mikael110's Llama2 70b Guanaco QLoRA
|
396 |
+
|
397 |
+
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.
|
398 |
+
|
399 |
+
This repo contains the QLoRA adapter.
|
400 |
+
|
401 |
+
A 7b version of the adapter can be found [here](https://huggingface.co/Mikael110/llama-2-7b-guanaco-qlora).
|
402 |
+
A 13b version of the adapter can be found [here](https://huggingface.co/Mikael110/llama-2-13b-guanaco-qlora).
|
403 |
+
|
404 |
+
**Legal Disclaimer: This model is bound by the usage restrictions of the original Llama-2 model. And comes with no warranty or gurantees of any kind.**
|
405 |
+
|
406 |
+
<!-- original-model-card end -->
|
USE_POLICY.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Llama 2 Acceptable Use Policy
|
2 |
+
|
3 |
+
Meta is committed to promoting safe and fair use of its tools and features, including Llama 2. If you access or use Llama 2, you agree to this Acceptable Use Policy (“Policy”). The most recent copy of this policy can be found at [ai.meta.com/llama/use-policy](http://ai.meta.com/llama/use-policy).
|
4 |
+
|
5 |
+
## Prohibited Uses
|
6 |
+
We want everyone to use Llama 2 safely and responsibly. You agree you will not use, or allow others to use, Llama 2 to:
|
7 |
+
|
8 |
+
1. Violate the law or others’ rights, including to:
|
9 |
+
1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
|
10 |
+
1. Violence or terrorism
|
11 |
+
2. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material
|
12 |
+
3. Human trafficking, exploitation, and sexual violence
|
13 |
+
4. The illegal distribution of information or materials to minors, including obscene materials, or failure to employ legally required age-gating in connection with such information or materials.
|
14 |
+
5. Sexual solicitation
|
15 |
+
6. Any other criminal activity
|
16 |
+
2. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
|
17 |
+
3. Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful conduct in the provision of employment, employment benefits, credit, housing, other economic benefits, or other essential goods and services
|
18 |
+
4. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
|
19 |
+
5. Collect, process, disclose, generate, or infer health, demographic, or other sensitive personal or private information about individuals without rights and consents required by applicable laws
|
20 |
+
6. Engage in or facilitate any action or generate any content that infringes, misappropriates, or otherwise violates any third-party rights, including the outputs or results of any products or services using the Llama 2 Materials
|
21 |
+
7. Create, generate, or facilitate the creation of malicious code, malware, computer viruses or do anything else that could disable, overburden, interfere with or impair the proper working, integrity, operation or appearance of a website or computer system
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
2. Engage in, promote, incite, facilitate, or assist in the planning or development of activities that present a risk of death or bodily harm to individuals, including use of Llama 2 related to the following:
|
26 |
+
1. Military, warfare, nuclear industries or applications, espionage, use for materials or activities that are subject to the International Traffic Arms Regulations (ITAR) maintained by the United States Department of State
|
27 |
+
2. Guns and illegal weapons (including weapon development)
|
28 |
+
3. Illegal drugs and regulated/controlled substances
|
29 |
+
4. Operation of critical infrastructure, transportation technologies, or heavy machinery
|
30 |
+
5. Self-harm or harm to others, including suicide, cutting, and eating disorders
|
31 |
+
6. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
3. Intentionally deceive or mislead others, including use of Llama 2 related to the following:
|
36 |
+
1. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
|
37 |
+
2. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
|
38 |
+
3. Generating, promoting, or further distributing spam
|
39 |
+
4. Impersonating another individual without consent, authorization, or legal right
|
40 |
+
5. Representing that the use of Llama 2 or outputs are human-generated
|
41 |
+
6. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement
|
42 |
+
4. Fail to appropriately disclose to end users any known dangers of your AI system
|
43 |
+
|
44 |
+
Please report any violation of this Policy, software “bug,” or other problems that could lead to a violation of this Policy through one of the following means:
|
45 |
+
|
46 |
+
* Reporting issues with the model: [github.com/facebookresearch/llama](http://github.com/facebookresearch/llama)
|
47 |
+
* Reporting risky content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)
|
48 |
+
* Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info)
|
49 |
+
* Reporting violations of the Acceptable Use Policy or unlicensed uses of Llama: [[email protected]](mailto:[email protected])
|
50 |
+
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "llama"
|
3 |
+
}
|
llama-2-70b-guanaco-qlora.Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b41297033bf164c565ffd61d724825bf337f1ece9ed7967d0e62b66c83b87e4
|
3 |
+
size 29279253440
|
llama-2-70b-guanaco-qlora.Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec3f214b34e790b199143b978c1e4987b45fd58813e9f9368b10706c7d94e33f
|
3 |
+
size 36147835840
|
llama-2-70b-guanaco-qlora.Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcfe35ae459dea87143f284351ef719fe036a5be74cd88567967a670c95b7069
|
3 |
+
size 33186657216
|
llama-2-70b-guanaco-qlora.Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:589449c3769b7cd1c5183b0bf5d4bb6d3fdd73cb613bdbcf6aee95ab1eff7a21
|
3 |
+
size 29919294400
|
llama-2-70b-guanaco-qlora.Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0ca9d1ba4e454f4686b21303e78963cbeeb67d14b99134a92436153f2945f77
|
3 |
+
size 38872249280
|
llama-2-70b-guanaco-qlora.Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02b19daa77e9a5a0b2215b73ade20d41fe279f86999abb91a85a7c4e1efe5ac9
|
3 |
+
size 41422910400
|
llama-2-70b-guanaco-qlora.Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bf62014b1d80ad0ca5fdad73635d54cb59207c2042212dc9a2306ef2272c29b
|
3 |
+
size 39073575872
|
llama-2-70b-guanaco-qlora.Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b675dd8e8fcc022095800c076ca4304a044a329bd1b7dd252d360a7c808618c4
|
3 |
+
size 47461397440
|
llama-2-70b-guanaco-qlora.Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ce64c553d2552ba8216880c6fb4624718803e113dfe797672ce03cfa741eea8
|
3 |
+
size 48753767360
|
llama-2-70b-guanaco-qlora.Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b401331fbbceffe5f40092255980df2014c273b212b620c7d87e5cb72af979ac
|
3 |
+
size 47461397440
|
llama-2-70b-guanaco-qlora.Q6_K.gguf-split-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fc47c85923f71eda11ecb1849a28ed41a1a2dbaa7efa1d46b3ddf9860ebc21b
|
3 |
+
size 36700160000
|
llama-2-70b-guanaco-qlora.Q6_K.gguf-split-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:458a6e1127a3de48be105c88f61304a9b93951716800f444664b7315065e5441
|
3 |
+
size 19887207360
|
llama-2-70b-guanaco-qlora.Q8_0.gguf-split-a
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1840ee8ab94d03fdc31ab67a6e85b03cd0d99a4a08fe8304efa5c397b7cf6119
|
3 |
+
size 36700160000
|
llama-2-70b-guanaco-qlora.Q8_0.gguf-split-b
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d1e52e738aea7cdf4c2a32b03f726c1a22133a78b813f5d79949c519e5c64b8
|
3 |
+
size 36592169920
|