swahili_news

তথ্যসূত্র:

swahili_news

TFDS এ এই ডেটাসেট লোড করতে নিম্নলিখিত কমান্ডটি ব্যবহার করুন:

ds = tfds.load('huggingface:swahili_news/swahili_news')
  • বর্ণনা :
Swahili is spoken by 100-150 million people across East Africa. In Tanzania, it is one of two national languages (the other is English) and it is the official language of instruction in all schools. News in Swahili is an important part of the media sphere in Tanzania.

News contributes to education, technology, and the economic growth of a country, and news in local languages plays an important cultural role in many Africa countries. In the modern age, African languages in news and other spheres are at risk of being lost as English becomes the dominant language in online spaces.

The Swahili news dataset was created to reduce the gap of using the Swahili language to create NLP technologies and help AI practitioners in Tanzania and across Africa continent to practice their NLP skills to solve different problems in organizations or societies related to Swahili language. Swahili News were collected from different websites that provide news in the Swahili language. I was able to find some websites that provide news in Swahili only and others in different languages including Swahili.

The dataset was created for a specific task of text classification, this means each news content can be categorized into six different topics (Local news, International news , Finance news, Health news, Sports news, and Entertainment news). The dataset comes with a specified train/test split. The train set contains 75% of the dataset and test set contains 25% of the dataset.
  • লাইসেন্স : ক্রিয়েটিভ কমন্স অ্যাট্রিবিউশন 4.0 ইন্টারন্যাশনাল
  • সংস্করণ : 0.2.0
  • বিভাজন :
বিভক্ত উদাহরণ
'test' 7338
'train' 22207
  • বৈশিষ্ট্য :
{
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "label": {
        "num_classes": 6,
        "names": [
            "uchumi",
            "kitaifa",
            "michezo",
            "kimataifa",
            "burudani",
            "afya"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    }
}