อ้างอิง:
ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:
ds = tfds.load('huggingface:yoruba_bbc_topics')
- คำอธิบาย :
A collection of news article headlines in Yoruba from BBC Yoruba.
Each headline is labeled with one of the following classes: africa,
entertainment, health, nigeria, politics, sport or world.
The dataset was presented in the paper:
Hedderich, Adelani, Zhu, Alabi, Markus, Klakow: Transfer Learning and
Distant Supervision for Multilingual Transformer Models: A Study on
African Languages (EMNLP 2020).
- ใบอนุญาต : ไม่มีใบอนุญาตที่รู้จัก
- เวอร์ชั่น : 0.0.0
- แยก :
แยก | ตัวอย่าง |
---|---|
'test' | 379 |
'train' | 1340 |
'validation' | 189 |
- คุณสมบัติ :
{
"news_title": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"label": {
"num_classes": 7,
"names": [
"africa",
"entertainment",
"health",
"nigeria",
"politics",
"sport",
"world"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"date": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"bbc_url_id": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}