Skip to content

A text summarizer web app powered by a Flan-T5 model fine-tuned to generate a short TL;DR summary of any text

Notifications You must be signed in to change notification settings

zaydzuhri/toolongdontread

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Too Long; Don't Read

Screenshot

Introduction

This is a text summarizer web app that is attached to a large language model, specifically flan-t5-base, fine-tuned to generate short TL;DR summaries of any text.

Training

Huggingface🤗 Repository
The flan-t5-base model was trained on a dataset of 100 thousand Reddit posts that contained a tl;dr summary in the comments, obtained from this dataset. The model was trained for 5 epochs using the Huggingface Transformers library. The model was trained on AWS Sagemaker using a g4dn.xlarge instance for ~12 hours.

Usage

  1. Open your browser and go to toolongdontread.live, or run frontend/index.html locally.
  2. Paste the text you want to summarize in the input box.
  3. Click on the "TL;DR" button.
  4. The summary will be displayed below the input box.

Acknowledgments

This project was heavily inspired by and follows the training setup from this tutorial

About

A text summarizer web app powered by a Flan-T5 model fine-tuned to generate a short TL;DR summary of any text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published