Рейтер21578

Ссылки:

МодHayes

Используйте следующую команду, чтобы загрузить этот набор данных в 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"
    }
}