Text Generation
Transformers
GGUF
English
Zephyr
stablelm
3b
stabilityai
Heretic
Uncensored
Abliterated
Instructions to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF", dtype="auto") - llama-cpp-python
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF", filename="stablelm-zephyr-3b-Heretic_IQ3_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf ChiKoi7/stablelm-zephyr-3b-Heretic-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 ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf ChiKoi7/stablelm-zephyr-3b-Heretic-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 ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ChiKoi7/stablelm-zephyr-3b-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": "ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
- SGLang
How to use ChiKoi7/stablelm-zephyr-3b-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 "ChiKoi7/stablelm-zephyr-3b-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": "ChiKoi7/stablelm-zephyr-3b-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 "ChiKoi7/stablelm-zephyr-3b-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": "ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with Ollama:
ollama run hf.co/ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
- Unsloth Studio
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with Docker Model Runner:
docker model run hf.co/ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
- Lemonade
How to use ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ChiKoi7/stablelm-zephyr-3b-Heretic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.stablelm-zephyr-3b-Heretic-GGUF-Q4_K_M
List all available models
lemonade list
Upload 7 files
Browse files- .gitattributes +7 -0
- stablelm-zephyr-3b-Heretic_IQ3_M.gguf +3 -0
- stablelm-zephyr-3b-Heretic_IQ4_NL.gguf +3 -0
- stablelm-zephyr-3b-Heretic_Q3_K_M.gguf +3 -0
- stablelm-zephyr-3b-Heretic_Q4_K_M.gguf +3 -0
- stablelm-zephyr-3b-Heretic_Q5_K_M.gguf +3 -0
- stablelm-zephyr-3b-Heretic_Q6_K.gguf +3 -0
- stablelm-zephyr-3b-Heretic_Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
stablelm-zephyr-3b-Heretic_f16.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
stablelm-zephyr-3b-Heretic_f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
stablelm-zephyr-3b-Heretic_IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
stablelm-zephyr-3b-Heretic_IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
stablelm-zephyr-3b-Heretic_Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
stablelm-zephyr-3b-Heretic_Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
stablelm-zephyr-3b-Heretic_Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
stablelm-zephyr-3b-Heretic_Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
stablelm-zephyr-3b-Heretic_Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
stablelm-zephyr-3b-Heretic_IQ3_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5829395ff5aad5e0d1e5f4a478133365da1dbe76804a127a0b9748a0efaf3e6f
|
| 3 |
+
size 1319554784
|
stablelm-zephyr-3b-Heretic_IQ4_NL.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b80f973e52a5d2ff7a09cf07824068fc8c01d8c7e899e9f5113cb5ae8675f9db
|
| 3 |
+
size 1617418464
|
stablelm-zephyr-3b-Heretic_Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c70f6ec7c6474196363bae8f3ab74ab8ab9ebaa3c6cb84af994cef98e95d87d8
|
| 3 |
+
size 1391419104
|
stablelm-zephyr-3b-Heretic_Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72f12cd6cc0f183ab7179e64a4487399d2e4575a348ffd9a43be031aa4e9c211
|
| 3 |
+
size 1708595424
|
stablelm-zephyr-3b-Heretic_Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dafb23251d64c63c4e7f6b72521307df36b8c3ab0e30d5c5c09e6046f4c4867a
|
| 3 |
+
size 1993390304
|
stablelm-zephyr-3b-Heretic_Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c3d51a1eeb97d0a86f0800fa4e47c312d0426e93f3639ac1aff795172d3567e
|
| 3 |
+
size 2295984864
|
stablelm-zephyr-3b-Heretic_Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f60603e314bea73af330d69cc0182140de8d359be352510290408d99a7e5964c
|
| 3 |
+
size 2972925664
|