Instructions to use brittlewis12/stable-code-3b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use brittlewis12/stable-code-3b-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 brittlewis12/stable-code-3b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf brittlewis12/stable-code-3b-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 brittlewis12/stable-code-3b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf brittlewis12/stable-code-3b-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 brittlewis12/stable-code-3b-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf brittlewis12/stable-code-3b-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 brittlewis12/stable-code-3b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf brittlewis12/stable-code-3b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/brittlewis12/stable-code-3b-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use brittlewis12/stable-code-3b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "brittlewis12/stable-code-3b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "brittlewis12/stable-code-3b-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/brittlewis12/stable-code-3b-GGUF:Q4_K_M
- Ollama
How to use brittlewis12/stable-code-3b-GGUF with Ollama:
ollama run hf.co/brittlewis12/stable-code-3b-GGUF:Q4_K_M
- Unsloth Studio
How to use brittlewis12/stable-code-3b-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 brittlewis12/stable-code-3b-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 brittlewis12/stable-code-3b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for brittlewis12/stable-code-3b-GGUF to start chatting
- Docker Model Runner
How to use brittlewis12/stable-code-3b-GGUF with Docker Model Runner:
docker model run hf.co/brittlewis12/stable-code-3b-GGUF:Q4_K_M
- Lemonade
How to use brittlewis12/stable-code-3b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull brittlewis12/stable-code-3b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.stable-code-3b-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- stable-code-3b.Q2_K.gguf +3 -0
- stable-code-3b.Q3_K_L.gguf +3 -0
- stable-code-3b.Q3_K_S.gguf +3 -0
- stable-code-3b.Q4_K_M.gguf +3 -0
- stable-code-3b.Q4_K_S.gguf +3 -0
- stable-code-3b.Q5_K_M.gguf +3 -0
- stable-code-3b.Q5_K_S.gguf +3 -0
- stable-code-3b.Q6_K.gguf +3 -0
- stable-code-3b.Q8_0.gguf +3 -0
- stable-code-3b.fp16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip 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 |
+
stable-code-3b.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
stable-code-3b.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
stable-code-3b.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
stable-code-3b.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
stable-code-3b.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
stable-code-3b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
stable-code-3b.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
stable-code-3b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
stable-code-3b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
stable-code-3b.fp16.gguf filter=lfs diff=lfs merge=lfs -text
|
stable-code-3b.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51a81444e1498a89f25df9f8b270bb39db459a27912487554290e265b586b9e7
|
| 3 |
+
size 1083755520
|
stable-code-3b.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9969766edd559d69ce9287144c46f02d7f6f1648f47be9584c10b45eabe7eb0
|
| 3 |
+
size 1508564480
|
stable-code-3b.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f744712964cdc3b5a18012cacaee63ea90619305adb52c21c37a794756a386ad
|
| 3 |
+
size 1254448640
|
stable-code-3b.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b61a4f0fdd145618e511a9ee60fe6225f59381bc415d688bc72a76f08e4c0c40
|
| 3 |
+
size 1708595200
|
stable-code-3b.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b58e4466f875ec5ef0616b1e5e0ab7ec019b01f4d9b3e011f44b05452cdc43d6
|
| 3 |
+
size 1620695040
|
stable-code-3b.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0130328faf65b9f460e080f6289848dac1aabbf083569a014d1d3e4aff9dd807
|
| 3 |
+
size 1993390080
|
stable-code-3b.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01177566573af196be46e6c361affacedb8ddc75144fa2ff9cafcb46447feaab
|
| 3 |
+
size 1941862400
|
stable-code-3b.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d6a73cb003345b4b7ca769b653f3ab6b4385c254f3bdfc6c59e02e7b215766d
|
| 3 |
+
size 2295984640
|
stable-code-3b.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ecf7c8c9492806adf64d4af4630d818b7af8e09be95839a7575d5d99bb6c084
|
| 3 |
+
size 2972925440
|
stable-code-3b.fp16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:606218fec3d682f870b1d4d6c1d4bd7b0eeb3af7ae48e43f79fe28424fc7c4db
|
| 3 |
+
size 5593341376
|