wiki_snippets

อ้างอิง:

วิกิ40b_en_100_0

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

ds = tfds.load('huggingface:wiki_snippets/wiki40b_en_100_0')
  • คำอธิบาย :
Wikipedia version split into plain text snippets for dense semantic indexing.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 1.0.0
  • แยก :
แยก ตัวอย่าง
'train' 17553713
  • คุณสมบัติ :
{
    "_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "datasets_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "wiki_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "start_paragraph": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "start_character": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "end_paragraph": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "end_character": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "article_title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "section_title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "passage_text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

วิกิพีเดีย_en_100_0

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

ds = tfds.load('huggingface:wiki_snippets/wikipedia_en_100_0')
  • คำอธิบาย :
Wikipedia version split into plain text snippets for dense semantic indexing.
  • ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
  • เวอร์ชัน : 2.0.0
  • แยก :
แยก ตัวอย่าง
'train' 33849898
  • คุณสมบัติ :
{
    "_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "datasets_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "wiki_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "start_paragraph": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "start_character": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "end_paragraph": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "end_character": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "article_title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "section_title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "passage_text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}