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
Updating model files
Browse files
README.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
| 2 |
inference: false
|
| 3 |
license: other
|
| 4 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Tim Dettmers' Guanaco 33B GPTQ
|
| 7 |
|
|
@@ -50,7 +61,18 @@ It was created without groupsize to minimise VRAM requirements, to keep it under
|
|
| 50 |
```
|
| 51 |
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
|
| 52 |
```
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
# Original model card
|
| 55 |
|
| 56 |
-
Not provided by original model creator.
|
|
|
|
| 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/UBgz4VXf">Chat & support: my new Discord server</a></p>
|
| 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 coming soon!</a></p>
|
| 14 |
+
</div>
|
| 15 |
+
</div>
|
| 16 |
|
| 17 |
# Tim Dettmers' Guanaco 33B GPTQ
|
| 18 |
|
|
|
|
| 61 |
```
|
| 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 |
+
## Want to support my work?
|
| 66 |
+
|
| 67 |
+
I've had a lot of people ask if they can contribute. I love providing models and helping people, but it is starting to rack up pretty big cloud computing bills.
|
| 68 |
+
|
| 69 |
+
So if you're able and willing to contribute, it'd be most gratefully received and will help me to keep providing models, and work on various AI projects.
|
| 70 |
+
|
| 71 |
+
Donaters will get priority support on any and all AI/LLM/model questions, and I'll gladly quantise any model you'd like to try.
|
| 72 |
+
|
| 73 |
+
* Patreon: coming soon! (just awaiting approval)
|
| 74 |
+
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
| 75 |
+
* Discord: https://discord.gg/UBgz4VXf
|
| 76 |
# Original model card
|
| 77 |
|
| 78 |
+
Not provided by original model creator.
|