Referências:
canônico
Use o seguinte comando para carregar este conjunto de dados no TFDS:
ds = tfds.load('huggingface:ascent_kb/canonical')
- Descrição :
This dataset contains 8.9M commonsense assertions extracted by the Ascent pipeline (https://ascent.mpi-inf.mpg.de/).
- Licença : A Licença Internacional Creative Commons Attribution 4.0. https://creativecommons.org/licenses/by/4.0/
- Versão : 1.0.0
- Divisões :
Dividir | Exemplos |
---|---|
'train' | 8904060 |
- Características :
{
"arg1": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"rel": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"arg2": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"support": {
"dtype": "int64",
"id": null,
"_type": "Value"
},
"facets": [
{
"value": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"type": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"support": {
"dtype": "int64",
"id": null,
"_type": "Value"
}
}
],
"source_sentences": [
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"source": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}
]
}
abrir
Use o seguinte comando para carregar este conjunto de dados no TFDS:
ds = tfds.load('huggingface:ascent_kb/open')
- Descrição :
This dataset contains 8.9M commonsense assertions extracted by the Ascent pipeline (https://ascent.mpi-inf.mpg.de/).
- Licença : A Licença Internacional Creative Commons Attribution 4.0. https://creativecommons.org/licenses/by/4.0/
- Versão : 1.0.0
- Divisões :
Dividir | Exemplos |
---|---|
'train' | 8904060 |
- Características :
{
"subject": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"predicate": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"object": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"support": {
"dtype": "int64",
"id": null,
"_type": "Value"
},
"facets": [
{
"value": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"type": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"support": {
"dtype": "int64",
"id": null,
"_type": "Value"
}
}
],
"source_sentences": [
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"source": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}
]
}