Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

shmuhammad/AfriSenti-twitter-sentiment(複製)

データの内容

アフリカの 14 言語のツイートに、positive・neutral・negative の感情ラベルを付けたデータ。1 行は一つのツイート(tweet)と label の組で、amh・arq・hau などの言語ごとの構成に分かれている。SemEval 2023 Task 12(AfriSenti-SemEval)の共有タスクで使われ、train・validation・test に分けられている。

データの概要

項目 値
行数 111,718(14 構成・42 分割の合計)
列数 2
容量 18.68 KB(ファイル 4 本)
ファイルの形式 py 1、json 1
言語 amh, ary, ar, arq, hau, ibo, kin, por, pcm, eng, oro, swa, tir, twi, tso, yor
公開 public

構成と分割

構成(config) 分割(split)ごとの行数 列数
amh train 5,984、validation 1,497、test 1,999 2
arq train 1,651、validation 414、test 958 2
ary train 5,583、validation 494、test 2,961 2
hau train 14,172、validation 2,677、test 5,303 2
ibo train 10,192、validation 1,841、test 3,682 2
kin train 3,302、validation 827、test 1,026 2
orm train 0、validation 396、test 2,096 2
pcm train 5,121、validation 1,281、test 4,154 2
por train 3,063、validation 767、test 3,662 2
swa train 1,810、validation 453、test 748 2
tir train 0、validation 398、test 2,000 2
tso train 804、validation 203、test 254 2
twi train 3,481、validation 388、test 949 2
yor train 8,522、validation 2,090、test 4,515 2

列(構成 amh・分割 train。どの構成も同じ列)

列 型 先頭の行の値
tweet string Tesfaye ለካስ ጭብል ለብሰሽ የፕሮፌሰርን ፎቶ ለጥፈክ እልም ያልክ ባዳ …
label class_label(3: positive, neutral, negative) 2

行数と列は HF のデータセットビューアの集計(元のデータセットの現在の版で数えたもの)。全データセットの一覧は HYUKI5/dataset-catalog にある。

複製について

shmuhammad/AfriSenti-twitter-sentiment をリビジョン b52e930385cf5ed7f063072c3f7bd17b599a16cf の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(convaiinnovations/laya)の微調整に使う候補として、調査メモ(Laya 学習用データセット調査)に載せたデータを集めている。

出典

論文

アノテーションの方法

作成の根拠

AfriSenti バージョン 1.0.0 は、最初のアフリカ中心の SemEval 共有タスクで使われることを目的としていた。**SemEval 2023 Task 12: Sentiment analysis for African languages (AfriSenti-SemEval)**。

データセットの作成者

AfriSenti は NaijaSenti を拡張したものである。NaijaSenti は、ハウサ語、ヨルバ語、イボ語、ナイジェリア・ピジン語の 4 つのナイジェリアの言語からなるデータセットである。本データセットは、ほかの 10 言語を加えて拡張され、次の人々の協力を得て作成された:

Language Dataset Curators
アルジェリア・アラビア語 (arq) Nedjma Ousidhoum, Meriem Beloucif
アムハラ語 (ama) Abinew Ali Ayele, Seid Muhie Yimam
ハウサ語 (hau) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
イボ語 (ibo) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
キニヤルワンダ語 (kin) Samuel Rutunda
モロッコ・アラビア語/ダリジャ (ary) Oumaima Hourrane
モザンビークのポルトガル語 (pt-MZ) Felermino Dário Mário António Ali
ナイジェリア・ピジン語 (pcm) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
オロモ語 (orm) Abinew Ali Ayele, Seid Muhie Yimam, Hagos Tesfahun Gebremichael, Sisay Adugna Chala, Hailu Beshada Balcha, Wendimu Baye Messell, Tadesse Belay
スワヒリ語 (swa) Davis Davis
ティグリニャ語 (tir) Abinew Ali Ayele, Seid Muhie Yimam, Hagos Tesfahun Gebremichael, Sisay Adugna Chala, Hailu Beshada Balcha, Wendimu Baye Messell, Tadesse Belay
トウィ語 (twi) Salomey Osei, Bernard Opoku, Steven Arthur
ツォンガ語 (tso) Felermino Dário Mário António Ali
ヨルバ語 (yor) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello

微調整に使うときの注意

  • 調査メモの台帳での区分: A(許諾型のライセンスだけで、疑義の注記が無い)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
  • Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
  • 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。

調査メモの記述

メモ 節 ライセンス(記載) 確認 注記
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r
jev_sources_tasksource_bekko.csv CSV(tasksource-jev-typed-decisions) cc-by-4.0 / license_use=commercial 確認済 license_use=commercial / [Jev 元データ source] source_annotation_converted(deterministic recast; no model r

元のカード(日本語訳)

以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。


データセットカード: AfriSenti Dataset


データセットの説明

データセットの概要

AfriSenti は、十分に扱われてこなかったアフリカの言語を対象とした、最大の感情分析データセットである。14 のアフリカの言語(アムハラ語、アルジェリア・アラビア語、ハウサ語、イボ語、キニヤルワンダ語、モロッコ・アラビア語、モザンビークのポルトガル語、ナイジェリア・ピジン語、オロモ語、スワヒリ語、ティグリニャ語、トウィ語、ツォンガ語、ヨルバ語)で、11 万件を超える(110,000+ 件の)アノテーション付きツイートを収めている。

このデータセットは、最初のアフリカ中心の SemEval 共有タスクである SemEval 2023 Task 12: Sentiment analysis for African languages (AfriSenti-SemEval) で使われた。AfriSenti により、研究コミュニティはさまざまなアフリカの言語の感情分析システムを構築でき、アフリカの言語における感情と現代の言語使用の研究が可能になる。

対応タスクとリーダーボード

AfriSenti は、アフリカの言語における感情分類、感情の強度分析、感情検出など、幅広い感情分析のタスクに使える。このデータセットは、アフリカの言語の感情分析に関するさまざまな NLP タスクのために、機械学習モデルを学習させ評価するのに適している。 SemEval 2023 Task 12 : Sentiment Analysis for African Languages

言語

14 のアフリカの言語(アムハラ語 (amh)、アルジェリア・アラビア語 (ary)、ハウサ語(hau)、イボ語(ibo)、キニヤルワンダ語(kin)、モロッコ・アラビア語/ダリジャ(arq)、モザンビークのポルトガル語(por)、ナイジェリア・ピジン語 (pcm)、オロモ語 (oro)、スワヒリ語(swa)、ティグリニャ語(tir)、トウィ語(twi)、ツォンガ語(tso)、ヨルバ語(yor))。

データセットの構造

データのインスタンス

各インスタンスには、ツイートを表す文字列と、ラベルを表す文字列がある。より多くの例は AfriSenti のデータセットビューアで確認できる。

{
  "tweet": "string",
  "label": "string"
}

データのフィールド

データのフィールドは次のとおり:

tweet: a string feature.
label: a classification label, with possible values including positive, negative and neutral.

データの分割

AfriSenti データセットには train、validation、test の 3 つの分割がある。以下はバージョン 1.0.0 の統計である。

ama arq hau ibo ary orm pcm pt-MZ kin swa tir tso twi yo
train 5,982 1,652 14,173 10,193 5,584 - 5,122 3,064 3,303 1,811 - 805 3,482 8,523
dev 1,498 415 2,678 1,842 1,216 397 1,282 768 828 454 399 204 389 2,091
test 2,000 959 5,304 3,683 2,962 2,097 4,155 3,663 1,027 749 2,001 255 950 4,516
合計 9,483 3,062 22,155 15,718 9,762 2,494 10,559 7,495 5,158 3,014 2,400 1,264 4,821 15,130

使い方

from  datasets  import  load_dataset

# you can load specific languages (e.g., Amharic). This download train, validation and test sets. 
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh")

# train set only
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh", split = "train")

# test set only
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh", split = "test")

# validation set only
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh", split = "validation")

データセットの作成

作成の根拠

AfriSenti バージョン 1.0.0 は、最初のアフリカ中心の SemEval 共有タスクで使われることを目的としていた。**SemEval 2023 Task 12: Sentiment analysis for African languages (AfriSenti-SemEval)**。

ソースデータ

Twitter

初期のデータ収集と正規化

[More Information Needed]

ソースデータの言語の生成者は誰か?

[More Information Needed]

アノテーション

アノテーションの手順

[More Information Needed]

アノテーターは誰か?

[More Information Needed]

個人情報と機微な情報

すべての @mentions を @user に置き換え、すべての URL を削除することで、ツイートを匿名化した。

データ利用上の考慮事項

データセットの社会的影響

AfriSenti データセットは、アフリカの言語の感情分析を改善する可能性をもつ。これは、アフリカ大陸の人々の多様な見方を理解し分析するために不可欠である。このデータセットにより、研究者や開発者は、アフリカの言語に特化した感情分析モデルを作れるようになる。そのモデルは、アフリカの国々の人々の社会的、文化的、政治的な見解を理解するために使える。さらに、このデータセットは、自然言語処理においてアフリカの言語が十分に扱われていない問題への対処に役立ち、より公平で包摂的な AI 技術への道を開く。

[More Information Needed]

バイアスについての議論

[More Information Needed]

その他の既知の限界

[More Information Needed]

追加情報

データセットの作成者

AfriSenti は NaijaSenti を拡張したものである。NaijaSenti は、ハウサ語、ヨルバ語、イボ語、ナイジェリア・ピジン語の 4 つのナイジェリアの言語からなるデータセットである。本データセットは、ほかの 10 言語を加えて拡張され、次の人々の協力を得て作成された:

Language Dataset Curators
アルジェリア・アラビア語 (arq) Nedjma Ousidhoum, Meriem Beloucif
アムハラ語 (ama) Abinew Ali Ayele, Seid Muhie Yimam
ハウサ語 (hau) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
イボ語 (ibo) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
キニヤルワンダ語 (kin) Samuel Rutunda
モロッコ・アラビア語/ダリジャ (ary) Oumaima Hourrane
モザンビークのポルトガル語 (pt-MZ) Felermino Dário Mário António Ali
ナイジェリア・ピジン語 (pcm) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
オロモ語 (orm) Abinew Ali Ayele, Seid Muhie Yimam, Hagos Tesfahun Gebremichael, Sisay Adugna Chala, Hailu Beshada Balcha, Wendimu Baye Messell, Tadesse Belay
スワヒリ語 (swa) Davis Davis
ティグリニャ語 (tir) Abinew Ali Ayele, Seid Muhie Yimam, Hagos Tesfahun Gebremichael, Sisay Adugna Chala, Hailu Beshada Balcha, Wendimu Baye Messell, Tadesse Belay
トウィ語 (twi) Salomey Osei, Bernard Opoku, Steven Arthur
ツォンガ語 (tso) Felermino Dário Mário António Ali
ヨルバ語 (yor) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello

ライセンス情報

AfriSenti は Creative Commons Attribution 4.0 International License のもとで提供される。

引用情報

@inproceedings{Muhammad2023AfriSentiAT,
  title={AfriSenti: A Twitter Sentiment Analysis Benchmark for African Languages},
  author={Shamsuddeen Hassan Muhammad and Idris Abdulmumin and Abinew Ali Ayele and Nedjma Ousidhoum and David Ifeoluwa Adelani and Seid Muhie Yimam and Ibrahim Sa'id Ahmad and Meriem Beloucif and Saif Mohammad and Sebastian Ruder and Oumaima Hourrane and Pavel Brazdil and Felermino D'ario M'ario Ant'onio Ali and Davis Davis and Salomey Osei and Bello Shehu Bello and Falalu Ibrahim and Tajuddeen Gwadabe and Samuel Rutunda and Tadesse Belay and Wendimu Baye Messelle and Hailu Beshada Balcha and Sisay Adugna Chala and Hagos Tesfahun Gebremichael and Bernard Opoku and Steven Arthur},
  year={2023}
}
@article{muhammad2023semeval,
  title={SemEval-2023 Task 12: Sentiment Analysis for African Languages (AfriSenti-SemEval)},
  author={Muhammad, Shamsuddeen Hassan and Abdulmumin, Idris and Yimam, Seid Muhie and Adelani, David Ifeoluwa and Ahmad, Ibrahim Sa'id and Ousidhoum, Nedjma and Ayele, Abinew and Mohammad, Saif M and Beloucif, Meriem},
  journal={arXiv preprint arXiv:2304.06845},
  year={2023}
}

貢献

[More Information Needed]

原文(英語)

Dataset Card for AfriSenti Dataset


Dataset Summary

AfriSenti is the largest sentiment analysis dataset for under-represented African languages, covering 110,000+ annotated tweets in 14 African languages (Amharic, Algerian Arabic, Hausa, Igbo, Kinyarwanda, Moroccan Arabic, Mozambican Portuguese, Nigerian Pidgin, Oromo, Swahili, Tigrinya, Twi, Xitsonga, and Yoruba).

The datasets are used in the first Afrocentric SemEval shared task, SemEval 2023 Task 12: Sentiment analysis for African languages (AfriSenti-SemEval). AfriSenti allows the research community to build sentiment analysis systems for various African languages and enables the study of sentiment and contemporary language use in African languages.

Supported Tasks and Leaderboards

The AfriSenti can be used for a wide range of sentiment analysis tasks in African languages, such as sentiment classification, sentiment intensity analysis, and emotion detection. This dataset is suitable for training and evaluating machine learning models for various NLP tasks related to sentiment analysis in African languages. SemEval 2023 Task 12 : Sentiment Analysis for African Languages

Languages

14 African languages (Amharic (amh), Algerian Arabic (ary), Hausa(hau), Igbo(ibo), Kinyarwanda(kin), Moroccan Arabic/Darija(arq), Mozambican Portuguese(por), Nigerian Pidgin (pcm), Oromo (oro), Swahili(swa), Tigrinya(tir), Twi(twi), Xitsonga(tso), and Yoruba(yor)).

Dataset Structure

Data Instances

For each instance, there is a string for the tweet and a string for the label. See the AfriSenti dataset viewer to explore more examples.

{
  "tweet": "string",
  "label": "string"
}

Data Fields

The data fields are:

tweet: a string feature.
label: a classification label, with possible values including positive, negative and neutral.

Data Splits

The AfriSenti dataset has 3 splits: train, validation, and test. Below are the statistics for Version 1.0.0 of the dataset.

ama arq hau ibo ary orm pcm pt-MZ kin swa tir tso twi yo
train 5,982 1,652 14,173 10,193 5,584 - 5,122 3,064 3,303 1,811 - 805 3,482 8,523
dev 1,498 415 2,678 1,842 1,216 397 1,282 768 828 454 399 204 389 2,091
test 2,000 959 5,304 3,683 2,962 2,097 4,155 3,663 1,027 749 2,001 255 950 4,516
total 9,483 3,062 22,155 15,718 9,762 2,494 10,559 7,495 5,158 3,014 2,400 1,264 4,821 15,130

How to use it

from  datasets  import  load_dataset

# you can load specific languages (e.g., Amharic). This download train, validation and test sets. 
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh")

# train set only
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh", split = "train")

# test set only
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh", split = "test")

# validation set only
ds = load_dataset("shmuhammad/AfriSenti-twitter-sentiment", "amh", split = "validation")

Dataset Creation

Curation Rationale

AfriSenti Version 1.0.0 aimed to be used in the first Afrocentric SemEval shared task SemEval 2023 Task 12: Sentiment analysis for African languages (AfriSenti-SemEval).

Source Data

Twitter

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

We anonymized the tweets by replacing all @mentions by @user and removed all URLs.

Considerations for Using the Data

Social Impact of Dataset

The Afrisenti dataset has the potential to improve sentiment analysis for African languages, which is essential for understanding and analyzing the diverse perspectives of people in the African continent. This dataset can enable researchers and developers to create sentiment analysis models that are specific to African languages, which can be used to gain insights into the social, cultural, and political views of people in African countries. Furthermore, this dataset can help address the issue of underrepresentation of African languages in natural language processing, paving the way for more equitable and inclusive AI technologies.

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

AfriSenti is an extension of NaijaSenti, a dataset consisting of four Nigerian languages: Hausa, Yoruba, Igbo, and Nigerian-Pidgin. This dataset has been expanded to include other 10 African languages, and was curated with the help of the following:

Language Dataset Curators
Algerian Arabic (arq) Nedjma Ousidhoum, Meriem Beloucif
Amharic (ama) Abinew Ali Ayele, Seid Muhie Yimam
Hausa (hau) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
Igbo (ibo) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
Kinyarwanda (kin) Samuel Rutunda
Moroccan Arabic/Darija (ary) Oumaima Hourrane
Mozambique Portuguese (pt-MZ) Felermino Dário Mário António Ali
Nigerian Pidgin (pcm) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello
Oromo (orm) Abinew Ali Ayele, Seid Muhie Yimam, Hagos Tesfahun Gebremichael, Sisay Adugna Chala, Hailu Beshada Balcha, Wendimu Baye Messell, Tadesse Belay
Swahili (swa) Davis Davis
Tigrinya (tir) Abinew Ali Ayele, Seid Muhie Yimam, Hagos Tesfahun Gebremichael, Sisay Adugna Chala, Hailu Beshada Balcha, Wendimu Baye Messell, Tadesse Belay
Twi (twi) Salomey Osei, Bernard Opoku, Steven Arthur
Xithonga (tso) Felermino Dário Mário António Ali
Yoruba (yor) Shamsuddeen Hassan Muhammad, Idris Abdulmumin, Ibrahim Said, Bello Shehu Bello

Licensing Information

This AfriSenti is licensed under a Creative Commons Attribution 4.0 International License

Citation Information

@inproceedings{Muhammad2023AfriSentiAT,
  title={AfriSenti: A Twitter Sentiment Analysis Benchmark for African Languages},
  author={Shamsuddeen Hassan Muhammad and Idris Abdulmumin and Abinew Ali Ayele and Nedjma Ousidhoum and David Ifeoluwa Adelani and Seid Muhie Yimam and Ibrahim Sa'id Ahmad and Meriem Beloucif and Saif Mohammad and Sebastian Ruder and Oumaima Hourrane and Pavel Brazdil and Felermino D'ario M'ario Ant'onio Ali and Davis Davis and Salomey Osei and Bello Shehu Bello and Falalu Ibrahim and Tajuddeen Gwadabe and Samuel Rutunda and Tadesse Belay and Wendimu Baye Messelle and Hailu Beshada Balcha and Sisay Adugna Chala and Hagos Tesfahun Gebremichael and Bernard Opoku and Steven Arthur},
  year={2023}
}
@article{muhammad2023semeval,
  title={SemEval-2023 Task 12: Sentiment Analysis for African Languages (AfriSenti-SemEval)},
  author={Muhammad, Shamsuddeen Hassan and Abdulmumin, Idris and Yimam, Seid Muhie and Adelani, David Ifeoluwa and Ahmad, Ibrahim Sa'id and Ousidhoum, Nedjma and Ayele, Abinew and Mohammad, Saif M and Beloucif, Meriem},
  journal={arXiv preprint arXiv:2304.06845},
  year={2023}
}

Contributions

[More Information Needed]

Downloads last month
107

Papers for HYUKI5/shmuhammad__AfriSenti-twitter-sentiment