Stay organized with collections Save and categorize content based on your preferences.

  • Description:

CNN/DailyMail non-anonymized summarization dataset.

There are two features: - article: text of news article, used as the document to be summarized - highlights: joined text of highlights with and around each highlight, which is the target summary

  • Homepage:

  • Source code: tfds.summarization.CnnDailymail

  • Versions:

    • 1.0.0: New split API (
    • 2.0.0: Separate target sentences with newline. (Having the model predict newline separators makes it easier to evaluate using summary-level ROUGE.)

    • 3.0.0: Using cased version.

    • 3.1.0: Removed BuilderConfig

    • 3.2.0: Remove extra space before added sentence period. This shouldn't affect ROUGE scores because punctuation is removed.

    • 3.3.0: Add publisher feature.

    • 3.4.0 (default) : Add ID feature.

  • Download size: 558.32 MiB

  • Dataset size: 1.29 GiB

  • Auto-cached (documentation): No

  • Splits:

Split Examples
'test' 11,490
'train' 287,113
'validation' 13,368
  • Feature structure:
    'article': Text(shape=(), dtype=tf.string),
    'highlights': Text(shape=(), dtype=tf.string),
    'id': Text(shape=(), dtype=tf.string),
    'publisher': Text(shape=(), dtype=tf.string),
  • Feature documentation:
Feature Class Shape Dtype Description
article Text tf.string
highlights Text tf.string
id Text tf.string
publisher Text tf.string
  • Citation:
  author    = {Abigail See and
               Peter J. Liu and
               Christopher D. Manning},
  title     = {Get To The Point: Summarization with Pointer-Generator Networks},
  journal   = {CoRR},
  volume    = {abs/1704.04368},
  year      = {2017},
  url       = {},
  archivePrefix = {arXiv},
  eprint    = {1704.04368},
  timestamp = {Mon, 13 Aug 2018 16:46:08 +0200},
  biburl    = {},
  bibsource = {dblp computer science bibliography,}

  title={Teaching machines to read and comprehend},
  author={Hermann, Karl Moritz and Kocisky, Tomas and Grefenstette, Edward and Espeholt, Lasse and Kay, Will and Suleyman, Mustafa and Blunsom, Phil},
  booktitle={Advances in neural information processing systems},