参考文献:
短い
次のコマンドを使用して、このデータセットを TFDS にロードします。
ds = tfds.load('huggingface:reddit_tifu/short')
- 説明:
Reddit dataset, where TIFU denotes the name of subbreddit /r/tifu.
As defined in the publication, styel "short" uses title as summary and
"long" uses tldr as summary.
Features includes:
- document: post text without tldr.
- tldr: tldr line.
- title: trimmed title without tldr.
- ups: upvotes.
- score: score.
- num_comments: number of comments.
- upvote_ratio: upvote ratio.
- ライセンス: 既知のライセンスはありません
- バージョン: 1.1.0
- 分割:
スプリット | 例 |
---|---|
'train' | 79740 |
- 特徴:
{
"ups": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"num_comments": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"upvote_ratio": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"score": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"documents": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"tldr": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"title": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}
長さ
次のコマンドを使用して、このデータセットを TFDS にロードします。
ds = tfds.load('huggingface:reddit_tifu/long')
- 説明:
Reddit dataset, where TIFU denotes the name of subbreddit /r/tifu.
As defined in the publication, styel "short" uses title as summary and
"long" uses tldr as summary.
Features includes:
- document: post text without tldr.
- tldr: tldr line.
- title: trimmed title without tldr.
- ups: upvotes.
- score: score.
- num_comments: number of comments.
- upvote_ratio: upvote ratio.
- ライセンス: 既知のライセンスはありません
- バージョン: 1.1.0
- 分割:
スプリット | 例 |
---|---|
'train' | 42139 |
- 特徴:
{
"ups": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"num_comments": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"upvote_ratio": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"score": {
"dtype": "float32",
"id": null,
"_type": "Value"
},
"documents": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"tldr": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"title": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}