อ้างอิง:
ตามบัญญัติ
ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน 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 International 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 International 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"
}
}
]
}