polemo2

مراجع:

در

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:polemo2/in')
  • توضیحات :
The PolEmo2.0 is a set of online reviews from medicine and hotels domains. The task is to predict the sentiment of a review. There are two separate test sets, to allow for in-domain (medicine and hotels) as well as out-of-domain (products and university) validation.
  • مجوز : CC BY-NC-SA 4.0
  • نسخه : 1.1.0
  • تقسیمات :
تقسیم کنید نمونه ها
'test' 722
'train' 5783
'validation' 723
  • ویژگی ها :
{
    "sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "target": {
        "num_classes": 4,
        "names": [
            "__label__meta_amb",
            "__label__meta_minus_m",
            "__label__meta_plus_m",
            "__label__meta_zero"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}

بیرون

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:polemo2/out')
  • توضیحات :
The PolEmo2.0 is a set of online reviews from medicine and hotels domains. The task is to predict the sentiment of a review. There are two separate test sets, to allow for in-domain (medicine and hotels) as well as out-of-domain (products and university) validation.
  • مجوز : CC BY-NC-SA 4.0
  • نسخه : 1.1.0
  • تقسیمات :
تقسیم کنید نمونه ها
'test' 494
'train' 5783
'validation' 494
  • ویژگی ها :
{
    "sentence": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "target": {
        "num_classes": 4,
        "names": [
            "__label__meta_amb",
            "__label__meta_minus_m",
            "__label__meta_plus_m",
            "__label__meta_zero"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}