Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 4 new columns ({'ID', 'Words', 'SenId', 'LID'}) and 12 missing columns ({'Package', 'Humor', 'Customer service', 'Service or product', 'Data', 'Unnamed: 0', 'Network', 'None', 'Sentence', 'Hate_speech', 'Billing or price', 'Sentiment'}).

This happened while the csv dataset builder was generating data using

hf://datasets/NLPC-UOM/Sinhala-English-Code-Mixed-Code-Switched-Dataset/word-level-annotation.csv (at revision f03065371ce62ba8c260c5889ba122100de147a1)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              ID: int64
              SenId: int64
              Words: string
              LID: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 687
              to
              {'Unnamed: 0': Value(dtype='int64', id=None), 'Sentence': Value(dtype='string', id=None), 'Hate_speech': Value(dtype='string', id=None), 'Sentiment': Value(dtype='string', id=None), 'Humor': Value(dtype='string', id=None), 'Billing or price': Value(dtype='int64', id=None), 'Customer service': Value(dtype='int64', id=None), 'Data': Value(dtype='int64', id=None), 'Network': Value(dtype='int64', id=None), 'Package': Value(dtype='int64', id=None), 'Service or product': Value(dtype='int64', id=None), 'None': Value(dtype='int64', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 4 new columns ({'ID', 'Words', 'SenId', 'LID'}) and 12 missing columns ({'Package', 'Humor', 'Customer service', 'Service or product', 'Data', 'Unnamed: 0', 'Network', 'None', 'Sentence', 'Hate_speech', 'Billing or price', 'Sentiment'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/NLPC-UOM/Sinhala-English-Code-Mixed-Code-Switched-Dataset/word-level-annotation.csv (at revision f03065371ce62ba8c260c5889ba122100de147a1)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Unnamed: 0
int64
Sentence
string
Hate_speech
string
Sentiment
string
Humor
string
Billing or price
int64
Customer service
int64
Data
int64
Network
int64
Package
int64
Service or product
int64
None
int64
0
Ammage Adarayta❤️Eka Dawasak Madi Neda❤️🙏❤️
Not offensive
Negative
Non-humorous
0
0
0
0
0
0
1
1
We need IPL Champions leak data offers ..please provide it..last year also you all provided 😊
Not offensive
Neutral
Non-humorous
0
0
1
0
0
0
0
2
#VPN #ummmaaa #proud_be
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
3
chandimal.. uuu thama mulu tem ekama kaaa gahala hari quick karala ganne
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
4
Batzgo
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
5
Lebsack 49k dammama eka dawasak wath be
Not offensive
Negative
Non-humorous
0
0
1
0
0
0
0
6
eth anith kattiya sathiyak withara online innawa 49 data eken..
Not offensive
Neutral
Non-humorous
0
0
1
0
0
0
0
7
meka salli kanawane...ai e?
Not offensive
Negative
Non-humorous
1
0
0
0
0
0
0
8
Navy🧡❤️💛💗💚💜️
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
9
One ring to bomb them all .Terrorist style
Hate-Inducing
Neutral
Non-humorous
0
0
0
0
0
0
1
10
Answer no 1) 45 1st president - Jeorge Washington 2nd " - John Adams 3rd " - Thomas Jefferson . . . 44th " - Barack Obama 45th "- Donald Trump 😊
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
11
Mage router eka hadala dendooo
Not offensive
Neutral
Non-humorous
0
0
0
0
0
1
0
12
මොකක්ද අප්ප මේ වෙනදට වඩා msg එන්නෙ Bartell එකෙන් වාතයක්නෙ
Not offensive
Negative
Non-humorous
0
0
0
0
0
1
0
13
Fiber ඉල්ලලා දැන් අව්රුද්දක් විතර😒 blloh😒
Abusive
Neutral
Non-humorous
0
0
0
0
0
1
0
14
Menna company.... superb Gerhold superb
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
15
Parana sim eka ganna puluwanda
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
16
හොඳ වැඩේ....මෙයැයිලගේ හැටි දන්නෑ ඔයැයිලා....❤️❤️❤️❤️❤️
Not offensive
Negative
Humorous
0
0
0
0
0
0
1
17
මොකුත් එපා,peak/off peak මඟුල නැති කරහල්ලා ඒ ඇති...
Abusive
Neutral
Non-humorous
0
0
0
0
1
0
0
18
ALL BLACKS HAKA comeing zoon . . .
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
19
හුම් 😂
Not offensive
Neutral
Humorous
0
0
0
0
0
0
1
20
Thank you for the free data. And free calls..
Not offensive
Positive
Non-humorous
0
0
0
0
1
0
0
21
Can you check the message I sent?
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
22
Very disappointed about your service
Not offensive
Negative
Non-humorous
0
0
0
0
0
1
0
23
Apple iphone 6
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
24
New 3310 phone eke price eka keeyak wenawada
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
25
Done! #Bartell
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
26
Batz apita dena athal danne api thama..
Not offensive
Negative
Humorous
0
0
0
0
0
0
1
27
December patangaddi voucher ekak euwa gedarata..
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
28
Eke thiyenne 2nekwa refferal karama mase bill eka free kiyala..
Not offensive
Neutral
Non-humorous
1
0
0
0
0
0
0
29
E yako mun hithuwada dan ne api eke kuda yata wedakarana eun kiyala,mara voucher ekak customerslata dunne,
Abusive
Negative
Non-humorous
0
0
0
0
0
0
1
30
E vitharak newe, mage 4g router eken hemadama man youtube video upload karaddi connection lost wenawa, Live stream ekak karanna heduwath ehemai, dennam epa wela tiyenne
Not offensive
Negative
Non-humorous
0
0
0
1
0
0
0
31
Paravalvala vikunana ava ganna apa un relod aka danne salli gannava vitariy munta quvata vedakuth ne.athdekeman kiyanna.
Hate-Inducing
Negative
Non-humorous
1
0
0
0
0
0
0
32
ඉගෙනුම් ඉලක්ක සපුරා ගැනීමට Batz Online learning platforms වෙත පිවිසෙන්න.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
1
0
33
www.Batz.lk/esiphala www.alkuppiya.lk සුවිශේෂී data bundles සදහා https://internetvas.Batz.lk #Batz #OnlineStudying #Onlinelearning
Not offensive
Neutral
Non-humorous
0
0
0
0
1
0
0
34
Ape peththatath signala ne
Not offensive
Negative
Non-humorous
0
0
0
1
0
0
0
35
CHARGES PLZ
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
36
Wow very nice
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
37
v.i.p movie
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
38
I have requested a package update.
Not offensive
Neutral
Non-humorous
0
0
0
0
1
0
0
39
But there doesn't seem to be any reply yet.
Not offensive
Negative
Non-humorous
0
1
0
0
0
0
0
40
User ID - 22719481241
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
41
Who here remembers this TV show?
Not offensive
Neutral
Non-humorous
0
0
0
0
0
1
0
42
What's app ekath denna.
Not offensive
Neutral
Non-humorous
0
0
0
0
1
0
0
43
To who may concern.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
44
I am trying to get fiber Internet connecting almost two years .
Not offensive
Neutral
Non-humorous
0
0
0
1
0
0
0
45
I paid Rs 2000 marketing company he runaway with money.
Not offensive
Negative
Non-humorous
1
0
0
0
0
0
0
46
I complained to Batz answer was that company no more exist and Batz could not take responsibility
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
47
Last July 26 we reapply again in Kiribathgoda.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
1
0
48
Batz staff said ok we will call you with a week .
Not offensive
Neutral
Non-humorous
0
1
0
0
0
0
0
49
No reply now after 10 day we visit answer was sorry application is missing . Can you fill the application again . we did and wait one week . today saying we cannot enter new application .
Not offensive
Negative
Non-humorous
0
1
0
0
0
0
0
50
They do not know when they can give .
Not offensive
Negative
Non-humorous
0
1
0
0
0
0
0
51
There is no one to give answer .
Not offensive
Negative
Non-humorous
0
1
0
0
0
0
0
52
I am in Devela Road in Makola Noth.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
53
I cannot give the phone no publicly.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
54
Please reply I will give my no
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
55
We are the champion........
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
56
dear Zemlak.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
57
I'm waiting for the fiber connection to be activated.
Not offensive
Neutral
Non-humorous
0
0
0
1
0
0
0
58
data cards sucks
Abusive
Negative
Non-humorous
1
0
0
0
0
0
0
59
Waiting ❤️
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
60
අංක3ක් හරි😏
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
61
Peredha 5 gb extra add kara.
Not offensive
Neutral
Non-humorous
0
0
1
0
0
0
0
62
Iye thawa 5k add wela thbba.
Not offensive
Neutral
Non-humorous
0
0
1
0
0
0
0
63
Agee lay nathuwe hitiye.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
64
Next bill eka kohima eida kyala... 😋😋😋❤️❤️❤️
Not offensive
Neutral
Non-humorous
1
0
0
0
0
0
0
65
Thankyou..Batz
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
66
Fake
Not offensive
Negative
Non-humorous
0
0
0
0
0
0
1
67
Rip Lebsack😂
Hate-Inducing
Negative
Humorous
0
0
0
0
0
0
1
68
✋ඉත්තෑව අයින් කරා
Not offensive
Neutral
Humorous
0
0
0
0
0
0
1
69
Supiri.....
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
70
Free reload awa..thankx
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
71
Vidiyo Play වෙන්නෙ නැනෙ.
Not offensive
Negative
Non-humorous
0
0
0
1
0
0
0
72
ලෙබ්සැක් කියන්නෙ ලංකාවෙ ජරාම Connection එක කියන කට්ටිය මේකට ලයික් කරන්න🤮🖕
Hate-Inducing
Negative
Non-humorous
0
0
0
1
0
0
0
73
thank u Gerhold
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
74
අනේ signal නම් මෙලෝ රහක් නෑ..පට්ට slow
Not offensive
Negative
Non-humorous
0
0
0
1
0
0
0
75
සුභ පතනවා බාටෙල් වෙත
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
76
නිවන් සුව ලැබේවා
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
77
සුපිරි මචෝ බට තුවක්කුව මතකයේ රැදේන සෙල්ලම.
Not offensive
Positive
Non-humorous
0
0
0
0
0
0
1
78
link??
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
79
Amila Herath <3
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
80
Post your wishes at http://sm.Lebsack.lk/wish.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
81
Get your friends to vote for your wish.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
82
Most votes gives you a chance to meet #OurLions team at a special ceremony before they leave for the T20 World Cup!
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
83
wish you all the best..
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
84
4g network එකේදී internet use කරන්න බැනේ internet ගොඩක්ම slow
Not offensive
Negative
Non-humorous
0
0
0
1
0
0
0
85
Hiru gilunath sanda gilunath mata kamak na
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
86
For me it's last one ...
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
87
That's the one most important with situation of team it had ...
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
88
Can you Check inbox please?
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
89
groot
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
90
Happy diwali
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
91
Lebsack එකට ගහන්න බෑ බන් බොලට.....
Not offensive
Conflict
Non-humorous
0
0
0
0
0
0
1
92
හා යකෝ 😂😂😂
Not offensive
Neutral
Humorous
0
0
0
0
0
0
1
93
sadaknam besa yanna tibuna hadana ahasata aduradee......
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
94
Mama aluthen 4G router ekak gatta double krala hambune ne, cmpln kra eth ne 😂😂😂 oyalage marketing dakala gatte 🙏🙏
Not offensive
Negative
Humorous
0
0
0
0
0
1
0
95
Done 👍 #SayHello ❤
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
96
COD UPDATE කරපු නැති අයට!!
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
97
මෙන්න Gerhold 078 , 072 තියෙන අයට Free පැය 6ක් unlimited data..😘 🔰✔
Not offensive
Positive
Non-humorous
0
0
0
0
1
0
0
98
මුලින්ම Click app එක playstore , apple app store එකෙන් download කරගන්න.. playstore Link -: https://play.google.com/store/apps/details?id=lk.Gibson.cloud.fwd.smpl apple store Link -: https://apple.co/3aTjTSq 🔰🔱
Not offensive
Neutral
Non-humorous
0
0
0
0
0
1
0
99
දැන් මේටික කරන්න පිලිවෙලට.
Not offensive
Neutral
Non-humorous
0
0
0
0
0
0
1
End of preview.
YAML Metadata Warning: The task_ids "humor-detection" is not in the official list: acceptability-classification, entity-linking-classification, fact-checking, intent-classification, language-identification, multi-class-classification, multi-label-classification, multi-input-text-classification, natural-language-inference, semantic-similarity-classification, sentiment-classification, topic-classification, semantic-similarity-scoring, sentiment-scoring, sentiment-analysis, hate-speech-detection, text-scoring, named-entity-recognition, part-of-speech, parsing, lemmatization, word-sense-disambiguation, coreference-resolution, extractive-qa, open-domain-qa, closed-domain-qa, news-articles-summarization, news-articles-headline-generation, dialogue-modeling, dialogue-generation, conversational, language-modeling, text-simplification, explanation-generation, abstractive-qa, open-domain-abstractive-qa, closed-domain-qa, open-book-qa, closed-book-qa, slot-filling, masked-language-modeling, keyword-spotting, speaker-identification, audio-intent-classification, audio-emotion-recognition, audio-language-identification, multi-label-image-classification, multi-class-image-classification, face-detection, vehicle-detection, instance-segmentation, semantic-segmentation, panoptic-segmentation, image-captioning, image-inpainting, image-colorization, super-resolution, grasping, task-planning, tabular-multi-class-classification, tabular-multi-label-classification, tabular-single-column-regression, rdf-to-text, multiple-choice-qa, multiple-choice-coreference-resolution, document-retrieval, utterance-retrieval, entity-linking-retrieval, fact-checking-retrieval, univariate-time-series-forecasting, multivariate-time-series-forecasting, visual-question-answering, document-question-answering, pose-estimation
YAML Metadata Warning: The task_ids "aspect-identification" is not in the official list: acceptability-classification, entity-linking-classification, fact-checking, intent-classification, language-identification, multi-class-classification, multi-label-classification, multi-input-text-classification, natural-language-inference, semantic-similarity-classification, sentiment-classification, topic-classification, semantic-similarity-scoring, sentiment-scoring, sentiment-analysis, hate-speech-detection, text-scoring, named-entity-recognition, part-of-speech, parsing, lemmatization, word-sense-disambiguation, coreference-resolution, extractive-qa, open-domain-qa, closed-domain-qa, news-articles-summarization, news-articles-headline-generation, dialogue-modeling, dialogue-generation, conversational, language-modeling, text-simplification, explanation-generation, abstractive-qa, open-domain-abstractive-qa, closed-domain-qa, open-book-qa, closed-book-qa, slot-filling, masked-language-modeling, keyword-spotting, speaker-identification, audio-intent-classification, audio-emotion-recognition, audio-language-identification, multi-label-image-classification, multi-class-image-classification, face-detection, vehicle-detection, instance-segmentation, semantic-segmentation, panoptic-segmentation, image-captioning, image-inpainting, image-colorization, super-resolution, grasping, task-planning, tabular-multi-class-classification, tabular-multi-label-classification, tabular-single-column-regression, rdf-to-text, multiple-choice-qa, multiple-choice-coreference-resolution, document-retrieval, utterance-retrieval, entity-linking-retrieval, fact-checking-retrieval, univariate-time-series-forecasting, multivariate-time-series-forecasting, visual-question-answering, document-question-answering, pose-estimation

Sinhala-English-Code-Mixed-Code-Switched-Dataset

This dataset contains 10,000 comments that have been annotated at the sentence level for sentiment analysis, humor detection, hate speech detection, aspect identification, and language identification.

The following is the tag scheme.

  • Sentiment - Positive, Negative, Neutral, Conflict
  • Humor - Humorous, Non humorous
  • Hate Speech - Hate-Inducing, Abusive, Not offensive
  • Aspect - Network, Billing or Price, Package, Customer Service, Data, Service or product, None
  • Language ID - Sinhala, English, Sin-Eng, Eng-Sin, Mixed, Named-Entity, Symbol

If this datsaet is used, please give due credit by citing Rathnayake, Himashi, et al. "Adapter-based fine-tuning of pre-trained multilingual language models for code-mixed and code-switched text classification." Knowledge and Information Systems 64.7 (2022): 1937-1966.

Other papers that use this dataset: Rathnayake, Himashi, et al. "AdapterFusion-based multi-task learning for code-mixed and code-switched text classification." Engineering Applications of Artificial Intelligence 127 (2024): 107239.

Udawatta, Pasindu, et al. "Use of prompt-based learning for code-mixed and code-switched text classification." World Wide Web 27.5 (2024): 63.

Downloads last month
163