Instructions to use tensorblock/SmolLM-360M-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/SmolLM-360M-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/SmolLM-360M-GGUF", dtype="auto", device_map="auto") - llama-cpp-python
How to use tensorblock/SmolLM-360M-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/SmolLM-360M-GGUF", filename="SmolLM-360M-Q2_K.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 tensorblock/SmolLM-360M-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 tensorblock/SmolLM-360M-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/SmolLM-360M-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/SmolLM-360M-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/SmolLM-360M-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/SmolLM-360M-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/SmolLM-360M-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/SmolLM-360M-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/SmolLM-360M-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/SmolLM-360M-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/SmolLM-360M-GGUF with Ollama:
ollama run hf.co/tensorblock/SmolLM-360M-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/SmolLM-360M-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/SmolLM-360M-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/SmolLM-360M-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/SmolLM-360M-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/SmolLM-360M-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/SmolLM-360M-GGUF:Q2_K
- Lemonade
How to use tensorblock/SmolLM-360M-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/SmolLM-360M-GGUF:Q2_K
Run and chat with the model
lemonade run user.SmolLM-360M-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- SmolLM-360M-Q3_K_L.gguf +0 -3
- SmolLM-360M-Q3_K_S.gguf +0 -3
- SmolLM-360M-Q4_0.gguf +0 -3
- SmolLM-360M-Q4_K_M.gguf +0 -3
- SmolLM-360M-Q4_K_S.gguf +0 -3
- SmolLM-360M-Q5_0.gguf +0 -3
- SmolLM-360M-Q5_K_M.gguf +0 -3
- SmolLM-360M-Q5_K_S.gguf +0 -3
- SmolLM-360M-Q6_K.gguf +0 -3
- SmolLM-360M-Q8_0.gguf +0 -3
SmolLM-360M-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e3aa342b382426a9f5555045c23aa688c89fa7b744bdfff160dc5d2273384180
|
| 3 |
-
size 246321888
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:350f3d8c60829d051e678faf21594e66d1803c82cc0cc955f6e3b88d89f66c79
|
| 3 |
-
size 218673888
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9e02788d51152886048c581a110185272f9403e334667b7e03a0263e1d7f60e5
|
| 3 |
-
size 229118688
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:aa35354360a62bfaf4fcf439e570832ff7c1f077c52b8f44d64a25127a910b3e
|
| 3 |
-
size 270590688
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b516f1994ebce0ca3c71c7e9f08ab5424ab39c9690bde8dcaba71dafc6f9a39e
|
| 3 |
-
size 259915488
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9bac2e484a590a4acb796b7b7d50d950ce15d969e9b06ea94a50dc81f3ace9ef
|
| 3 |
-
size 268440288
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5d3b5798b0190c6cb6612be7c9d8ba645d920e805378ce7bb11ee7a85d2980c7
|
| 3 |
-
size 289944288
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0f546e5985f46c1e9034ae448262e6de65ad99f7d58b6f7eb7da4931bf5ef964
|
| 3 |
-
size 283185888
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f1b6452b3546a534b408fbe83fcabb587ebfb59e0dd296d41d24e3a38b857c42
|
| 3 |
-
size 367358688
|
|
|
|
|
|
|
|
|
|
|
|
SmolLM-360M-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ce6ac1ff6ed64067799a2b89e2114fbb0174208e29713d79f954447425a22a27
|
| 3 |
-
size 386405088
|
|
|
|
|
|
|
|
|
|
|
|