Instructions to use tensorblock/SmolLM2-135M-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/SmolLM2-135M-Instruct-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/SmolLM2-135M-Instruct-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/SmolLM2-135M-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/SmolLM2-135M-Instruct-GGUF", filename="SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/SmolLM2-135M-Instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/SmolLM2-135M-Instruct-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/SmolLM2-135M-Instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/SmolLM2-135M-Instruct-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/SmolLM2-135M-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/SmolLM2-135M-Instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/SmolLM2-135M-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/SmolLM2-135M-Instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.SmolLM2-135M-Instruct-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- SmolLM2-135M-Instruct-Q3_K_L.gguf +0 -3
- SmolLM2-135M-Instruct-Q3_K_S.gguf +0 -3
- SmolLM2-135M-Instruct-Q4_0.gguf +0 -3
- SmolLM2-135M-Instruct-Q4_K_M.gguf +0 -3
- SmolLM2-135M-Instruct-Q4_K_S.gguf +0 -3
- SmolLM2-135M-Instruct-Q5_0.gguf +0 -3
- SmolLM2-135M-Instruct-Q5_K_M.gguf +0 -3
- SmolLM2-135M-Instruct-Q5_K_S.gguf +0 -3
- SmolLM2-135M-Instruct-Q6_K.gguf +0 -3
- SmolLM2-135M-Instruct-Q8_0.gguf +0 -3
SmolLM2-135M-Instruct-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7e6a9874249df11c647d1811cba3c45c7435856759fb07a82fb69f19a8307c75
|
| 3 |
-
size 97534016
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ffad7f0cb6e06b868ba6fc9005abe7b5d838887a54cc0383443dde45619dfd10
|
| 3 |
-
size 88202816
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f4eaa2c74aa4d8e338955ea25069e8ed4a2df4e3a1910e7a40d5578fffa13084
|
| 3 |
-
size 91727936
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:61718c9dfdbce4952a9ecb6c66b5c1700667d08f7bca3d7a3bed46f71318dc1a
|
| 3 |
-
size 105455168
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a4ceccdef0ab922e952e238a3eea00c62e0040ea27663e7cfd264f77b3306730
|
| 3 |
-
size 102040640
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e92ae0f5cc8b8630a77c8c06e280680efb8ae51e6c35ea9d2850056f8f6ddaf9
|
| 3 |
-
size 104998976
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:613be3da3c02b857b58bc0672140f3223fd4f48a4396f639d67b8783f7b2c6d3
|
| 3 |
-
size 112104512
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6d11dba3d87131fc320b764098d6235f3a6d33d032a7480c2868d629968dd74d
|
| 3 |
-
size 109975616
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fe9cf3c51dec9ba6ffdce18f0a81e934d02b27e58f8b9bfd2385e8560a2a96bd
|
| 3 |
-
size 138383936
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM2-135M-Instruct-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cd433406be64764c8d5e4ffacf4c5ada776b87df4bdbb756629430757c5e9fda
|
| 3 |
-
size 144812096
|
|
|
|
|
|
|
|
|
|
|
|