A newer version of the Gradio SDK is available: 6.20.0
metadata
title: Text Summarization — SmolLM2 LoRA
emoji: 📝
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
pinned: false
Text Summarization with SmolLM2-1.7B (LoRA Fine-Tuned)
A Gradio app for article summarization using SmolLM2-1.7B fine-tuned with LoRA on the CNN/DailyMail dataset.
How it works
- Paste an article into the text box (or click a sample article)
- Adjust temperature and max tokens if desired
- Click Summarize to generate a concise summary
Model
- Base: HuggingFaceTB/SmolLM2-1.7B
- Fine-tuning: LoRA (r=8, alpha=16) on CNN/DailyMail
- Hardware: Kaggle P100 (16GB GPU)
- Hub: arinbalyan/summarization-lora
Training
See the Kaggle notebook for the full training pipeline.