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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/SmolLM2-135M-Instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/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 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 serve -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/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -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
- Llama new
- 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 Desktop
- 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
- Atomic Chat
Download SmolLM2-135M-Instruct-Q2_K.gguf from tensorblock/SmolLM2-135M-Instruct-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 88.2 MB
-
https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/resolve/main/SmolLM2-135M-Instruct-Q2_K.gguf
- Command line
-
hf download hf://tensorblock/SmolLM2-135M-Instruct-GGUF/SmolLM2-135M-Instruct-Q2_K.gguf
-
curl -L -o SmolLM2-135M-Instruct-Q2_K.gguf https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/resolve/main/SmolLM2-135M-Instruct-Q2_K.gguf
88.2 MB
- Xet hash:
- f009fcf4fd03578cf9582ed8bb15ee28a9561c6b2ce4d1e16b9c9cb0e40f16d6
- Size of remote file:
- 88.2 MB
- SHA256:
- 478cca924101ed67bb2751f597be41532b2f4817ee2ab1b0d7cc379c76e79faf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.