văn bản wiki

Người giới thiệu:

wikitext-103-v1

Sử dụng lệnh sau để tải tập dữ liệu này trong TFDS:

ds = tfds.load('huggingface:wikitext/wikitext-103-v1')
  • Sự miêu tả :
The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified
 Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike
 License.
  • Giấy phép : Creative Commons Ghi công-Chia sẻ tương tự 4.0 quốc tế (CC BY-SA 4.0)
  • Phiên bản : 1.0.0
  • Chia tách :
Tách ra Ví dụ
'test' 4358
'train' 1801350
'validation' 3760
  • Đặc trưng :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

wikitext-2-v1

Sử dụng lệnh sau để tải tập dữ liệu này trong TFDS:

ds = tfds.load('huggingface:wikitext/wikitext-2-v1')
  • Sự miêu tả :
The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified
 Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike
 License.
  • Giấy phép : Creative Commons Ghi công-Chia sẻ tương tự 4.0 quốc tế (CC BY-SA 4.0)
  • Phiên bản : 1.0.0
  • Chia tách :
Tách ra Ví dụ
'test' 4358
'train' 36718
'validation' 3760
  • Đặc trưng :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

wikitext-103-raw-v1

Sử dụng lệnh sau để tải tập dữ liệu này trong TFDS:

ds = tfds.load('huggingface:wikitext/wikitext-103-raw-v1')
  • Sự miêu tả :
The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified
 Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike
 License.
  • Giấy phép : Creative Commons Ghi công-Chia sẻ tương tự 4.0 quốc tế (CC BY-SA 4.0)
  • Phiên bản : 1.0.0
  • Chia tách :
Tách ra Ví dụ
'test' 4358
'train' 1801350
'validation' 3760
  • Đặc trưng :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

wikitext-2-raw-v1

Sử dụng lệnh sau để tải tập dữ liệu này trong TFDS:

ds = tfds.load('huggingface:wikitext/wikitext-2-raw-v1')
  • Sự miêu tả :
The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified
 Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike
 License.
  • Giấy phép : Creative Commons Ghi công-Chia sẻ tương tự 4.0 quốc tế (CC BY-SA 4.0)
  • Phiên bản : 1.0.0
  • Chia tách :
Tách ra Ví dụ
'test' 4358
'train' 36718
'validation' 3760
  • Đặc trưng :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}