Instructions to use Nexuss0781/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 Nexuss0781/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 Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_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 Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K # Run inference directly in the terminal: ./llama-cli -hf Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_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 Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
Use Docker
docker model run hf.co/Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
- LM Studio
- Jan
- vLLM
How to use Nexuss0781/SmolLM2-135M-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Nexuss0781/SmolLM2-135M-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Nexuss0781/SmolLM2-135M-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
- Ollama
How to use Nexuss0781/SmolLM2-135M-Instruct-GGUF with Ollama:
ollama run hf.co/Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
- Unsloth Desktop
- Docker Model Runner
How to use Nexuss0781/SmolLM2-135M-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
- Lemonade
How to use Nexuss0781/SmolLM2-135M-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Nexuss0781/SmolLM2-135M-Instruct-GGUF:Q6_K
Run and chat with the model
lemonade run user.SmolLM2-135M-Instruct-GGUF-Q6_K
List all available models
lemonade list
- Atomic Chat
Download conversion-metadata.json from Nexuss0781/SmolLM2-135M-Instruct-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 996 Bytes
-
https://huggingface.co/Nexuss0781/SmolLM2-135M-Instruct-GGUF/resolve/main/conversion-metadata.json
- Command line
-
hf download hf://Nexuss0781/SmolLM2-135M-Instruct-GGUF/conversion-metadata.json
-
curl -L -o conversion-metadata.json https://huggingface.co/Nexuss0781/SmolLM2-135M-Instruct-GGUF/resolve/main/conversion-metadata.json
996 Bytes
| { | |
| "base_model": "HuggingFaceTB/SmolLM2-135M-Instruct", | |
| "original_model_publisher": "HuggingFaceTB", | |
| "conversion_distributor": "Nexuss0781 (GGUF file-format conversion only)", | |
| "ownership_notice": "No authorship or ownership of the underlying SmolLM2 model is claimed by the conversion distributor.", | |
| "base_model_url": "https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct", | |
| "license": "Apache-2.0 (upstream source-model license; no replacement license asserted)", | |
| "converter": "llama.cpp convert_hf_to_gguf.py", | |
| "quantizer": "llama.cpp llama-quantize", | |
| "artifacts": [ | |
| { | |
| "file": "SmolLM2-135M-Instruct-f16.gguf", | |
| "quantization": "F16", | |
| "bytes": 270885952, | |
| "sha256": "fd659c45cacd2213d6b8ffe002c261c193eed4cc0d2b1b2af836fba7b030177c" | |
| }, | |
| { | |
| "file": "SmolLM2-135M-Instruct-Q6_K.gguf", | |
| "quantization": "Q6_K", | |
| "bytes": 138382912, | |
| "sha256": "e12aa5cace7cca9c6bd27a8eddb511d5140628ca5fe3f3f3d20fbbf5c458aeee" | |
| } | |
| ] | |
| } | |