TheBloke commited on
Commit
e32d5a7
1 Parent(s): 781b8ad

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -33
README.md CHANGED
@@ -7,7 +7,7 @@ datasets:
7
  inference: false
8
  language:
9
  - en
10
- license: other
11
  model_creator: OpenAssistant
12
  model_link: https://huggingface.co/OpenAssistant/llama2-13b-orca-8k-3319
13
  model_name: Llama2 13B Orca 8K 3319
@@ -27,17 +27,20 @@ widget:
27
  ---
28
 
29
  <!-- header start -->
30
- <div style="width: 100%;">
31
- <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
 
32
  </div>
33
  <div style="display: flex; justify-content: space-between; width: 100%;">
34
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
35
- <p><a href="https://discord.gg/theblokeai">Chat & support: my new Discord server</a></p>
36
  </div>
37
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
38
- <p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
39
  </div>
40
  </div>
 
 
41
  <!-- header end -->
42
 
43
  # Llama2 13B Orca 8K 3319 - GGML
@@ -48,6 +51,13 @@ widget:
48
 
49
  This repo contains GGML format model files for [OpenAssistant's Llama2 13B Orca 8K 3319](https://huggingface.co/OpenAssistant/llama2-13b-orca-8k-3319).
50
 
 
 
 
 
 
 
 
51
  GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp) and libraries and UIs which support this format, such as:
52
  * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most popular web UI. Supports NVidia CUDA GPU acceleration.
53
  * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a powerful GGML web UI with GPU acceleration on all platforms (CUDA and OpenCL). Especially good for story telling.
@@ -59,27 +69,27 @@ GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/gger
59
  ## Repositories available
60
 
61
  * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GPTQ)
62
- * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML)
 
63
  * [OpenAssistant's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/OpenAssistant/llama2-13b-orca-8k-3319)
64
 
65
  ## Prompt template: OpenAssistant-System
66
 
67
  ```
68
  <|system|>{system_message}</s><|prompter|>{prompt}</s><|assistant|>
 
69
  ```
70
 
71
  <!-- compatibility_ggml start -->
72
  ## Compatibility
73
 
74
- ### Original llama.cpp quant methods: `q4_0, q4_1, q5_0, q5_1, q8_0`
75
-
76
- These are guaranteed to be compatible with any UIs, tools and libraries released since late May. They may be phased out soon, as they are largely superseded by the new k-quant methods.
77
 
78
- ### New k-quant methods: `q2_K, q3_K_S, q3_K_M, q3_K_L, q4_K_S, q4_K_M, q5_K_S, q6_K`
79
 
80
- These new quantisation methods are compatible with llama.cpp as of June 6th, commit `2d43387`.
81
 
82
- They are now also compatible with recent releases of text-generation-webui, KoboldCpp, llama-cpp-python, ctransformers, rustformers and most others. For compatibility with other tools and libraries, please check their documentation.
83
 
84
  ## Explanation of the new k-quant methods
85
  <details>
@@ -98,43 +108,51 @@ Refer to the Provided Files table below to see what files use which methods, and
98
  <!-- compatibility_ggml end -->
99
 
100
  ## Provided files
 
101
  | Name | Quant method | Bits | Size | Max RAM required | Use case |
102
  | ---- | ---- | ---- | ---- | ---- | ----- |
103
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q2_K.bin | q2_K | 2 | 5.74 GB| 8.24 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
104
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_L.bin | q3_K_L | 3 | 7.14 GB| 9.64 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
105
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_M.bin | q3_K_M | 3 | 6.53 GB| 9.03 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
106
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_S.bin | q3_K_S | 3 | 5.87 GB| 8.37 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
107
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_0.bin | q4_0 | 4 | 7.32 GB| 9.82 GB | Original quant method, 4-bit. |
108
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_1.bin | q4_1 | 4 | 8.14 GB| 10.64 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
109
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_M.bin | q4_K_M | 4 | 8.06 GB| 10.56 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
110
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_S.bin | q4_K_S | 4 | 7.56 GB| 10.06 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
111
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_0.bin | q5_0 | 5 | 8.95 GB| 11.45 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
112
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_1.bin | q5_1 | 5 | 9.76 GB| 12.26 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
113
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_K_M.bin | q5_K_M | 5 | 9.40 GB| 11.90 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
114
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_K_S.bin | q5_K_S | 5 | 9.15 GB| 11.65 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
115
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q6_K.bin | q6_K | 6 | 10.83 GB| 13.33 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
116
- | openassistant-llama2-13b-orca-8k-3319.ggmlv3.q8_0.bin | q8_0 | 8 | 13.83 GB| 16.33 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
117
 
118
  **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.
119
 
120
  ## How to run in `llama.cpp`
121
 
122
- I use the following command line; adjust for your tastes and needs:
 
 
123
 
124
  ```
125
- ./main -t 10 -ngl 32 -m openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_0.bin --color -c 8192 --rope-freq-base 10000 --rope-freq-scale 0.5 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "<|system|>You are a story writing assistant</s><|prompter|>write a story about llamas</s><|assistant|>"
126
  ```
127
  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`.
128
 
129
  Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
130
 
131
- Change `-c 8192` if you want a different context value, in which case you should also update `--rope-freq-base` and `--rope-freq-scale` as well. If you set it to 4096 or below you should be able to remove `--rope-freq-base` and `--rope-freq-scale`.
 
 
 
 
132
 
133
  ## How to run in `text-generation-webui`
134
 
135
- Further instructions here: [text-generation-webui/docs/llama.cpp-models.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp-models.md).
136
 
137
  <!-- footer start -->
 
138
  ## Discord
139
 
140
  For further support, and discussions on these models and AI in general, join us at:
@@ -154,13 +172,15 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
154
  * Patreon: https://patreon.com/TheBlokeAI
155
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
156
 
157
- **Special thanks to**: Luke from CarbonQuill, Aemon Algiz.
158
 
159
- **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
160
 
161
 
162
  Thank you to all my generous patrons and donaters!
163
 
 
 
164
  <!-- footer end -->
165
 
166
  # Original model card: OpenAssistant's Llama2 13B Orca 8K 3319
@@ -193,7 +213,7 @@ print(tokenizer.decode(output[0], skip_special_tokens=True))
193
 
194
  ## Model Details
195
 
196
- - base model: [meta-llama/Llama-2-7b](https://huggingface.co/meta-llama/Llama-2-7b)
197
  - License: [Llama 2 Community License Agreement](https://ai.meta.com/resources/models-and-libraries/llama-downloads/)
198
  - sampling report: [2023-07-25_OpenAssistant_llama2-13b-orca-8k-3319_sampling_llama2_prompt.json](https://open-assistant.github.io/oasst-model-eval/?f=https%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Foasst-pretrained%2F2023-07-25_OpenAssistant_llama2-13b-orca-8k-3319_sampling_llama2_prompt.json)
199
  - wandb: [public-sft/runs/2jfazjt9](https://wandb.ai/open-assistant/public-sft/runs/2jfazjt9)
 
7
  inference: false
8
  language:
9
  - en
10
+ license: llama2
11
  model_creator: OpenAssistant
12
  model_link: https://huggingface.co/OpenAssistant/llama2-13b-orca-8k-3319
13
  model_name: Llama2 13B Orca 8K 3319
 
27
  ---
28
 
29
  <!-- header start -->
30
+ <!-- 200823 -->
31
+ <div style="width: auto; margin-left: auto; margin-right: auto">
32
+ <img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
33
  </div>
34
  <div style="display: flex; justify-content: space-between; width: 100%;">
35
  <div style="display: flex; flex-direction: column; align-items: flex-start;">
36
+ <p style="margin-top: 0.5em; margin-bottom: 0em;"><a href="https://discord.gg/theblokeai">Chat & support: TheBloke's Discord server</a></p>
37
  </div>
38
  <div style="display: flex; flex-direction: column; align-items: flex-end;">
39
+ <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>
40
  </div>
41
  </div>
42
+ <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>
43
+ <hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
44
  <!-- header end -->
45
 
46
  # Llama2 13B Orca 8K 3319 - GGML
 
51
 
52
  This repo contains GGML format model files for [OpenAssistant's Llama2 13B Orca 8K 3319](https://huggingface.co/OpenAssistant/llama2-13b-orca-8k-3319).
53
 
54
+ ### Important note regarding GGML files.
55
+
56
+ The GGML format has now been superseded by GGUF. As of August 21st 2023, [llama.cpp](https://github.com/ggerganov/llama.cpp) no longer supports GGML models. Third party clients and libraries are expected to still support it for a time, but many may also drop support.
57
+
58
+ Please use the GGUF models instead.
59
+ ### About GGML
60
+
61
  GGML files are for CPU + GPU inference using [llama.cpp](https://github.com/ggerganov/llama.cpp) and libraries and UIs which support this format, such as:
62
  * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most popular web UI. Supports NVidia CUDA GPU acceleration.
63
  * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a powerful GGML web UI with GPU acceleration on all platforms (CUDA and OpenCL). Especially good for story telling.
 
69
  ## Repositories available
70
 
71
  * [GPTQ models for GPU inference, with multiple quantisation parameter options.](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GPTQ)
72
+ * [2, 3, 4, 5, 6 and 8-bit GGUF models for CPU+GPU inference](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGUF)
73
+ * [2, 3, 4, 5, 6 and 8-bit GGML models for CPU+GPU inference (deprecated)](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML)
74
  * [OpenAssistant's original unquantised fp16 model in pytorch format, for GPU inference and for further conversions](https://huggingface.co/OpenAssistant/llama2-13b-orca-8k-3319)
75
 
76
  ## Prompt template: OpenAssistant-System
77
 
78
  ```
79
  <|system|>{system_message}</s><|prompter|>{prompt}</s><|assistant|>
80
+
81
  ```
82
 
83
  <!-- compatibility_ggml start -->
84
  ## Compatibility
85
 
86
+ These quantised GGML files are compatible with llama.cpp between June 6th (commit `2d43387`) and August 21st 2023.
 
 
87
 
88
+ For support with latest llama.cpp, please use GGUF files instead.
89
 
90
+ The final llama.cpp commit with support for GGML was: [dadbed99e65252d79f81101a392d0d6497b86caa](https://github.com/ggerganov/llama.cpp/commit/dadbed99e65252d79f81101a392d0d6497b86caa)
91
 
92
+ As of August 23rd 2023 they are still compatible with all UIs, libraries and utilities which use GGML. This may change in the future.
93
 
94
  ## Explanation of the new k-quant methods
95
  <details>
 
108
  <!-- compatibility_ggml end -->
109
 
110
  ## Provided files
111
+
112
  | Name | Quant method | Bits | Size | Max RAM required | Use case |
113
  | ---- | ---- | ---- | ---- | ---- | ----- |
114
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q2_K.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q2_K.bin) | q2_K | 2 | 5.74 GB| 8.24 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.vw and feed_forward.w2 tensors, GGML_TYPE_Q2_K for the other tensors. |
115
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_S.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_S.bin) | q3_K_S | 3 | 5.87 GB| 8.37 GB | New k-quant method. Uses GGML_TYPE_Q3_K for all tensors |
116
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_M.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_M.bin) | q3_K_M | 3 | 6.53 GB| 9.03 GB | New k-quant method. Uses GGML_TYPE_Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
117
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_L.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q3_K_L.bin) | q3_K_L | 3 | 7.14 GB| 9.64 GB | New k-quant method. Uses GGML_TYPE_Q5_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else GGML_TYPE_Q3_K |
118
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_0.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_0.bin) | q4_0 | 4 | 7.32 GB| 9.82 GB | Original quant method, 4-bit. |
119
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_S.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_S.bin) | q4_K_S | 4 | 7.56 GB| 10.06 GB | New k-quant method. Uses GGML_TYPE_Q4_K for all tensors |
120
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_M.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_M.bin) | q4_K_M | 4 | 8.06 GB| 10.56 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q4_K |
121
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_1.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_1.bin) | q4_1 | 4 | 8.14 GB| 10.64 GB | Original quant method, 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
122
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_0.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_0.bin) | q5_0 | 5 | 8.95 GB| 11.45 GB | Original quant method, 5-bit. Higher accuracy, higher resource usage and slower inference. |
123
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_K_S.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_K_S.bin) | q5_K_S | 5 | 9.15 GB| 11.65 GB | New k-quant method. Uses GGML_TYPE_Q5_K for all tensors |
124
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_K_M.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_K_M.bin) | q5_K_M | 5 | 9.40 GB| 11.90 GB | New k-quant method. Uses GGML_TYPE_Q6_K for half of the attention.wv and feed_forward.w2 tensors, else GGML_TYPE_Q5_K |
125
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_1.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q5_1.bin) | q5_1 | 5 | 9.76 GB| 12.26 GB | Original quant method, 5-bit. Even higher accuracy, resource usage and slower inference. |
126
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q6_K.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q6_K.bin) | q6_K | 6 | 10.83 GB| 13.33 GB | New k-quant method. Uses GGML_TYPE_Q8_K for all tensors - 6-bit quantization |
127
+ | [openassistant-llama2-13b-orca-8k-3319.ggmlv3.q8_0.bin](https://huggingface.co/TheBloke/OpenAssistant-Llama2-13B-Orca-8K-3319-GGML/blob/main/openassistant-llama2-13b-orca-8k-3319.ggmlv3.q8_0.bin) | q8_0 | 8 | 13.83 GB| 16.33 GB | Original quant method, 8-bit. Almost indistinguishable from float16. High resource use and slow. Not recommended for most users. |
128
 
129
  **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.
130
 
131
  ## How to run in `llama.cpp`
132
 
133
+ Make sure you are using `llama.cpp` from commit [dadbed99e65252d79f81101a392d0d6497b86caa](https://github.com/ggerganov/llama.cpp/commit/dadbed99e65252d79f81101a392d0d6497b86caa) or earlier.
134
+
135
+ For compatibility with latest llama.cpp, please use GGUF files instead.
136
 
137
  ```
138
+ ./main -t 10 -ngl 32 -m openassistant-llama2-13b-orca-8k-3319.ggmlv3.q4_K_M.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "<|system|>You are a story writing assistant.</s><|prompter|>Write a story about llamas</s><|assistant|>"
139
  ```
140
  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`.
141
 
142
  Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
143
 
144
+ Change `-c 2048` to the desired sequence length for this model. For example, `-c 4096` for a Llama 2 model. For models that use RoPE, add `--rope-freq-base 10000 --rope-freq-scale 0.5` for doubled context, or `--rope-freq-base 10000 --rope-freq-scale 0.25` for 4x context.
145
+
146
+ If you want to have a chat-style conversation, replace the `-p <PROMPT>` argument with `-i -ins`
147
+
148
+ 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)
149
 
150
  ## How to run in `text-generation-webui`
151
 
152
+ Further instructions here: [text-generation-webui/docs/llama.cpp.md](https://github.com/oobabooga/text-generation-webui/blob/main/docs/llama.cpp.md).
153
 
154
  <!-- footer start -->
155
+ <!-- 200823 -->
156
  ## Discord
157
 
158
  For further support, and discussions on these models and AI in general, join us at:
 
172
  * Patreon: https://patreon.com/TheBlokeAI
173
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
174
 
175
+ **Special thanks to**: Aemon Algiz.
176
 
177
+ **Patreon special mentions**: Russ Johnson, J, alfie_i, Alex, NimbleBox.ai, Chadd, Mandus, Nikolai Manek, Ken Nordquist, ya boyyy, Illia Dulskyi, Viktor Bowallius, vamX, Iucharbius, zynix, Magnesian, Clay Pascal, Pierre Kircher, Enrico Ros, Tony Hughes, Elle, Andrey, knownsqashed, Deep Realms, Jerry Meng, Lone Striker, Derek Yates, Pyrater, Mesiah Bishop, James Bentley, Femi Adebogun, Brandon Frisco, SuperWojo, Alps Aficionado, Michael Dempsey, Vitor Caleffi, Will Dee, Edmond Seymore, usrbinkat, LangChain4j, Kacper Wikieł, Luke Pendergrass, John Detwiler, theTransient, Nathan LeClaire, Tiffany J. Kim, biorpg, Eugene Pentland, Stanislav Ovsiannikov, Fred von Graf, terasurfer, Kalila, Dan Guido, Nitin Borwankar, 阿明, Ai Maven, John Villwock, Gabriel Puliatti, Stephen Murray, Asp the Wyvern, danny, Chris Smitley, ReadyPlayerEmma, S_X, Daniel P. Andersen, Olakabola, Jeffrey Morgan, Imad Khwaja, Caitlyn Gatomon, webtim, Alicia Loh, Trenton Dambrowitz, Swaroop Kallakuri, Erik Bjäreholt, Leonard Tan, Spiking Neurons AB, Luke @flexchar, Ajan Kanaga, Thomas Belote, Deo Leter, RoA, Willem Michiel, transmissions 11, subjectnull, Matthew Berman, Joseph William Delisle, David Ziegler, Michael Davis, Johann-Peter Hartmann, Talal Aujan, senxiiz, Artur Olbinski, Rainer Wilmers, Spencer Kim, Fen Risland, Cap'n Zoog, Rishabh Srivastava, Michael Levine, Geoffrey Montalvo, Sean Connelly, Alexandros Triantafyllidis, Pieter, Gabriel Tamborski, Sam, Subspace Studios, Junyu Yang, Pedro Madruga, Vadim, Cory Kujawski, K, Raven Klaugh, Randy H, Mano Prime, Sebastain Graf, Space Cruiser
178
 
179
 
180
  Thank you to all my generous patrons and donaters!
181
 
182
+ And thank you again to a16z for their generous grant.
183
+
184
  <!-- footer end -->
185
 
186
  # Original model card: OpenAssistant's Llama2 13B Orca 8K 3319
 
213
 
214
  ## Model Details
215
 
216
+ - base model: [meta-llama/Llama-2-13b](https://huggingface.co/meta-llama/Llama-2-13b)
217
  - License: [Llama 2 Community License Agreement](https://ai.meta.com/resources/models-and-libraries/llama-downloads/)
218
  - sampling report: [2023-07-25_OpenAssistant_llama2-13b-orca-8k-3319_sampling_llama2_prompt.json](https://open-assistant.github.io/oasst-model-eval/?f=https%3A%2F%2Fraw.githubusercontent.com%2FOpen-Assistant%2Foasst-model-eval%2Fmain%2Fsampling_reports%2Foasst-pretrained%2F2023-07-25_OpenAssistant_llama2-13b-orca-8k-3319_sampling_llama2_prompt.json)
219
  - wandb: [public-sft/runs/2jfazjt9](https://wandb.ai/open-assistant/public-sft/runs/2jfazjt9)