cos_e
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Common Sense Explanations (CoS-E) を使用すると、言語モデルをトレーニングして、新しい Commonsense Auto-Generated Explanation (CAGE) フレームワークでトレーニングおよび推論中に使用できる説明を自動的に生成できます。
スプリット | 例 |
---|
'train' | 9,741 |
'validation' | 1,221 |
FeaturesDict({
'abstractive_explanation': Text(shape=(), dtype=string),
'answer': Text(shape=(), dtype=string),
'choices': Sequence(Text(shape=(), dtype=string)),
'extractive_explanation': Text(shape=(), dtype=string),
'id': Text(shape=(), dtype=string),
'question': Text(shape=(), dtype=string),
})
特徴 | クラス | 形 | Dtype | 説明 |
---|
| 特徴辞書 | | | |
abstractive_explanation | 文章 | | ストリング | |
答え | 文章 | | ストリング | |
選択肢 | シーケンス(テキスト) | (なし、) | ストリング | |
extractive_explanation | 文章 | | ストリング | |
ID | 文章 | | ストリング | |
質問 | 文章 | | ストリング | |
@inproceedings{rajani2019explain,
title = "Explain Yourself! Leveraging Language models for Commonsense Reasoning",
author = "Rajani, Nazneen Fatema and
McCann, Bryan and
Xiong, Caiming and
Socher, Richard",
year="2019",
booktitle = "Proceedings of the 2019 Conference of the Association for Computational Linguistics (ACL2019)",
url ="https://arxiv.org/abs/1906.02361"
}
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-12-06 UTC。
[null,null,["最終更新日 2022-12-06 UTC。"],[],[],null,["# cos_e\n\n\u003cbr /\u003e\n\n- **Description**:\n\nCommon Sense Explanations (CoS-E) allows for training language models to\nautomatically generate explanations that can be used during training and\ninference in a novel Commonsense Auto-Generated Explanation (CAGE) framework.\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/cos-e)\n\n- **Homepage** :\n \u003chttps://github.com/salesforce/cos-e\u003e\n\n- **Source code** :\n [`tfds.text.CosE`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/text/cos_e.py)\n\n- **Versions**:\n\n - **`0.0.1`** (default): No release notes.\n- **Download size** : `6.23 MiB`\n\n- **Dataset size** : `3.89 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'train'` | 9,741 |\n| `'validation'` | 1,221 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'abstractive_explanation': Text(shape=(), dtype=string),\n 'answer': Text(shape=(), dtype=string),\n 'choices': Sequence(Text(shape=(), dtype=string)),\n 'extractive_explanation': Text(shape=(), dtype=string),\n 'id': Text(shape=(), dtype=string),\n 'question': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|-------------------------|----------------|---------|--------|-------------|\n| | FeaturesDict | | | |\n| abstractive_explanation | Text | | string | |\n| answer | Text | | string | |\n| choices | Sequence(Text) | (None,) | string | |\n| extractive_explanation | Text | | string | |\n| id | Text | | string | |\n| question | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `None`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @inproceedings{rajani2019explain,\n title = \"Explain Yourself! Leveraging Language models for Commonsense Reasoning\",\n author = \"Rajani, Nazneen Fatema and\n McCann, Bryan and\n Xiong, Caiming and\n Socher, Richard\",\n year=\"2019\",\n booktitle = \"Proceedings of the 2019 Conference of the Association for Computational Linguistics (ACL2019)\",\n url =\"https://arxiv.org/abs/1906.02361\"\n }"]]