Instructions to use mradermacher/Hy3-heretic-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/Hy3-heretic-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mradermacher/Hy3-heretic-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/Hy3-heretic-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mradermacher/Hy3-heretic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mradermacher/Hy3-heretic-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mradermacher/Hy3-heretic-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/mradermacher/Hy3-heretic-GGUF
- SGLang
How to use mradermacher/Hy3-heretic-GGUF 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 "mradermacher/Hy3-heretic-GGUF" \ --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": "mradermacher/Hy3-heretic-GGUF", "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 "mradermacher/Hy3-heretic-GGUF" \ --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": "mradermacher/Hy3-heretic-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use mradermacher/Hy3-heretic-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/Hy3-heretic-GGUF
About
static quants of https://huggingface.co/trohrbaugh/Hy3-heretic
For a convenient overview and download list, visit our model page for this model.
weighted/imatrix quants are available at https://huggingface.co/mradermacher/Hy3-heretic-i1-GGUF
Usage
If you are unsure how to use GGUF files, refer to one of TheBloke's READMEs for more details, including on how to concatenate multi-part files.
Provided Quants
(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)
| Link | Type | Size/GB | Notes |
|---|---|---|---|
| PART 1 PART 2 PART 3 | Q2_K | 107.5 | |
| PART 1 PART 2 PART 3 | Q3_K_S | 127.3 | |
| PART 1 PART 2 PART 3 | Q3_K_M | 141.1 | lower quality |
| PART 1 PART 2 PART 3 PART 4 | Q3_K_L | 152.8 | |
| PART 1 PART 2 PART 3 PART 4 | IQ4_XS | 159.0 | |
| PART 1 PART 2 PART 3 PART 4 | Q4_K_S | 167.8 | fast, recommended |
| PART 1 PART 2 PART 3 PART 4 | Q4_K_M | 178.7 | fast, recommended |
| P1 P2 P3 P4 P5 | Q5_K_S | 203.2 | |
| P1 P2 P3 P4 P5 | Q5_K_M | 209.5 | |
| P1 P2 P3 P4 P5 P6 | Q6_K | 242.3 | very good quality |
| P1 P2 P3 P4 P5 P6 P7 | Q8_0 | 313.8 | fast, best quality |
Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):
And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9
FAQ / Model Request
See https://huggingface.co/mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized.
Thanks
I thank my company, nethype GmbH, for letting me use its servers and providing upgrades to my workstation to enable this work in my free time.
Model tree for mradermacher/Hy3-heretic-GGUF
Base model
trohrbaugh/Hy3-heretic