مراجع:
متعارف
برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:
ds = tfds.load('huggingface:ascent_kb/canonical')
- توضیحات :
This dataset contains 8.9M commonsense assertions extracted by the Ascent pipeline (https://ascent.mpi-inf.mpg.de/).
- مجوز : مجوز بین المللی Creative Commons Attribution 4.0. https://creativecommons.org/licenses/by/4.0/
- نسخه : 1.0.0
- تقسیم ها :
تقسیم کنید | نمونه ها |
---|---|
'train' | 8904060 |
- ویژگی ها :
{
"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"
}
}
]
}
باز کردن
برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:
ds = tfds.load('huggingface:ascent_kb/open')
- توضیحات :
This dataset contains 8.9M commonsense assertions extracted by the Ascent pipeline (https://ascent.mpi-inf.mpg.de/).
- مجوز : مجوز بین المللی Creative Commons Attribution 4.0. https://creativecommons.org/licenses/by/4.0/
- نسخه : 1.0.0
- تقسیم ها :
تقسیم کنید | نمونه ها |
---|---|
'train' | 8904060 |
- ویژگی ها :
{
"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"
}
}
]
}