Instructions to use TheBloke/guanaco-33B-GPTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TheBloke/guanaco-33B-GPTQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TheBloke/guanaco-33B-GPTQ")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TheBloke/guanaco-33B-GPTQ") model = AutoModelForCausalLM.from_pretrained("TheBloke/guanaco-33B-GPTQ") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use TheBloke/guanaco-33B-GPTQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TheBloke/guanaco-33B-GPTQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/guanaco-33B-GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TheBloke/guanaco-33B-GPTQ
- SGLang
How to use TheBloke/guanaco-33B-GPTQ with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "TheBloke/guanaco-33B-GPTQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/guanaco-33B-GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "TheBloke/guanaco-33B-GPTQ" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TheBloke/guanaco-33B-GPTQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TheBloke/guanaco-33B-GPTQ with Docker Model Runner:
docker model run hf.co/TheBloke/guanaco-33B-GPTQ
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,17 +2,19 @@
|
|
| 2 |
inference: false
|
| 3 |
license: other
|
| 4 |
---
|
|
|
|
| 5 |
<div style="width: 100%;">
|
| 6 |
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 7 |
</div>
|
| 8 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 9 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 10 |
-
<p><a href="https://discord.gg/
|
| 11 |
</div>
|
| 12 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
| 13 |
-
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? Patreon
|
| 14 |
</div>
|
| 15 |
</div>
|
|
|
|
| 16 |
|
| 17 |
# Tim Dettmers' Guanaco 33B GPTQ
|
| 18 |
|
|
@@ -62,17 +64,30 @@ It was created without groupsize to minimise VRAM requirements, to keep it under
|
|
| 62 |
python llama.py /workspace/process/TheBloke_guanaco-33B-GGML/HF wikitext2 --wbits 4 --true-sequential --act-order --save_safetensors /workspace/process/TheBloke_guanaco-33B-GGML/gptq/Guanaco-33B-GPTQ-4bit.act-order.safetensors
|
| 63 |
```
|
| 64 |
|
| 65 |
-
|
|
|
|
| 66 |
|
| 67 |
-
|
| 68 |
|
| 69 |
-
|
| 70 |
|
| 71 |
-
|
| 72 |
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
# Original model card
|
| 77 |
|
| 78 |
Not provided by original model creator.
|
|
|
|
| 2 |
inference: false
|
| 3 |
license: other
|
| 4 |
---
|
| 5 |
+
<!-- header start -->
|
| 6 |
<div style="width: 100%;">
|
| 7 |
<img src="https://i.imgur.com/EBdldam.jpg" alt="TheBlokeAI" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 8 |
</div>
|
| 9 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 10 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 11 |
+
<p><a href="https://discord.gg/Jq4vkcDakD">Chat & support: my new Discord server</a></p>
|
| 12 |
</div>
|
| 13 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
| 14 |
+
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
| 15 |
</div>
|
| 16 |
</div>
|
| 17 |
+
<!-- header end -->
|
| 18 |
|
| 19 |
# Tim Dettmers' Guanaco 33B GPTQ
|
| 20 |
|
|
|
|
| 64 |
python llama.py /workspace/process/TheBloke_guanaco-33B-GGML/HF wikitext2 --wbits 4 --true-sequential --act-order --save_safetensors /workspace/process/TheBloke_guanaco-33B-GGML/gptq/Guanaco-33B-GPTQ-4bit.act-order.safetensors
|
| 65 |
```
|
| 66 |
|
| 67 |
+
<!-- footer start -->
|
| 68 |
+
## Discord
|
| 69 |
|
| 70 |
+
For further support, and discussions on these models and AI in general, join us at:
|
| 71 |
|
| 72 |
+
[TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
|
| 73 |
|
| 74 |
+
## Thanks, and how to contribute.
|
| 75 |
|
| 76 |
+
Thanks to the [chirper.ai](https://chirper.ai) team!
|
| 77 |
+
|
| 78 |
+
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.
|
| 79 |
+
|
| 80 |
+
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.
|
| 81 |
+
|
| 82 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
| 83 |
+
|
| 84 |
+
* Patreon: https://patreon.com/TheBlokeAI
|
| 85 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
| 86 |
+
|
| 87 |
+
**Patreon special mentions**: Aemon Algiz, Dmitriy Samsonov, Nathan LeClaire, Trenton Dambrowitz, Mano Prime, David Flickinger, vamX, Nikolai Manek, senxiiz, Khalefa Al-Ahmad, Illia Dulskyi, Jonathan Leane, Talal Aujan, V. Lukas, Joseph William Delisle, Pyrater, Oscar Rangel, Lone Striker, Luke Pendergrass, Eugene Pentland, Sebastain Graf, Johann-Peter Hartman.
|
| 88 |
+
|
| 89 |
+
Thank you to all my generous patrons and donaters!
|
| 90 |
+
<!-- footer end -->
|
| 91 |
# Original model card
|
| 92 |
|
| 93 |
Not provided by original model creator.
|