GRPO Summarization β€” Qwen2.5-0.5B-Instruct & LFM2.5-350M

Checkpoints for two models fine-tuned with Group Relative Policy Optimization (GRPO) on the mlabonne/smoltldr Reddit summarization dataset, trained with smolcluster on an Apple Silicon Mac cluster.

Each checkpoint sub-folder differs only in which automatic quality metric was added to the length reward during GRPO training.

Full rollouts, per-example scores, and paired significance tests: reddit-posts-summarization-grpo (dataset)


Checkpoints

Qwen2.5-0.5B-Instruct-bf16

Fine-tuned from Qwen/Qwen2.5-0.5B-Instruct. Checkpoints live under Qwen2.5-0.5B-Instruct-bf16/grpo-summarization-*/.

Subfolder Reward Faithfulness Coverage Conciseness Clarity Composite
grpo-summarization-length-quality-bleu length + BLEU 0.680 0.399 0.577 0.744 2.400
grpo-summarization-length-quality-rouge length + ROUGE β€” β€” β€” β€” β€”
grpo-summarization-length-quality-meteor length + METEOR β€” β€” β€” β€” β€”
grpo-summarization-length-quality-bleu-rouge length + BLEU + ROUGE 0.810 0.502 0.650 0.770 2.732
grpo-summarization-length-quality-meteor-bleu length + METEOR + BLEU 0.792 0.468 0.648 0.756 2.664
grpo-summarization-length-quality-meteor-rouge length + METEOR + ROUGE 0.832 0.511 0.659 0.767 2.769

Baseline (length-only, composite 2.416): not included as a checkpoint.

LFM2.5-350M-bf16

Fine-tuned from liquid-ai/LFM-2.5-350M. Checkpoints live under LFM-2.5-350M-bf16/grpo-summarization-*/.

Subfolder Reward Faithfulness Coverage Conciseness Clarity Composite
grpo-summarization-length-only length only (baseline) 0.627 0.378 0.554 0.674 2.233
grpo-summarization-length-quality-bleu length + BLEU 0.620 0.401 0.556 0.665 2.243
grpo-summarization-length-quality-rouge length + ROUGE 0.642 0.414 0.575 0.646 2.278
grpo-summarization-length-quality-meteor length + METEOR 0.689 0.433 0.595 0.641 2.358
grpo-summarization-length-quality-bleu-rouge length + BLEU + ROUGE 0.696 0.443 0.606 0.643 2.387
grpo-summarization-length-quality-meteor-bleu length + METEOR + BLEU 0.696 0.451 0.595 0.634 2.377
grpo-summarization-length-quality-meteor-rouge length + METEOR + ROUGE 0.834 0.493 0.685 0.690 2.701

Composite = sum of four G-Eval metrics (max 4.0). Evaluated on 200 examples with gpt-5-mini-2025-08-07 as the LLM judge (5 rounds averaged).


Usage (MLX)

git clone https://huggingface.co/YuvrajSingh9886/reddit-posts-summarization-grpo
cd reddit-posts-summarization-grpo

Qwen2.5-0.5B β€” best run

from mlx_lm import load, generate

model, tokenizer = load("Qwen2.5-0.5B-Instruct-bf16/grpo-summarization-length-quality-meteor-rouge/latest")
messages = [
    {"role": "system", "content": "Summarize the following Reddit post in 2-3 sentences."},
    {"role": "user",   "content": "<paste your Reddit post here>"},
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
output = generate(model, tokenizer, prompt=prompt, max_tokens=128, verbose=False)
print(output)

LFM2.5-350M β€” best run

from mlx_lm import load, generate

model, tokenizer = load("LFM-2.5-350M-bf16/grpo-summarization-length-quality-meteor-rouge/latest")
messages = [
    {"role": "system", "content": "Summarize the following Reddit post in 2-3 sentences."},
    {"role": "user",   "content": "<paste your Reddit post here>"},
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
output = generate(model, tokenizer, prompt=prompt, max_tokens=128, verbose=False)
print(output)

Repository Structure

reddit-posts-summarization-grpo/
β”œβ”€β”€ README.md
β”‚
β”œβ”€β”€ Qwen2.5-0.5B-Instruct-bf16/
β”‚   β”œβ”€β”€ grpo-summarization-length-quality-bleu/latest/
β”‚   β”‚   β”œβ”€β”€ model.safetensors        # MLX bf16 weights (~940 MB)
β”‚   β”‚   β”œβ”€β”€ config.json
β”‚   β”‚   β”œβ”€β”€ tokenizer.json
β”‚   β”‚   β”œβ”€β”€ tokenizer_config.json
β”‚   β”‚   └── chat_template.jinja
β”‚   β”œβ”€β”€ grpo-summarization-length-quality-bleu-rouge/latest/   └── ...
β”‚   β”œβ”€β”€ grpo-summarization-length-quality-meteor/latest/       └── ...
β”‚   β”œβ”€β”€ grpo-summarization-length-quality-meteor-bleu/latest/  └── ...
β”‚   β”œβ”€β”€ grpo-summarization-length-quality-meteor-rouge/latest/ └── ...  ← best (2.769)
β”‚   └── grpo-summarization-length-quality-rouge/latest/        └── ...
β”‚
└── LFM-2.5-350M-bf16/
    β”œβ”€β”€ grpo-summarization-length-only/latest/
    β”‚   β”œβ”€β”€ model.safetensors    # MLX bf16 weights (~709 MB)
    β”‚   β”œβ”€β”€ config.json
    β”‚   β”œβ”€β”€ tokenizer.json
    β”‚   β”œβ”€β”€ tokenizer_config.json
    β”‚   └── chat_template.jinja
    β”œβ”€β”€ grpo-summarization-length-quality-bleu/latest/        └── ...
    β”œβ”€β”€ grpo-summarization-length-quality-rouge/latest/       └── ...
    β”œβ”€β”€ grpo-summarization-length-quality-meteor/latest/      └── ...
    β”œβ”€β”€ grpo-summarization-length-quality-bleu-rouge/latest/  └── ...
    β”œβ”€β”€ grpo-summarization-length-quality-meteor-bleu/latest/ └── ...
    └── grpo-summarization-length-quality-meteor-rouge/latest/ └── ...  ← best (2.701)

Training Details

Setting Qwen2.5-0.5B LFM2.5-350M
Base model Qwen/Qwen2.5-0.5B-Instruct liquid-ai/LFM-2.5-350M
Algorithm GRPO GRPO
Dataset mlabonne/smoltldr (train split) mlabonne/smoltldr (train split)
Shared reward Length penalty Length penalty
Variable reward BLEU / ROUGE / METEOR and combinations BLEU / ROUGE / METEOR and combinations
Hardware Apple Silicon Mac mini cluster Apple Silicon Mac mini cluster
Framework smolcluster (MLX) smolcluster (MLX)
Weights format MLX safetensors (bf16) MLX safetensors (bf16)
Eval examples 200 (validation split) 200 (validation split)
Judge gpt-5-mini-2025-08-07 via DeepEval GEval gpt-5-mini-2025-08-07 via DeepEval GEval
Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

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

Model tree for YuvrajSingh9886/reddit-posts-summarization-grpo

Finetuned
(895)
this model

Dataset used to train YuvrajSingh9886/reddit-posts-summarization-grpo