Instructions to use QuantFactory/SmolLM2-1.7B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuantFactory/SmolLM2-1.7B-Instruct-GGUF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuantFactory/SmolLM2-1.7B-Instruct-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/SmolLM2-1.7B-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 QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/SmolLM2-1.7B-Instruct-GGUF with Ollama:
ollama run hf.co/QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use QuantFactory/SmolLM2-1.7B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/SmolLM2-1.7B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/SmolLM2-1.7B-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.SmolLM2-1.7B-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload SmolLM2-1.7B-Instruct.Q4_K_S.gguf with huggingface_hub
Verified signature6702e34 -
Upload SmolLM2-1.7B-Instruct.Q3_K_S.gguf with huggingface_hub
Verified signature8d5e174 -
Upload SmolLM2-1.7B-Instruct.Q3_K_M.gguf with huggingface_hub
Verified signature58d9e92 -
Upload SmolLM2-1.7B-Instruct.Q3_K_L.gguf with huggingface_hub
Verified signatured20472a -
Upload SmolLM2-1.7B-Instruct.Q2_K.gguf with huggingface_hub
Verified signaturee3a3fbc -
Upload SmolLM2-1.7B-Instruct.Q5_1.gguf with huggingface_hub
Verified signature3eeba50 -
Upload SmolLM2-1.7B-Instruct.Q5_0.gguf with huggingface_hub
Verified signature16838be -
Upload SmolLM2-1.7B-Instruct.Q5_K_S.gguf with huggingface_hub
Verified signature2dbeca4 -
Upload SmolLM2-1.7B-Instruct.Q5_K_M.gguf with huggingface_hub
Verified signature3281d48 -
Upload SmolLM2-1.7B-Instruct.Q6_K.gguf with huggingface_hub
Verified signature8016d35 -
Upload SmolLM2-1.7B-Instruct.Q8_0.gguf with huggingface_hub
Verified signature500beca -
Upload SmolLM2-1.7B-Instruct.Q4_0.gguf with huggingface_hub
Verified signature605a6ad -
Upload SmolLM2-1.7B-Instruct.Q4_1.gguf with huggingface_hub
Verified signaturef7468c7 -
Upload SmolLM2-1.7B-Instruct.Q4_K_M.gguf with huggingface_hub
Verified signatured6802b5 -
Upload README.md with huggingface_hub
Verified signature49ea989 -
initial commit
Verified signature3c74f34