wiki_bio

อ้างอิง:

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:wiki_bio')
  • คำอธิบาย :
This dataset gathers 728,321 biographies from wikipedia. It aims at evaluating text generation
algorithms. For each article, we provide the first paragraph and the infobox (both tokenized).
For each article, we extracted the first paragraph (text), the infobox (structured data). Each
infobox is encoded as a list of (field name, field value) pairs. We used Stanford CoreNLP
(http://stanfordnlp.github.io/CoreNLP/) to preprocess the data, i.e. we broke the text into
sentences and tokenized both the text and the field values. The dataset was randomly split in
three subsets train (80%), valid (10%), test (10%).
  • ใบอนุญาต : CC BY-SA 3.0
  • เวอร์ชั่น : 1.2.0
  • แยก :
แยก ตัวอย่าง
'test' 72831
'train' 582659
'val' 72831
  • คุณสมบัติ :
{
    "input_text": {
        "table": {
            "feature": {
                "column_header": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                },
                "row_number": {
                    "dtype": "int16",
                    "id": null,
                    "_type": "Value"
                },
                "content": {
                    "dtype": "string",
                    "id": null,
                    "_type": "Value"
                }
            },
            "length": -1,
            "id": null,
            "_type": "Sequence"
        },
        "context": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        }
    },
    "target_text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}