อ้างอิง:
ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:
ds = tfds.load('huggingface:narrativeqa')
- คำอธิบาย :
The NarrativeQA dataset for question answering on long documents (movie scripts, books). It includes the list of documents with Wikipedia summaries, links to full stories, and questions and answers.
- ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
- เวอร์ชั่น : 0.0.0
- แยก :
แยก | ตัวอย่าง |
---|---|
'test' | 10557 |
'train' | 32747 |
'validation' | 3461 |
- คุณสมบัติ :
{
"document": {
"id": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"kind": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"url": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"file_size": {
"dtype": "int32",
"id": null,
"_type": "Value"
},
"word_count": {
"dtype": "int32",
"id": null,
"_type": "Value"
},
"start": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"end": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"summary": {
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"tokens": {
"feature": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"length": -1,
"id": null,
"_type": "Sequence"
},
"url": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"title": {
"dtype": "string",
"id": null,
"_type": "Value"
}
},
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
}
},
"question": {
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"tokens": {
"feature": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"length": -1,
"id": null,
"_type": "Sequence"
}
},
"answers": [
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"tokens": {
"feature": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"length": -1,
"id": null,
"_type": "Sequence"
}
}
]
}