go_emotions

参考文献:

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

ds = tfds.load('huggingface:go_emotions/raw')
  • 説明
The GoEmotions dataset contains 58k carefully curated Reddit comments labeled for 27 emotion categories or Neutral.
The emotion categories are admiration, amusement, anger, annoyance, approval, caring, confusion, curiosity, desire,
disappointment, disapproval, disgust, embarrassment, excitement, fear, gratitude, grief, joy, love, nervousness,
optimism, pride, realization, relief, remorse, sadness, surprise.
  • ライセンス: 不明なライセンス
  • バージョン: 0.0.0
  • 分割:
スプリット
'train' 211225
  • 特徴
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "author": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "subreddit": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "link_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "parent_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "created_utc": {
        "dtype": "float32",
        "id": null,
        "_type": "Value"
    },
    "rater_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "example_very_unclear": {
        "dtype": "bool",
        "id": null,
        "_type": "Value"
    },
    "admiration": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "amusement": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "anger": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "annoyance": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "approval": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "caring": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "confusion": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "curiosity": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "desire": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "disappointment": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "disapproval": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "disgust": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "embarrassment": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "excitement": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "fear": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "gratitude": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "grief": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "joy": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "love": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "nervousness": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "optimism": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "pride": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "realization": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "relief": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "remorse": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "sadness": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "surprise": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "neutral": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    }
}

簡略化された

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

ds = tfds.load('huggingface:go_emotions/simplified')
  • 説明
The GoEmotions dataset contains 58k carefully curated Reddit comments labeled for 27 emotion categories or Neutral.
The emotion categories are admiration, amusement, anger, annoyance, approval, caring, confusion, curiosity, desire,
disappointment, disapproval, disgust, embarrassment, excitement, fear, gratitude, grief, joy, love, nervousness,
optimism, pride, realization, relief, remorse, sadness, surprise.
  • ライセンス: 不明なライセンス
  • バージョン: 0.0.0
  • 分割:
スプリット
'test' 5427
'train' 43410
'validation' 5426
  • 特徴
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "labels": {
        "feature": {
            "num_classes": 28,
            "names": [
                "admiration",
                "amusement",
                "anger",
                "annoyance",
                "approval",
                "caring",
                "confusion",
                "curiosity",
                "desire",
                "disappointment",
                "disapproval",
                "disgust",
                "embarrassment",
                "excitement",
                "fear",
                "gratitude",
                "grief",
                "joy",
                "love",
                "nervousness",
                "optimism",
                "pride",
                "realization",
                "relief",
                "remorse",
                "sadness",
                "surprise",
                "neutral"
            ],
            "names_file": null,
            "id": null,
            "_type": "ClassLabel"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}