Instructions to use tensorblock/stablecode-completion-alpha-3b-4k-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/stablecode-completion-alpha-3b-4k-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/stablecode-completion-alpha-3b-4k-GGUF", filename="stablecode-completion-alpha-3b-4k-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/stablecode-completion-alpha-3b-4k-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
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 tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
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 tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/stablecode-completion-alpha-3b-4k-GGUF with Ollama:
ollama run hf.co/tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/stablecode-completion-alpha-3b-4k-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 tensorblock/stablecode-completion-alpha-3b-4k-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 tensorblock/stablecode-completion-alpha-3b-4k-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/stablecode-completion-alpha-3b-4k-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/stablecode-completion-alpha-3b-4k-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
- Lemonade
How to use tensorblock/stablecode-completion-alpha-3b-4k-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/stablecode-completion-alpha-3b-4k-GGUF:Q2_K
Run and chat with the model
lemonade run user.stablecode-completion-alpha-3b-4k-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- stablecode-completion-alpha-3b-4k-Q3_K_L.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q3_K_M.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q3_K_S.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q4_0.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q4_K_M.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q4_K_S.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q5_0.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q5_K_M.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q5_K_S.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q6_K.gguf +0 -3
- stablecode-completion-alpha-3b-4k-Q8_0.gguf +0 -3
stablecode-completion-alpha-3b-4k-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d8b9cf9896b5c967895d28928532195d4ef6c8394843be54d8a11d69c3e2edb2
|
| 3 |
-
size 1598546528
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4c55b87bb3c0c9553d1ed8957eb04acffbb4ebfbdb56fa06747236514c746a37
|
| 3 |
-
size 1474028128
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5b25310a616f43a86f84f49012fa4d855a287a323ceb740462d512e4543b0d37
|
| 3 |
-
size 1244652128
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:90e8a5f7a8f9dfb3a2e966b20b648c064ffedb07a3e821359d7b433a3840ecf2
|
| 3 |
-
size 1595597408
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:af2bb785ba064b5344a77640fd90fb145f03fbf9c63498efc9936d1eab911bb0
|
| 3 |
-
size 1782375008
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b408018f3f80d9f46d91ffc502cea44e5614bc98d4e21bbbb6fa691f58d1419d
|
| 3 |
-
size 1608704608
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:805d93e792ed4723f1304e9151da23a257d4b98f78e5b445fbc7d1663523b4f6
|
| 3 |
-
size 1925898848
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:11efa24a79c760bd61e82fb96cde6b5c5d5cc462844b172b15470302f3a950ce
|
| 3 |
-
size 2065162848
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:24e6e89bf92b3190f7af9c659294f0d0577c40481b4d65efe98e78af13ee7985
|
| 3 |
-
size 1925898848
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b3efe6e13d7d3550253bfe4e49536cf3295891dc5dc1ce165adaa3faa0bf336a
|
| 3 |
-
size 2276844128
|
|
|
|
|
|
|
|
|
|
|
|
stablecode-completion-alpha-3b-4k-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:bf805593ad861f86f880d6a7faae548cb2daead7968fe7ebc6e74c348e45818e
|
| 3 |
-
size 2947277408
|
|
|
|
|
|
|
|
|
|
|
|