ブックサム
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
警告: 手動でダウンロードする必要があります。以下の手順を参照してください。 BookSum: 長い形式の物語の要約のためのデータセットのコレクション
この実装は現在、本と章の要約のみをサポートしています。
GitHub: https://github.com/salesforce/booksum
manual フォルダには、次のディレクトリが含まれている必要があります。
- `booksum/`
- `all_chapterized_books/`
注: BookSum データセットは Web スクレイピングされたデータの可用性に基づいており、不完全な場合があるため、 _generate_examples
メソッドは不足しているエントリを自動的にスキップします。 FeaturesDict({
'document': Text(shape=(), dtype=string),
'summary': Text(shape=(), dtype=string),
})
特徴 クラス 形 Dtype 説明 特徴辞書 資料 文章 ストリング まとめ 文章 ストリング
@article{kryscinski2021booksum,
title={BookSum: A Collection of Datasets for Long-form Narrative Summarization},
author={Wojciech Kry{\'s}ci{\'n}ski and Nazneen Rajani and Divyansh Agarwal and Caiming Xiong and Dragomir Radev},
year={2021},
eprint={2105.08209},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
booksum/book (デフォルト設定) 構成の説明 : ブック レベルの要約
データセットサイズ : 208.81 MiB
スプリット :
スプリット 例 'test'
46 'train'
312 'validation'
45
ブックサム/チャプター 構成の説明 : 章レベルの要約
データセットサイズ : 216.71 MiB
スプリット :
スプリット 例 'test'
1,083 'train'
6,524 'validation'
891
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンス により使用許諾されます。コードサンプルは Apache 2.0 ライセンス により使用許諾されます。詳しくは、Google Developers サイトのポリシー をご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-12-06 UTC。
[null,null,["最終更新日 2022-12-06 UTC。"],[],[],null,["# booksum\n\n\u003cbr /\u003e\n\n| **Warning:** Manual download required. See instructions below.\n\n- **Description**:\n\nBookSum: A Collection of Datasets for Long-form Narrative Summarization\n\nThis implementation currently only supports book and chapter summaries.\n\nGitHub: \u003chttps://github.com/salesforce/booksum\u003e\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/booksum)\n\n- **Homepage** :\n \u003chttps://github.com/salesforce/booksum\u003e\n\n- **Source code** :\n [`tfds.datasets.booksum.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/booksum/booksum_dataset_builder.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): Initial release.\n- **Download size** : `Unknown size`\n\n- **Manual download instructions** : This dataset requires you to\n download the source data manually into `download_config.manual_dir`\n (defaults to `~/tensorflow_datasets/downloads/manual/`): \n\n 1) Go to \u003chttps://github.com/salesforce/booksum,\u003e and run steps 1-3. Place the\n whole `booksum` git project in the manual folder.\n 2) Download the chapterized books from \u003chttps://storage.cloud.google.com/sfr-books-dataset-chapters-research/all_chapterized_books.zip\u003e\n and unzip to the manual folder.\n\nThe manual folder should contain the following directories: \n\n - `booksum/`\n - `all_chapterized_books/`\n\n| **Note:** Because the BookSum dataset is based on the availability of web-scraped data and may be incomplete, the `_generate_examples` method will automatically skip missing entries.\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes (test, validation), Only when `shuffle_files=False` (train)\n\n- **Feature structure**:\n\n FeaturesDict({\n 'document': Text(shape=(), dtype=string),\n 'summary': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|----------|--------------|-------|--------|-------------|\n| | FeaturesDict | | | |\n| document | Text | | string | |\n| summary | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('document', 'summary')`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Citation**:\n\n @article{kryscinski2021booksum,\n title={BookSum: A Collection of Datasets for Long-form Narrative Summarization},\n author={Wojciech Kry{\\'s}ci{\\'n}ski and Nazneen Rajani and Divyansh Agarwal and Caiming Xiong and Dragomir Radev},\n year={2021},\n eprint={2105.08209},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n }\n\nbooksum/book (default config)\n-----------------------------\n\n- **Config description**: Book-level summarization\n\n- **Dataset size** : `208.81 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 46 |\n| `'train'` | 312 |\n| `'validation'` | 45 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nbooksum/chapter\n---------------\n\n- **Config description**: chapter-level summarization\n\n- **Dataset size** : `216.71 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 1,083 |\n| `'train'` | 6,524 |\n| `'validation'` | 891 |\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples..."]]