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"
    }
}