Instructions to use tensorblock/stablelm-2-12b-chat-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use tensorblock/stablelm-2-12b-chat-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/stablelm-2-12b-chat-GGUF", filename="stablelm-2-12b-chat-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/stablelm-2-12b-chat-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/stablelm-2-12b-chat-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/stablelm-2-12b-chat-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/stablelm-2-12b-chat-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/stablelm-2-12b-chat-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/stablelm-2-12b-chat-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/stablelm-2-12b-chat-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/stablelm-2-12b-chat-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/stablelm-2-12b-chat-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/stablelm-2-12b-chat-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/stablelm-2-12b-chat-GGUF with Ollama:
ollama run hf.co/tensorblock/stablelm-2-12b-chat-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/stablelm-2-12b-chat-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/stablelm-2-12b-chat-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/stablelm-2-12b-chat-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/stablelm-2-12b-chat-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/stablelm-2-12b-chat-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/stablelm-2-12b-chat-GGUF:Q2_K
- Lemonade
How to use tensorblock/stablelm-2-12b-chat-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/stablelm-2-12b-chat-GGUF:Q2_K
Run and chat with the model
lemonade run user.stablelm-2-12b-chat-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- stablelm-2-12b-chat-Q3_K_L.gguf +0 -3
- stablelm-2-12b-chat-Q3_K_M.gguf +0 -3
- stablelm-2-12b-chat-Q3_K_S.gguf +0 -3
- stablelm-2-12b-chat-Q4_0.gguf +0 -3
- stablelm-2-12b-chat-Q4_K_M.gguf +0 -3
- stablelm-2-12b-chat-Q4_K_S.gguf +0 -3
- stablelm-2-12b-chat-Q5_0.gguf +0 -3
- stablelm-2-12b-chat-Q5_K_M.gguf +0 -3
- stablelm-2-12b-chat-Q5_K_S.gguf +0 -3
- stablelm-2-12b-chat-Q6_K.gguf +0 -3
- stablelm-2-12b-chat-Q8_0.gguf +0 -3
stablelm-2-12b-chat-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f87fe758e2c9223c323746a88676fa141491926dc9974b0419e724edc04df8cc
|
| 3 |
-
size 6492287520
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:dc05000f99d493bbcc67ca566a40d00eded916a1a814b1d90a8ca821bb6a48e4
|
| 3 |
-
size 5993886240
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:543b4074c677ff0e22e60a355c523e76f13356ddac7f0468fcbcacfc2b2156fd
|
| 3 |
-
size 5424460320
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:388cec1f7c832ecedf03f1f1714ae70d59b46e75ff531001d3fb3f6f764f1b86
|
| 3 |
-
size 6968898080
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b5e75adaec1e0b8bc5648cbeede8aacb0156780dab5501af301c2d09d11d669b
|
| 3 |
-
size 7367643680
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6effa66de62eafe15ceb2551a46be4fa2c1a039c9879f224813378a1ed7b8fd3
|
| 3 |
-
size 7016411680
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ac2eb92de7c1ae8f3cdf443585dd9ba3d58f2ca0ed52fcf93cff65211ca58f9c
|
| 3 |
-
size 8422486560
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ec445e8cf77a3169bddfd065ece1d894cba474b6247ac1310e9fa6d386959330
|
| 3 |
-
size 8627900960
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e171a256d7cb3de915a2f670e330bbcb655ad3836f095b1b9e4e13fc08584a2f
|
| 3 |
-
size 8422486560
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2b998ee45c81a22f243948b38c572db7d58331594e4c4c67ffc84330d2f26899
|
| 3 |
-
size 9966924320
|
|
|
|
|
|
|
|
|
|
|
|
stablelm-2-12b-chat-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0590f5541a8ffecb58080f7289878cf422b11859071d48fac261f3b37d5a18ba
|
| 3 |
-
size 12907688480
|
|
|
|
|
|
|
|
|
|
|
|