Instructions to use TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
Use Docker
docker model run hf.co/TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF with Ollama:
ollama run hf.co/TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF with Docker Model Runner:
docker model run hf.co/TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
- Lemonade
How to use TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Wizard-Vicuna-13B-Uncensored-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload README.md
Browse files
README.md
CHANGED
|
@@ -82,15 +82,8 @@ A chat between a curious user and an artificial intelligence assistant. The assi
|
|
| 82 |
```
|
| 83 |
|
| 84 |
<!-- prompt-template end -->
|
| 85 |
-
<!-- licensing start -->
|
| 86 |
-
## Licensing
|
| 87 |
|
| 88 |
-
The creator of the source model has listed its license as `other`, and this quantization has therefore used that same license.
|
| 89 |
|
| 90 |
-
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.
|
| 91 |
-
|
| 92 |
-
In the meantime, any questions regarding licensing, and in particular how these two licenses might interact, should be directed to the original model repository: [Eric Hartford's Wizard Vicuna 13B Uncensored](https://huggingface.co/ehartford/Wizard-Vicuna-13B-Uncensored).
|
| 93 |
-
<!-- licensing end -->
|
| 94 |
<!-- compatibility_gguf start -->
|
| 95 |
## Compatibility
|
| 96 |
|
|
@@ -149,7 +142,7 @@ The following clients/libraries will automatically download models for you, prov
|
|
| 149 |
|
| 150 |
### In `text-generation-webui`
|
| 151 |
|
| 152 |
-
Under Download Model, you can enter the model repo: TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF and below it, a specific filename to download, such as: Wizard-Vicuna-13B-Uncensored.
|
| 153 |
|
| 154 |
Then click Download.
|
| 155 |
|
|
@@ -164,7 +157,7 @@ pip3 install huggingface-hub>=0.17.1
|
|
| 164 |
Then you can download any individual model file to the current directory, at high speed, with a command like this:
|
| 165 |
|
| 166 |
```shell
|
| 167 |
-
huggingface-cli download TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF Wizard-Vicuna-13B-Uncensored.
|
| 168 |
```
|
| 169 |
|
| 170 |
<details>
|
|
@@ -187,7 +180,7 @@ pip3 install hf_transfer
|
|
| 187 |
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
| 188 |
|
| 189 |
```shell
|
| 190 |
-
HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF Wizard-Vicuna-13B-Uncensored.
|
| 191 |
```
|
| 192 |
|
| 193 |
Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
|
|
@@ -200,7 +193,7 @@ Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running
|
|
| 200 |
Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
|
| 201 |
|
| 202 |
```shell
|
| 203 |
-
./main -ngl 32 -m Wizard-Vicuna-13B-Uncensored.
|
| 204 |
```
|
| 205 |
|
| 206 |
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
|
@@ -240,7 +233,7 @@ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
|
| 240 |
from ctransformers import AutoModelForCausalLM
|
| 241 |
|
| 242 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
| 243 |
-
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF", model_file="Wizard-Vicuna-13B-Uncensored.
|
| 244 |
|
| 245 |
print(llm("AI is going to"))
|
| 246 |
```
|
|
|
|
| 82 |
```
|
| 83 |
|
| 84 |
<!-- prompt-template end -->
|
|
|
|
|
|
|
| 85 |
|
|
|
|
| 86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
<!-- compatibility_gguf start -->
|
| 88 |
## Compatibility
|
| 89 |
|
|
|
|
| 142 |
|
| 143 |
### In `text-generation-webui`
|
| 144 |
|
| 145 |
+
Under Download Model, you can enter the model repo: TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF and below it, a specific filename to download, such as: Wizard-Vicuna-13B-Uncensored.Q4_K_M.gguf.
|
| 146 |
|
| 147 |
Then click Download.
|
| 148 |
|
|
|
|
| 157 |
Then you can download any individual model file to the current directory, at high speed, with a command like this:
|
| 158 |
|
| 159 |
```shell
|
| 160 |
+
huggingface-cli download TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF Wizard-Vicuna-13B-Uncensored.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
| 161 |
```
|
| 162 |
|
| 163 |
<details>
|
|
|
|
| 180 |
And set environment variable `HF_HUB_ENABLE_HF_TRANSFER` to `1`:
|
| 181 |
|
| 182 |
```shell
|
| 183 |
+
HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF Wizard-Vicuna-13B-Uncensored.Q4_K_M.gguf --local-dir . --local-dir-use-symlinks False
|
| 184 |
```
|
| 185 |
|
| 186 |
Windows CLI users: Use `set HUGGINGFACE_HUB_ENABLE_HF_TRANSFER=1` before running the download command.
|
|
|
|
| 193 |
Make sure you are using `llama.cpp` from commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) or later.
|
| 194 |
|
| 195 |
```shell
|
| 196 |
+
./main -ngl 32 -m Wizard-Vicuna-13B-Uncensored.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:"
|
| 197 |
```
|
| 198 |
|
| 199 |
Change `-ngl 32` to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
|
|
|
|
| 233 |
from ctransformers import AutoModelForCausalLM
|
| 234 |
|
| 235 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
| 236 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Wizard-Vicuna-13B-Uncensored-GGUF", model_file="Wizard-Vicuna-13B-Uncensored.Q4_K_M.gguf", model_type="llama", gpu_layers=50)
|
| 237 |
|
| 238 |
print(llm("AI is going to"))
|
| 239 |
```
|