razhan commited on
Commit
5a312e0
·
verified ·
1 Parent(s): 8c54c9f

Improve dataset card: document schema, measured stats and limitations

Browse files
Files changed (1) hide show
  1. README.md +48 -135
README.md CHANGED
@@ -43,158 +43,71 @@ dataset_info:
43
  num_examples: 24692
44
  ---
45
 
46
- # Dataset Card for IMDB Kurdish
47
 
48
- ## Table of Contents
49
- - [Table of Contents](#table-of-contents)
50
- - [Dataset Description](#dataset-description)
51
- - [Dataset Summary](#dataset-summary)
52
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
53
- - [Languages](#languages)
54
- - [Dataset Structure](#dataset-structure)
55
- - [Data Instances](#data-instances)
56
- - [Data Fields](#data-fields)
57
- - [Data Splits](#data-splits)
58
- - [Dataset Creation](#dataset-creation)
59
- - [Curation Rationale](#curation-rationale)
60
- - [Source Data](#source-data)
61
- - [Annotations](#annotations)
62
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
63
- - [Considerations for Using the Data](#considerations-for-using-the-data)
64
- - [Social Impact of Dataset](#social-impact-of-dataset)
65
- - [Discussion of Biases](#discussion-of-biases)
66
- - [Other Known Limitations](#other-known-limitations)
67
- - [Additional Information](#additional-information)
68
- - [Dataset Curators](#dataset-curators)
69
- - [Licensing Information](#licensing-information)
70
- - [Citation Information](#citation-information)
71
- - [Contributions](#contributions)
72
 
73
- ## Dataset Description
74
 
75
- - **Homepage:** [http://ai.stanford.edu/~amaas/data/sentiment/](http://ai.stanford.edu/~amaas/data/sentiment/)
76
- - **Repository:** [https://github.com/Hrazhan/IMDB_Kurdish/](https://github.com/Hrazhan/IMDB_Kurdish/)
77
- - **Point of Contact:** [Razhan Hameed](https://twitter.com/RazhanHameed)
78
- - **Paper:**
79
- - **Leaderboard:**
 
80
 
81
- ### Dataset Summary
82
 
83
- Central Kurdish translation of the famous IMDB movie reviews dataset.
84
 
85
- The dataset contains 50K highly polar movie reviews, divided into two equal classes of positive and negative reviews. We can perform binary sentiment classification using this dataset.
86
- The availability of datasets in Kurdish, such as the IMDB movie reviews dataset, can help researchers and developers train and evaluate machine learning models for Kurdish language processing.
87
- However, it is important to note that machine learning algorithms can only be as accurate as the data they are trained on (in this case the quality of the translation), so the quality and relevance of the dataset will affect the performance of the resulting model.
88
- For more information about the dataset, please go through the following link: http://ai.stanford.edu/~amaas/data/sentiment/
89
 
90
- P.S. This dataset is translated with Google Translator.
91
 
92
- ### Supported Tasks and Leaderboards
 
 
 
93
 
94
- [More Information Needed]
 
95
 
96
- ### Languages
97
-
98
- Central Kurdish
99
-
100
- ## Dataset Structure
101
 
102
- ### Data Instances
103
 
104
- An example of 'train' looks as follows.
105
  ```
106
- {
107
- "label": 0,
108
- "text": ""فیلمێکی زۆر باش، کە سەرنج دەخاتە سەر پرسێکی زۆر گرنگ. نەخۆشی کحولی کۆرپەلە کەموکوڕییەکی زۆر جددی لە لەدایکبوونە کە بە تەواوی دەتوانرێت ڕێگری لێبکرێت. ئەگەر خێزانە زیاترەکان ئەم فیلمە ببینن، ڕەنگە منداڵی زیاتر وەک ئادەم کۆتاییان نەهاتبێت. جیمی سمیس لە یەکێک لە باشترین ڕۆڵەکانیدا نمایش دەکات تا ئێستا. ئەمە فیلمێکی نایاب و باشە کە خێزانێکی زۆر تایبەت لەبەرچاو دەگرێت و پێویستییەکی زۆر گرنگی هەیە. ئەمەش جیاواز نییە لە هەزاران خێزان کە ئەمڕۆ لە ئەمریکا هەن. منداڵان هەن کە لەگەڵ ئەم جیهانەدا خەبات دەکەن. بەڕاستی خاڵە گرنگەکە لێرەدا ئەوەیە کە دەکرا ڕێگری لە هەموو شتێک بکرێت. خەڵکی زیاتر دەبێ ئەم فیلمە ببینن و ئەوەی کە ه��یەتی بە جددی وەریبگرێت. بە باشی ئەنجام دراوە، بە پەیامی گرنگ، بە شێوەیەکی بەڕێزانە مامەڵەی لەگەڵ دەکرێت."
109
- }
110
  ```
111
 
112
- ### Data Fields
113
-
114
-
115
- plain_text
116
-
117
- text: a string feature.
118
- label: a classification label, with possible values including neg (0), pos (1).
119
-
120
-
121
- ### Data Splits
122
-
123
- | name |train|test|
124
- |----------|----:|----:|
125
- |plain_text|24903|24692|
126
-
127
- ## Dataset Creation
128
-
129
- ### Curation Rationale
130
-
131
- [More Information Needed]
132
-
133
- ### Source Data
134
-
135
- #### Initial Data Collection and Normalization
136
-
137
- [More Information Needed]
138
-
139
- #### Who are the source language producers?
140
-
141
- [More Information Needed]
142
-
143
- ### Annotations
144
-
145
- #### Annotation process
146
 
147
- [More Information Needed]
 
 
 
 
 
 
 
 
148
 
149
- #### Who are the annotators?
150
 
151
- [More Information Needed]
152
-
153
- ### Personal and Sensitive Information
154
-
155
- [More Information Needed]
156
-
157
- ## Considerations for Using the Data
158
-
159
- ### Social Impact of Dataset
160
-
161
- [More Information Needed]
162
-
163
- ### Discussion of Biases
164
-
165
- [More Information Needed]
166
-
167
- ### Other Known Limitations
168
-
169
- [More Information Needed]
170
-
171
- ## Additional Information
172
-
173
- ### Dataset Curators
174
-
175
- [More Information Needed]
176
-
177
- ### Licensing Information
178
-
179
- [More Information Needed]
180
-
181
- ### Citation Information
182
-
183
- ```
184
- @InProceedings{maas-EtAl:2011:ACL-HLT2011,
185
- author = {Maas, Andrew L. and Daly, Raymond E. and Pham, Peter T. and Huang, Dan and Ng, Andrew Y. and Potts, Christopher},
186
- title = {Learning Word Vectors for Sentiment Analysis},
187
- booktitle = {Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies},
188
- month = {June},
189
- year = {2011},
190
- address = {Portland, Oregon, USA},
191
- publisher = {Association for Computational Linguistics},
192
- pages = {142--150},
193
- url = {http://www.aclweb.org/anthology/P11-1015}
194
- }
195
-
196
- ```
197
 
198
- ### Contributions
199
 
200
- Thanks to [Razhan Hameed](https://twitter.com/RazhanHameed) for adding this dataset.
 
 
43
  num_examples: 24692
44
  ---
45
 
46
+ # IMDB Kurdish (imdb_ckb)
47
 
48
+ Central Kurdish (Sorani) movie-review sentiment: 49,595 reviews labelled positive
49
+ or negative, translated from the Stanford IMDB review set. Balanced labels, so a
50
+ 0.50 accuracy baseline is meaningless — report F1.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
+ ## At a glance
53
 
54
+ | | |
55
+ |---|---|
56
+ | Rows | 49,595 — `train` 24,903 / `test` 24,692 |
57
+ | Columns | `text` (string), `label` (`0` = negative, `1` = positive) |
58
+ | Files | `train.csv` (59.4 MB), `test.csv` (57.5 MB) — CSV, not parquet |
59
+ | Language | Central Kurdish / Sorani (ckb) |
60
 
61
+ ## Label balance
62
 
63
+ Counted over the full CSVs:
64
 
65
+ | Split | Positive (`1`) | Negative (`0`) |
66
+ |---|---|---|
67
+ | `train` | 12,484 | 12,445 |
68
+ | `test` | 12,423 | 12,291 |
69
 
70
+ ## Parsing warning
71
 
72
+ The review text contains **embedded newlines**, so the CSVs have far more physical
73
+ lines than records: `train.csv` has ~49,858 lines for 24,903 rows, `test.csv`
74
+ ~49,429 lines for 24,692 rows. Use a real CSV reader (`csv` module or
75
+ `load_dataset`) — never `line.split(",")`.
76
 
77
+ ```python
78
+ from datasets import load_dataset
79
 
80
+ ds = load_dataset("razhan/imdb_ckb")
81
+ print(ds["train"][0])
82
+ # {'text': 'فیلمێکی زۆر باش، کە سەرنج دەخاتە سەر پرسێکی زۆر گرنگ. ...', 'label': 1}
83
+ ```
 
84
 
85
+ ## Sample rows
86
 
 
87
  ```
88
+ فیلمێکی زۆر باش، کە سەرنج دەخاتە سەر پرسێکی زۆر گرنگ. نەخۆشی کحولی کۆرپەلە کەموکوڕییەکی زۆر ...
89
+ ئەم فیلمەم لە پۆلێکی ئایین بەکارهێنا کە فێری دەکردم. ماسییە زێڕینەکە بە خۆشحاڵیەوە لە قاپە ...
 
 
90
  ```
91
 
92
+ ## Known limitations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
+ - **Translated data.** Reviews were rendered from English into Sorani, so idiom,
95
+ politeness and humour come from machine translation; cultural references remain
96
+ Western (film titles are transliterated).
97
+ - Spam reviews that are part of the original IMDB set are included, exactly as in
98
+ the source: they are hard even for humans.
99
+ - Domain is limited to film reviews — a linear probe trained here does not transfer
100
+ to news or social media.
101
+ - The upstream licence applies (`other`); the IMDB source data is for
102
+ non-commercial research use only.
103
 
104
+ ## Provenance
105
 
106
+ - Homepage: [ai.stanford.edu/~amaas/data/sentiment](http://ai.stanford.edu/~amaas/data/sentiment/)
107
+ - Repository: [github.com/Hrazhan/IMDB_Kurdish](https://github.com/Hrazhan/IMDB_Kurdish/)
108
+ - Contact: [Razhan Hameed](https://twitter.com/RazhanHameed)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
+ ## Related
111
 
112
+ - `razhan/kurdish_tweets`, `razhan/sentiment` — social-media sentiment instead of
113
+ long-form reviews.