ロイター21578

参考文献:

モッドヘイズ

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

ds = tfds.load('huggingface:reuters21578/ModHayes')
  • 説明
The Reuters-21578 dataset  is one of the most widely used data collections for text
categorization research. It is collected from the Reuters financial newswire service in 1987.
  • ライセンス: 不明なライセンス
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 722
'train' 20856
  • 特徴
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text_type": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "topics": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "lewis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cgis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "old_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "new_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "places": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "people": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "orgs": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "exchanges": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "date": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

モッドルイス

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

ds = tfds.load('huggingface:reuters21578/ModLewis')
  • 説明
The Reuters-21578 dataset  is one of the most widely used data collections for text
categorization research. It is collected from the Reuters financial newswire service in 1987.
  • ライセンス: 不明なライセンス
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 6188
'train' 13625
'unused' 722
  • 特徴
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text_type": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "topics": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "lewis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cgis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "old_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "new_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "places": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "people": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "orgs": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "exchanges": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "date": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

モッドアプテ

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

ds = tfds.load('huggingface:reuters21578/ModApte')
  • 説明
The Reuters-21578 dataset  is one of the most widely used data collections for text
categorization research. It is collected from the Reuters financial newswire service in 1987.
  • ライセンス: 不明なライセンス
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 3299
'train' 9603
'unused' 722
  • 特徴
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "text_type": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "topics": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "lewis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "cgis_split": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "old_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "new_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "places": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "people": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "orgs": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "exchanges": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "date": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}