Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Benchmark Analysis of Transformer-Models for Movie Subtitle Summarization

An academic project to evaluate and compare the performance of PEGASUS, T5, LED, and GPT-2 on the task of abstractive summarization of movie subtitles.

Project Overview

This project tackles the challenging task of generating coherent, abstractive summaries from noisy and dialogue-rich movie subtitle data. Unlike well-structured news articles, subtitles present unique difficulties due to their conversational nature and fragmented narrative.

Our goal was to systematically benchmark four state-of-the-art Transformer-based models to understand their capabilities and limitations in this specific domain, providing valuable insights for summarizing dialogue-heavy text.

My Specific Contributions

As a primary contributor to this two-person team, I was responsible for the following key areas:

  • Foundational Development: Developed the initial codebase, established the complete project workflow, and performed early-stage program optimizations.
  • Data Engineering: Managed the entire data pipeline, including cleaning and preprocessing subtitles from the OpenSubtitles dataset and aligning them with the CMU Movie Summary Corpus.
  • Model Implementation & Training: Implemented the fine-tuning process for all four models (PEGASUS, T5, LongT5, LED, GPT-2) using the Hugging Face Transformers library.
  • Performance Analysis: Conducted a comprehensive quantitative evaluation using ROUGE, BLEU, and BERTScore metrics to analyze and compare the performance of each model.

Tech Stack

  • Languages: Python
  • Libraries & Frameworks: PyTorch, Hugging Face Transformers, Scikit-learn, Pandas, NLTK

Full Project Report

For a detailed breakdown of the methodology, experiments, results, and in-depth analysis, please see the full project report included in this repository.

View Full Report (PDF)

Team & Acknowledgments

This project was completed in collaboration with Yansheng Ma.

About

An academic project to benchmark Transformer models (PEGASUS, T5, etc.) for abstractive movie subtitle summarization.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors