詩の感情

参照:

次のコマンドを使用して、このデータセットをTFDSにロードします。

ds = tfds.load('huggingface:poem_sentiment')
  • 説明
Poem Sentiment is a sentiment dataset of poem verses from Project Gutenberg. This dataset can be used for tasks such as sentiment classification or style transfer for poems.
  • ライセンス:既知のライセンスはありません
  • バージョン:1.0.0
  • 分割
スプリット
'test' 104
'train' 892
'validation' 105
  • 特徴
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "verse_text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 3,
        "names": [
            "negative",
            "positive",
            "no_impact"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}