Instructions to use di-zhang-fdu/Supra-50M-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 di-zhang-fdu/Supra-50M-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 di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf di-zhang-fdu/Supra-50M-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 di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf di-zhang-fdu/Supra-50M-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 di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf di-zhang-fdu/Supra-50M-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 di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use di-zhang-fdu/Supra-50M-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "di-zhang-fdu/Supra-50M-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "di-zhang-fdu/Supra-50M-Instruct-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M
- Ollama
How to use di-zhang-fdu/Supra-50M-Instruct-GGUF with Ollama:
ollama run hf.co/di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use di-zhang-fdu/Supra-50M-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M
- Lemonade
How to use di-zhang-fdu/Supra-50M-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Supra-50M-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Supra-50M-Instruct-GGUF
GGUF quantizations of SupraLabs/Supra-50M-Instruct.
Files
| File | Quantization | Size |
|---|---|---|
model.gguf |
F16 base GGUF | 100M |
Q8_0.gguf |
Q8_0 | 54M |
Q6_K.gguf |
Q6_K | 44M |
Q4_K_M.gguf |
Q4_K_M | 36M |
Q4_K_S.gguf |
Q4_K_S | 35M |
Q4_0.gguf |
Q4_0 | 33M |
Q3_K_S.gguf |
Q3_K_S | 30M |
Q2_K.gguf |
Q2_K | 28M |
Checksums are in SHA256SUMS.
Conversion
model.gguf is the F16 GGUF from the source repository. The quantized files were generated with llama.cpp build b9550 using llama-quantize.
Some K-quant outputs may contain fallback tensor types where tensor dimensions are not divisible by the required K-quant block size. This is normal llama.cpp behavior for this model shape.
Usage
This model was instruction-tuned with the Alpaca prompt format. It is not a ChatML-style multi-turn chat model, so use completion mode and include the prompt template. The GGUF files intentionally do not include tokenizer.chat_template, because llama.cpp chat mode would otherwise try to apply the wrong template.
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What is the capital of Japan?
### Response:
Example with llama.cpp:
cat > prompt.txt <<'EOF'
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
What is the capital of Japan?
### Response:
EOF
llama-completion \
-hf di-zhang-fdu/Supra-50M-Instruct-GGUF:Q4_K_M \
-f prompt.txt \
-n 128 \
--temp 0.7 \
--top-k 50 \
--top-p 0.9 \
--repeat-penalty 1.15 \
-no-cnv
For deterministic checks, use --temp 0 --top-k 1.
- Downloads last month
- 111