Upload README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,26 @@
|
|
1 |
---
|
|
|
2 |
inference: false
|
3 |
language:
|
4 |
- en
|
5 |
library_name: transformers
|
6 |
license: llama2
|
7 |
model_creator: Pankaj Mathur
|
8 |
-
model_link: https://huggingface.co/psmathur/model_007
|
9 |
model_name: Model 007 70B
|
10 |
model_type: llama
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
quantized_by: TheBloke
|
12 |
---
|
13 |
|
@@ -32,23 +45,25 @@ quantized_by: TheBloke
|
|
32 |
- Model creator: [Pankaj Mathur](https://huggingface.co/psmathur)
|
33 |
- Original model: [Model 007 70B](https://huggingface.co/psmathur/model_007)
|
34 |
|
|
|
35 |
## Description
|
36 |
|
37 |
This repo contains GGUF format model files for [Pankaj Mathur's Model 007 70B](https://huggingface.co/psmathur/model_007).
|
38 |
|
|
|
39 |
<!-- README_GGUF.md-about-gguf start -->
|
40 |
### About GGUF
|
41 |
|
42 |
-
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.
|
43 |
|
44 |
-
|
45 |
|
46 |
-
|
47 |
-
* [
|
48 |
-
* [
|
49 |
-
* [
|
50 |
-
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI with GPU acceleration on both Windows (NVidia and AMD), and macOS.
|
51 |
* [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.
|
|
|
52 |
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
|
53 |
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
|
54 |
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
|
@@ -57,9 +72,9 @@ Here are a list of clients and libraries that are known to support GGUF:
|
|
57 |
<!-- repositories-available start -->
|
58 |
## Repositories available
|
59 |
|
|
|
60 |
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/model_007-70B-GPTQ)
|
61 |
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/model_007-70B-GGUF)
|
62 |
-
* [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/model_007-70B-GGML)
|
63 |
* [Pankaj Mathur's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/psmathur/model_007)
|
64 |
<!-- repositories-available end -->
|
65 |
|
@@ -78,12 +93,14 @@ Here are a list of clients and libraries that are known to support GGUF:
|
|
78 |
```
|
79 |
|
80 |
<!-- prompt-template end -->
|
|
|
|
|
81 |
<!-- compatibility_gguf start -->
|
82 |
## Compatibility
|
83 |
|
84 |
-
These quantised
|
85 |
|
86 |
-
They are
|
87 |
|
88 |
## Explanation of quantisation methods
|
89 |
<details>
|
@@ -156,21 +173,75 @@ del model_007-70b.Q8_0.gguf-split-a model_007-70b.Q8_0.gguf-split-b
|
|
156 |
</details>
|
157 |
<!-- README_GGUF.md-provided-files end -->
|
158 |
|
159 |
-
<!-- README_GGUF.md-how-to-
|
160 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
|
162 |
-
|
163 |
|
164 |
-
|
165 |
|
|
|
|
|
|
|
|
|
166 |
```
|
167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
```
|
169 |
-
Change `-t 10` to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use `-t 8`. If offloading all layers to GPU, set `-t 1`.
|
170 |
|
171 |
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
172 |
|
173 |
-
Change `-c 4096` to the desired sequence length
|
174 |
|
175 |
If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
|
176 |
|
@@ -227,10 +298,12 @@ For further support, and discussions on these models and AI in general, join us
|
|
227 |
|
228 |
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
229 |
|
230 |
-
## Thanks, and how to contribute
|
231 |
|
232 |
Thanks to the [chirper.ai](https://chirper.ai) team!
|
233 |
|
|
|
|
|
234 |
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.
|
235 |
|
236 |
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.
|
@@ -242,7 +315,7 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
242 |
|
243 |
**Special thanks to**: Aemon Algiz.
|
244 |
|
245 |
-
**Patreon special mentions**:
|
246 |
|
247 |
|
248 |
Thank you to all my generous patrons and donaters!
|
|
|
1 |
---
|
2 |
+
base_model: https://huggingface.co/psmathur/model_007
|
3 |
inference: false
|
4 |
language:
|
5 |
- en
|
6 |
library_name: transformers
|
7 |
license: llama2
|
8 |
model_creator: Pankaj Mathur
|
|
|
9 |
model_name: Model 007 70B
|
10 |
model_type: llama
|
11 |
+
prompt_template: '### System:
|
12 |
+
|
13 |
+
{system_message}
|
14 |
+
|
15 |
+
|
16 |
+
### User:
|
17 |
+
|
18 |
+
{prompt}
|
19 |
+
|
20 |
+
|
21 |
+
### Assistant:
|
22 |
+
|
23 |
+
'
|
24 |
quantized_by: TheBloke
|
25 |
---
|
26 |
|
|
|
45 |
- Model creator: [Pankaj Mathur](https://huggingface.co/psmathur)
|
46 |
- Original model: [Model 007 70B](https://huggingface.co/psmathur/model_007)
|
47 |
|
48 |
+
<!-- description start -->
|
49 |
## Description
|
50 |
|
51 |
This repo contains GGUF format model files for [Pankaj Mathur's Model 007 70B](https://huggingface.co/psmathur/model_007).
|
52 |
|
53 |
+
<!-- description end -->
|
54 |
<!-- README_GGUF.md-about-gguf start -->
|
55 |
### About GGUF
|
56 |
|
57 |
+
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.
|
58 |
|
59 |
+
Here is an incomplate list of clients and libraries that are known to support GGUF:
|
60 |
|
61 |
+
* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
|
62 |
+
* [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.
|
63 |
+
* [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.
|
64 |
+
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
|
|
|
65 |
* [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.
|
66 |
+
* [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.
|
67 |
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
|
68 |
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
|
69 |
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
|
|
|
72 |
<!-- repositories-available start -->
|
73 |
## Repositories available
|
74 |
|
75 |
+
* [AWQ model(s) for GPU inference.](https://huggingface.co/TheBloke/model_007-70B-AWQ)
|
76 |
* [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/model_007-70B-GPTQ)
|
77 |
* [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/model_007-70B-GGUF)
|
|
|
78 |
* [Pankaj Mathur's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/psmathur/model_007)
|
79 |
<!-- repositories-available end -->
|
80 |
|
|
|
93 |
```
|
94 |
|
95 |
<!-- prompt-template end -->
|
96 |
+
|
97 |
+
|
98 |
<!-- compatibility_gguf start -->
|
99 |
## Compatibility
|
100 |
|
101 |
+
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)
|
102 |
|
103 |
+
They are also compatible with many third party UIs and libraries - please see the list at the top of this README.
|
104 |
|
105 |
## Explanation of quantisation methods
|
106 |
<details>
|
|
|
173 |
</details>
|
174 |
<!-- README_GGUF.md-provided-files end -->
|
175 |
|
176 |
+
<!-- README_GGUF.md-how-to-download start -->
|
177 |
+
## How to download GGUF files
|
178 |
+
|
179 |
+
**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.
|
180 |
+
|
181 |
+
The following clients/libraries will automatically download models for you, providing a list of available models to choose from:
|
182 |
+
- LM Studio
|
183 |
+
- LoLLMS Web UI
|
184 |
+
- Faraday.dev
|
185 |
+
|
186 |
+
### In `text-generation-webui`
|
187 |
+
|
188 |
+
Under Download Model, you can enter the model repo: TheBloke/model_007-70B-GGUF and below it, a specific filename to download, such as: model_007-70b.q4_K_M.gguf.
|
189 |
|
190 |
+
Then click Download.
|
191 |
|
192 |
+
### On the command line, including multiple files at once
|
193 |
|
194 |
+
I recommend using the `huggingface-hub` Python library:
|
195 |
+
|
196 |
+
```shell
|
197 |
+
pip3 install huggingface-hub>=0.17.1
|
198 |
```
|
199 |
+
|
200 |
+
Then you can download any individual model file to the current directory, at high speed, with a command like this:
|
201 |
+
|
202 |
+
```shell
|
203 |
+
huggingface-cli download TheBloke/model_007-70B-GGUF model_007-70b.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
204 |
+
```
|
205 |
+
|
206 |
+
<details>
|
207 |
+
<summary>More advanced huggingface-cli download usage</summary>
|
208 |
+
|
209 |
+
You can also download multiple files at once with a pattern:
|
210 |
+
|
211 |
+
```shell
|
212 |
+
huggingface-cli download TheBloke/model_007-70B-GGUF --local-dir . --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
213 |
+
```
|
214 |
+
|
215 |
+
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).
|
216 |
+
|
217 |
+
To accelerate downloads on fast connections (1Gbit/s or higher), install `hf_transfer`:
|
218 |
+
|
219 |
+
```shell
|
220 |
+
pip3 install hf_transfer
|
221 |
+
```
|
222 |
+
|
223 |
+
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
224 |
+
|
225 |
+
```shell
|
226 |
+
HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/model_007-70B-GGUF model_007-70b.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
227 |
+
```
|
228 |
+
|
229 |
+
Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
|
230 |
+
</details>
|
231 |
+
<!-- README_GGUF.md-how-to-download end -->
|
232 |
+
|
233 |
+
<!-- README_GGUF.md-how-to-run start -->
|
234 |
+
## Example `llama.cpp` command
|
235 |
+
|
236 |
+
Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
|
237 |
+
|
238 |
+
```shell
|
239 |
+
./main -ngl 32 -m model_007-70b.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### System:\n{system_message}\n\n### User:\n{prompt}\n\n### Assistant:"
|
240 |
```
|
|
|
241 |
|
242 |
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
243 |
|
244 |
+
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.
|
245 |
|
246 |
If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
|
247 |
|
|
|
298 |
|
299 |
[TheBloke AI's Discord server](https://discord.gg/theblokeai)
|
300 |
|
301 |
+
## Thanks, and how to contribute
|
302 |
|
303 |
Thanks to the [chirper.ai](https://chirper.ai) team!
|
304 |
|
305 |
+
Thanks to Clay from [gpus.llm-utils.org](llm-utils)!
|
306 |
+
|
307 |
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.
|
308 |
|
309 |
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.
|
|
|
315 |
|
316 |
**Special thanks to**: Aemon Algiz.
|
317 |
|
318 |
+
**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
|
319 |
|
320 |
|
321 |
Thank you to all my generous patrons and donaters!
|