English · Русский
HSE research/course project (2022) on improving an abstractive summarization workflow through training-data filtering.
The project is data-centric: instead of changing only the model architecture, it studies whether filtering training examples can affect downstream summarization quality.
Python · PyTorch · Hugging Face Transformers · Hugging Face Datasets · BART · ROUGE · Jupyter
The notebook uses the XSum summarization dataset and fine-tunes facebook/bart-base. The workflow includes:
- loading and preprocessing XSum;
- tokenization for sequence-to-sequence training;
- BART fine-tuning with
Seq2SeqTrainer; - per-example loss analysis and outlier-based filtering of the training set;
- retraining on the filtered subset;
- evaluation with ROUGE-1, ROUGE-2, ROUGE-L, and ROUGE-Lsum.
filtering_for_abs_summarization.ipynb— end-to-end research notebook with dataset preparation, baseline training, filtering, retraining, and evaluation.
This is an academic experimental repository. The notebook preserves the original workflow and outputs; it is intended to document the research process rather than provide a production summarization service.