Code Monkey home page Code Monkey logo

abstractive_text_summarization's Introduction

Abstractive text summarization using CNN/DailyMail dataset

Abstractive text summarization summarizes the text maintaining coherent information in a similar amount of words as human generated summary. In the report, briefly describe the abstractive text summarization task and several methods used to predict the summary in a concise way. Notebook file fine-tunes T5 transfer learning model on CNN/DailyMail dataset and achieve a strong ROUGE-1 unigram measure of 44% and ROUGE-2 bigram of 14%.

Dataset

CNN, Daily Mail Dataset

An English-language dataset containing over 300k unique news articles as written by journalists at CNN and the Daily Mail.

The dataset has the following columns:

  1. id: a string containing the url
  2. article: the body of the news article
  3. highlights: the highlight of the article as written by the article author

Article and highlights features are used as a 'source_text' and 'target_text' respectively as a training data.The target_text feature is used to test the model generated summarization vs the author generated summarization of the source_text.

Pre-processing

Following pre-processing of the data is conducted.

  1. General contractions in the English language are expanded for consistency of each type of word.
  2. All the text converted to lowercase and all the unwanted characters, stopwords are removed from the dataset.
  3. Frequency of each word in the vocabulary calculated.
  4. Final vocabulary of size 58, 2734 words are obtained.

Results

CNN/DailyMail Summary Text T5 Fine tuned predicted summary text
Aluko nets winner with ten minutes remaining at KC Stadium. Tomas Marek put visitors into shock lead after two minutes. Ahmed Elmohamady equalised for the hosts .Steve Bruce's side now await Europa League play-off. Ahmed Elmohamady gave AS Trencin the lead early on in the first half. Sone Aluko doubled the lead with a stunning free-kick from six yards. Hull's European adventure was extended by a minute-long penalty.

ROUGE 1: 0.11, ROUGE 2: 0.02

abstractive_text_summarization's People

Contributors

azizamirsaidova avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

abstractive_text_summarization's Issues

Train.csv

can u provide me train.csv file plz

results on the rnn/lstm part

Hey, I am implementing the same project using the rnn/lstm part. Could you tell me how much was the score of results(ROUGE/BLEU) on CNN dataset using the rnn/lstm code? I would really appreciate your answer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.