sst

参考文献:

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

ds = tfds.load('huggingface:sst')
  • 説明
The Stanford Sentiment Treebank, the first corpus with fully labeled parse trees that allows for a
complete analysis of the compositional effects of sentiment in language.
  • ライセンス: 不明なライセンス
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 2210
'train' 8544
'validation' 1101
  • 特徴
{
    "sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "dtype": "float32",
        "id": null,
        "_type": "Value"
    },
    "tokens": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "tree": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

辞書

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

ds = tfds.load('huggingface:sst/dictionary')
  • 説明
The Stanford Sentiment Treebank, the first corpus with fully labeled parse trees that allows for a
complete analysis of the compositional effects of sentiment in language.
  • ライセンス: 不明なライセンス
  • バージョン: 1.0.0
  • 分割:
スプリット
'dictionary' 239232
  • 特徴
{
    "phrase": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "dtype": "float32",
        "id": null,
        "_type": "Value"
    }
}

ptb

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

ds = tfds.load('huggingface:sst/ptb')
  • 説明
The Stanford Sentiment Treebank, the first corpus with fully labeled parse trees that allows for a
complete analysis of the compositional effects of sentiment in language.
  • ライセンス: 不明なライセンス
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 2210
'train' 8544
'validation' 1101
  • 特徴
{
    "ptb_tree": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}