Transformers
GGUF
llama
TheBloke commited on
Commit
96594e7
1 Parent(s): ae9e212

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -13
README.md CHANGED
@@ -78,15 +78,8 @@ A chat between a curious user and an artificial intelligence assistant. The assi
78
  ```
79
 
80
  <!-- prompt-template end -->
81
- <!-- licensing start -->
82
- ## Licensing
83
 
84
- The creator of the source model has listed its license as `other`, and this quantization has therefore used that same license.
85
 
86
- 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.
87
-
88
- In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [VicUnlocked-30B-LoRA](https://huggingface.co/Neko-Institute-of-Science/VicUnLocked-30b-LoRA).
89
- <!-- licensing end -->
90
  <!-- compatibility_gguf start -->
91
  ## Compatibility
92
 
@@ -145,7 +138,7 @@ The following clients/libraries will automatically download models for you, prov
145
 
146
  ### In `text-generation-webui`
147
 
148
- Under Download Model, you can enter the model repo: TheBloke/VicUnlocked-30B-LoRA-GGUF and below it, a specific filename to download, such as: VicUnlocked-30B.q4_K_M.gguf.
149
 
150
  Then click Download.
151
 
@@ -154,13 +147,13 @@ Then click Download.
154
  I recommend using the `huggingface-hub` Python library:
155
 
156
  ```shell
157
- pip3 install huggingface-hub>=0.17.1
158
  ```
159
 
160
  Then you can download any individual model file to the current directory, at high speed, with a command like this:
161
 
162
  ```shell
163
- huggingface-cli download TheBloke/VicUnlocked-30B-LoRA-GGUF VicUnlocked-30B.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
164
  ```
165
 
166
  <details>
@@ -183,7 +176,7 @@ pip3 install hf_transfer
183
  And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
184
 
185
  ```shell
186
- HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/VicUnlocked-30B-LoRA-GGUF VicUnlocked-30B.q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
187
  ```
188
 
189
  Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
@@ -196,7 +189,7 @@ Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running
196
  Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
197
 
198
  ```shell
199
- ./main -ngl 32 -m VicUnlocked-30B.q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: {prompt} ASSISTANT:"
200
  ```
201
 
202
  Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
@@ -236,7 +229,7 @@ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
236
  from ctransformers import AutoModelForCausalLM
237
 
238
  # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
239
- llm = AutoModelForCausalLM.from_pretrained("TheBloke/VicUnlocked-30B-LoRA-GGUF", model_file="VicUnlocked-30B.q4_K_M.gguf", model_type="llama", gpu_layers=50)
240
 
241
  print(llm("AI is going to"))
242
  ```
 
78
  ```
79
 
80
  <!-- prompt-template end -->
 
 
81
 
 
82
 
 
 
 
 
83
  <!-- compatibility_gguf start -->
84
  ## Compatibility
85
 
 
138
 
139
  ### In `text-generation-webui`
140
 
141
+ Under Download Model, you can enter the model repo: TheBloke/VicUnlocked-30B-LoRA-GGUF and below it, a specific filename to download, such as: VicUnlocked-30B.Q4_K_M.gguf.
142
 
143
  Then click Download.
144
 
 
147
  I recommend using the `huggingface-hub` Python library:
148
 
149
  ```shell
150
+ pip3 install huggingface-hub
151
  ```
152
 
153
  Then you can download any individual model file to the current directory, at high speed, with a command like this:
154
 
155
  ```shell
156
+ huggingface-cli download TheBloke/VicUnlocked-30B-LoRA-GGUF VicUnlocked-30B.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
157
  ```
158
 
159
  <details>
 
176
  And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
177
 
178
  ```shell
179
+ HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/VicUnlocked-30B-LoRA-GGUF VicUnlocked-30B.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
180
  ```
181
 
182
  Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
 
189
  Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
190
 
191
  ```shell
192
+ ./main -ngl 32 -m VicUnlocked-30B.Q4_K_M.gguf --color -c 4096 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: {prompt} ASSISTANT:"
193
  ```
194
 
195
  Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
 
229
  from ctransformers import AutoModelForCausalLM
230
 
231
  # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
232
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/VicUnlocked-30B-LoRA-GGUF", model_file="VicUnlocked-30B.Q4_K_M.gguf", model_type="llama", gpu_layers=50)
233
 
234
  print(llm("AI is going to"))
235
  ```