How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
# Run inference directly in the terminal:
llama-cli -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
# Run inference directly in the terminal:
llama-cli -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
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 AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
# Run inference directly in the terminal:
./llama-cli -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
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 AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
Use Docker
docker model run hf.co/AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF:F16
Quick Links

Qwen2.5-0.5B-Instruct-summarization-GGUF

Fine-tuned Qwen2.5-0.5B-Instruct for news article summarization. Trained on CNN DailyMail dataset and converted to GGUF format for efficient inference.

🎯 Quick Stats

  • Trained on: 10K CNN DailyMail articles
  • Output: Concise 20-40 word summaries
  • Performance: +11-28% ROUGE improvement over base model
  • Format: GGUF (F16)

πŸ“Š Performance

Metric Base Fine-tuned Ξ”
ROUGE-1 0.239 0.268 +11%
ROUGE-2 0.070 0.082 +16%
ROUGE-L 0.171 0.198 +16%
ROUGE-Lsum 0.196 0.251 +28%

πŸš€ Usage

llama.cpp:

./llama-cli -hf AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF --jinja

Ollama:

ollama create qwen-summarizer -f Modelfile
ollama run qwen-summarizer

Prompt format:

Summarize the following text:

[Your article text here]

πŸ—οΈ Training

  • Method: LoRA (rank 32, 4-bit quantization)
  • Time: ~73 minutes on T4 GPU
  • Framework: Unsloth (2x faster training)

πŸ“„ License

Apache 2.0


Downloads last month
10
GGUF
Model size
0.5B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for AbdelilahYounsi/Qwen2.5-0.5B-Instruct-summarization-GGUF

Quantized
(21)
this model