Instructions to use QuantFactory/distilgpt2-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 QuantFactory/distilgpt2-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/distilgpt2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/distilgpt2-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/distilgpt2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/distilgpt2-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/distilgpt2-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/distilgpt2-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/distilgpt2-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/distilgpt2-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/distilgpt2-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use QuantFactory/distilgpt2-GGUF with Ollama:
ollama run hf.co/QuantFactory/distilgpt2-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use QuantFactory/distilgpt2-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/distilgpt2-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/distilgpt2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/distilgpt2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.distilgpt2-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Upload distilgpt2.Q4_K_S.gguf with huggingface_hub
Verified signatureb41ee4e -
Upload distilgpt2.Q3_K_S.gguf with huggingface_hub
Verified signature097e27b -
Upload distilgpt2.Q3_K_M.gguf with huggingface_hub
Verified signatureaf8c56e -
Upload distilgpt2.Q3_K_L.gguf with huggingface_hub
Verified signature5570da7 -
Upload distilgpt2.Q2_K.gguf with huggingface_hub
Verified signature37836cc -
Upload distilgpt2.Q5_1.gguf with huggingface_hub
Verified signaturef72f703 -
Upload distilgpt2.Q5_0.gguf with huggingface_hub
Verified signature5ddd56b -
Upload distilgpt2.Q5_K_S.gguf with huggingface_hub
Verified signature28f20fd -
Upload distilgpt2.Q5_K_M.gguf with huggingface_hub
Verified signaturec0620aa -
Upload distilgpt2.Q6_K.gguf with huggingface_hub
Verified signaturedc95a41 -
Upload distilgpt2.Q8_0.gguf with huggingface_hub
Verified signaturebe273d4 -
Upload distilgpt2.Q4_0.gguf with huggingface_hub
Verified signatureeefcdcd -
Upload distilgpt2.Q4_1.gguf with huggingface_hub
Verified signature5cb7141 -
Upload distilgpt2.Q4_K_M.gguf with huggingface_hub
Verified signatureabbbaee -
Upload README.md with huggingface_hub
Verified signaturef127865 -
initial commit
Verified signature070ef4c