Referências:
ModHayes
Use o seguinte comando para carregar este conjunto de dados no TFDS:
ds = tfds.load('huggingface:reuters21578/ModHayes')
- Descrição :
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.
- Licença : Nenhuma licença conhecida
- Versão : 1.0.0
- Divisões :
Dividir | Exemplos |
---|---|
'test' | 722 |
'train' | 20856 |
- Características :
{
"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"
}
}
ModLewis
Use o seguinte comando para carregar este conjunto de dados no TFDS:
ds = tfds.load('huggingface:reuters21578/ModLewis')
- Descrição :
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.
- Licença : Nenhuma licença conhecida
- Versão : 1.0.0
- Divisões :
Dividir | Exemplos |
---|---|
'test' | 6188 |
'train' | 13625 |
'unused' | 722 |
- Características :
{
"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"
}
}
ModApte
Use o seguinte comando para carregar este conjunto de dados no TFDS:
ds = tfds.load('huggingface:reuters21578/ModApte')
- Descrição :
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.
- Licença : Nenhuma licença conhecida
- Versão : 1.0.0
- Divisões :
Dividir | Exemplos |
---|---|
'test' | 3299 |
'train' | 9603 |
'unused' | 722 |
- Características :
{
"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"
}
}