Instructions to use backpack-run/SmolLM2-135M-Instruct-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 backpack-run/SmolLM2-135M-Instruct-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 backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf backpack-run/SmolLM2-135M-Instruct-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 backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf backpack-run/SmolLM2-135M-Instruct-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 backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf backpack-run/SmolLM2-135M-Instruct-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 backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use backpack-run/SmolLM2-135M-Instruct-GGUF with Ollama:
ollama run hf.co/backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M
- Unsloth Studio
How to use backpack-run/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 backpack-run/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 backpack-run/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 backpack-run/SmolLM2-135M-Instruct-GGUF to start chatting
- Docker Model Runner
How to use backpack-run/SmolLM2-135M-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M
- Lemonade
How to use backpack-run/SmolLM2-135M-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull backpack-run/SmolLM2-135M-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolLM2-135M-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
| schema_version: 1 | |
| model: | |
| id: smollm2-135m-instruct | |
| display_name: SmolLM2-135M-Instruct | |
| architecture: LlamaForCausalLM | |
| model_type: llama | |
| parameter_count: 134515008 | |
| context_length: 8192 | |
| tokenizer_type: GPT2Tokenizer | |
| tasks: | |
| - text-generation | |
| chat_template: true | |
| multimodal: false | |
| custom_code: false | |
| safetensors: true | |
| upstream: | |
| repo: HuggingFaceTB/SmolLM2-135M-Instruct | |
| revision: 12fd25f77366fa6b3b4b768ec3050bf629380bac | |
| license: | |
| identifier: apache-2.0 | |
| redistribution: allowed | |
| reason: Upstream declares a recognized license that permits redistribution; retain | |
| its terms and attribution. | |
| gated: false | |
| private: false | |
| source_url: https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct | |
| packages: | |
| - id: gguf-q4-k-m | |
| format: gguf | |
| precision: Q4_K_M | |
| filename: SmolLM2-135M-Instruct-Q4_K_M.gguf | |
| sha256: dd18a11b8634d1684448986b8c166f75319f52082d759654aaa8fe5bd2f057e3 | |
| size_bytes: 105453984 | |
| bits_per_weight: 4.83 | |
| runtime: | |
| provider: llama.cpp | |
| tested_revision: de699957b92f490efebad149665b0dccf127eaff | |
| hardware: | |
| estimated_ram_gb: 0.13 | |
| estimated_vram_gb: 0.12 | |
| recommended_ram_gb: 1.14 | |
| note: Estimate; runtime use varies with context length and configuration. | |
| validation: | |
| integrity: passed | |
| metadata: passed | |
| load: passed | |
| inference: passed | |
| tokenizer: passed | |
| tested_at: '2026-08-20T20:24:16.685253Z' | |
| details: | |
| version: '3' | |
| tensor_count: '272' | |
| metadata_count: '30' | |
| - id: gguf-q5-k-m | |
| format: gguf | |
| precision: Q5_K_M | |
| filename: SmolLM2-135M-Instruct-Q5_K_M.gguf | |
| sha256: 00680963c363ba10593daf7568dd6e1ee4c4771a608fe1b4e43f86b564d9b823 | |
| size_bytes: 112103328 | |
| bits_per_weight: 5.67 | |
| runtime: | |
| provider: llama.cpp | |
| tested_revision: de699957b92f490efebad149665b0dccf127eaff | |
| hardware: | |
| estimated_ram_gb: 0.13 | |
| estimated_vram_gb: 0.12 | |
| recommended_ram_gb: 1.15 | |
| note: Estimate; runtime use varies with context length and configuration. | |
| validation: | |
| integrity: passed | |
| metadata: passed | |
| load: passed | |
| inference: passed | |
| tokenizer: passed | |
| tested_at: '2026-08-20T20:24:18.938307Z' | |
| details: | |
| version: '3' | |
| tensor_count: '272' | |
| metadata_count: '30' | |
| - id: gguf-q8-0 | |
| format: gguf | |
| precision: Q8_0 | |
| filename: SmolLM2-135M-Instruct-Q8_0.gguf | |
| sha256: ee785d9b4836ddb57207ae6daa630206a756c99fc52e19696f1e2ea2e8a41b99 | |
| size_bytes: 144810912 | |
| bits_per_weight: 8.5 | |
| runtime: | |
| provider: llama.cpp | |
| tested_revision: de699957b92f490efebad149665b0dccf127eaff | |
| hardware: | |
| estimated_ram_gb: 0.17 | |
| estimated_vram_gb: 0.16 | |
| recommended_ram_gb: 1.2 | |
| note: Estimate; runtime use varies with context length and configuration. | |
| validation: | |
| integrity: passed | |
| metadata: passed | |
| load: passed | |
| inference: passed | |
| tokenizer: passed | |
| tested_at: '2026-08-20T20:24:21.225025Z' | |
| details: | |
| version: '3' | |
| tensor_count: '272' | |
| metadata_count: '30' | |
| generated_at: '2026-08-20T20:32:10.805207Z' | |