File size: 2,545 Bytes
83d24b2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | from __future__ import annotations
from mteb.abstasks import AbsTaskClassification
from mteb.abstasks.TaskMetadata import TaskMetadata
from ....abstasks import MultilingualTask
class NusaXSentiClassification(AbsTaskClassification, MultilingualTask):
metadata = TaskMetadata(
name="NusaX-senti",
description="NusaX is a high-quality multilingual parallel corpus that covers 12 languages, Indonesian, English, and 10 Indonesian local languages, namely Acehnese, Balinese, Banjarese, Buginese, Madurese, Minangkabau, Javanese, Ngaju, Sundanese, and Toba Batak. NusaX-Senti is a 3-labels (positive, neutral, negative) sentiment analysis dataset for 10 Indonesian local languages + Indonesian and English.",
reference="https://arxiv.org/abs/2205.15960",
dataset={
"path": "indonlp/NusaX-senti",
"revision": "a450ba4b1b6d2216c3674d3e576b2e85ce729add",
},
type="Classification",
category="s2s",
eval_splits=["test"],
eval_langs={
"ace": ["ace-Latn"],
"ban": ["ban-Latn"],
"bjn": ["bjn-Latn"],
"bug": ["bug-Latn"],
"eng": ["eng-Latn"],
"ind": ["ind-Latn"],
"jav": ["jav-Latn"],
"mad": ["mad-Latn"],
"min": ["min-Latn"],
"nij": ["nij-Latn"],
"sun": ["sun-Latn"],
"bbc": ["bbc-Latn"],
},
main_score="accuracy",
date=("2022-05-01", "2023-05-08"),
form=["written"],
domains=[
"Reviews",
"Web",
"Social",
"Constructed",
],
task_subtypes=["Sentiment/Hate speech"],
license="CC-BY-SA 4.0",
socioeconomic_status="mixed",
annotations_creators="expert-annotated",
dialect=[],
text_creation="found",
bibtex_citation="""
@misc{winata2022nusax,
title={NusaX: Multilingual Parallel Sentiment Dataset for 10 Indonesian Local Languages},
author={Winata, Genta Indra and Aji, Alham Fikri and Cahyawijaya,
Samuel and Mahendra, Rahmad and Koto, Fajri and Romadhony,
Ade and Kurniawan, Kemal and Moeljadi, David and Prasojo,
Radityo Eko and Fung, Pascale and Baldwin, Timothy and Lau,
Jey Han and Sennrich, Rico and Ruder, Sebastian},
year={2022},
eprint={2205.15960},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
""",
n_samples={"test": 4800},
avg_character_length={"test": 52.4},
)
|