parquet-converter commited on
Commit
dff18ef
1 Parent(s): 7b56c6c

Update parquet files

Browse files
README.md DELETED
@@ -1,179 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - no-annotation
4
- language_creators:
5
- - found
6
- language:
7
- - vi
8
- license:
9
- - unknown
10
- multilinguality:
11
- - monolingual
12
- pretty_name: "Vietnamese Students\u2019 Feedback Corpus"
13
- size_categories:
14
- - 10K<n<100K
15
- source_datasets:
16
- - original
17
- task_categories:
18
- - text-classification
19
- task_ids:
20
- - sentiment-classification
21
- - topic-classification
22
- ---
23
-
24
- # Dataset Card for Vietnamese Students’ Feedback Corpus
25
-
26
- ## Table of Contents
27
- - [Table of Contents](#table-of-contents)
28
- - [Dataset Description](#dataset-description)
29
- - [Dataset Summary](#dataset-summary)
30
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
31
- - [Languages](#languages)
32
- - [Dataset Structure](#dataset-structure)
33
- - [Data Instances](#data-instances)
34
- - [Data Fields](#data-fields)
35
- - [Data Splits](#data-splits)
36
- - [Dataset Creation](#dataset-creation)
37
- - [Curation Rationale](#curation-rationale)
38
- - [Source Data](#source-data)
39
- - [Annotations](#annotations)
40
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
41
- - [Considerations for Using the Data](#considerations-for-using-the-data)
42
- - [Social Impact of Dataset](#social-impact-of-dataset)
43
- - [Discussion of Biases](#discussion-of-biases)
44
- - [Other Known Limitations](#other-known-limitations)
45
- - [Additional Information](#additional-information)
46
- - [Dataset Curators](#dataset-curators)
47
- - [Licensing Information](#licensing-information)
48
- - [Citation Information](#citation-information)
49
- - [Contributions](#contributions)
50
-
51
- ## Dataset Description
52
-
53
- - **Homepage:** https://sites.google.com/uit.edu.vn/uit-nlp/datasets-projects#h.p_4Brw8L-cbfTe
54
- - **Repository:**
55
- - **Paper:** [UIT-VSFC: Vietnamese Students’ Feedback Corpus for Sentiment Analysis](https://www.researchgate.net/publication/329645066_UIT-VSFC_Vietnamese_Students'_Feedback_Corpus_for_Sentiment_Analysis)
56
- - **Leaderboard:**
57
- - **Point of Contact:**
58
-
59
- ### Dataset Summary
60
-
61
- Students’ feedback is a vital resource for the interdisciplinary research involving the combining of two different
62
- research fields between sentiment analysis and education.
63
-
64
- Vietnamese Students’ Feedback Corpus (UIT-VSFC) is the resource consists of over 16,000 sentences which are
65
- human-annotated with two different tasks: sentiment-based and topic-based classifications.
66
-
67
- To assess the quality of our corpus, we measure the annotator agreements and classification evaluation on the
68
- UIT-VSFC corpus. As a result, we obtained the inter-annotator agreement of sentiments and topics with more than over
69
- 91% and 71% respectively. In addition, we built the baseline model with the Maximum Entropy classifier and achieved
70
- approximately 88% of the sentiment F1-score and over 84% of the topic F1-score.
71
-
72
- ### Supported Tasks and Leaderboards
73
-
74
- [More Information Needed]
75
-
76
- ### Languages
77
-
78
- The language of the dataset text sentence is Vietnamese (`vi`).
79
-
80
- ## Dataset Structure
81
-
82
- ### Data Instances
83
-
84
- An instance example:
85
- ```
86
- {
87
- 'sentence': 'slide giáo trình đầy đủ .',
88
- 'sentiment': 2,
89
- 'topic': 1
90
- }
91
- ```
92
-
93
- ### Data Fields
94
-
95
- - `sentence` (str): Text sentence.
96
- - `sentiment`: Sentiment class, with values 0 (negative), 1 (neutral) and 2 (positive).
97
- - `topic`: Topic class, with values 0 (lecturer), 1 (training_program), 2 (facility) and 3 (others).
98
-
99
- ### Data Splits
100
-
101
- The dataset is split in train, validation and test.
102
-
103
- | | Tain | Validation | Test |
104
- |--------------------|------:|-----------:|-----:|
105
- | Number of examples | 11426 | 1583 | 3166 |
106
-
107
-
108
- ## Dataset Creation
109
-
110
- ### Curation Rationale
111
-
112
- [More Information Needed]
113
-
114
- ### Source Data
115
-
116
- #### Initial Data Collection and Normalization
117
-
118
- [More Information Needed]
119
-
120
- #### Who are the source language producers?
121
-
122
- [More Information Needed]
123
-
124
- ### Annotations
125
-
126
- #### Annotation process
127
-
128
- [More Information Needed]
129
-
130
- #### Who are the annotators?
131
-
132
- [More Information Needed]
133
-
134
- ### Personal and Sensitive Information
135
-
136
- [More Information Needed]
137
-
138
- ## Considerations for Using the Data
139
-
140
- ### Social Impact of Dataset
141
-
142
- [More Information Needed]
143
-
144
- ### Discussion of Biases
145
-
146
- [More Information Needed]
147
-
148
- ### Other Known Limitations
149
-
150
- [More Information Needed]
151
-
152
- ## Additional Information
153
-
154
- ### Dataset Curators
155
-
156
- [More Information Needed]
157
-
158
- ### Licensing Information
159
-
160
- Unknown.
161
-
162
- ### Citation Information
163
-
164
- ```
165
- @InProceedings{8573337,
166
- author={Nguyen, Kiet Van and Nguyen, Vu Duc and Nguyen, Phu X. V. and Truong, Tham T. H. and Nguyen, Ngan Luu-Thuy},
167
- booktitle={2018 10th International Conference on Knowledge and Systems Engineering (KSE)},
168
- title={UIT-VSFC: Vietnamese Students’ Feedback Corpus for Sentiment Analysis},
169
- year={2018},
170
- volume={},
171
- number={},
172
- pages={19-24},
173
- doi={10.1109/KSE.2018.8573337}
174
- }
175
- ```
176
-
177
- ### Contributions
178
-
179
- Thanks to [@albertvillanova](https://github.com/albertvillanova) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
default/vietnamese_students_feedback-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d91924ddf7ac95cec0ee1b5475cba5fe352d029726d915248f5eea5ffb4509b2
3
+ size 133748
default/vietnamese_students_feedback-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43aff2910acaa34727330f77fc5f6a5c1b23b13bc608b61d6cc38ede29897744
3
+ size 474784
default/vietnamese_students_feedback-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75afb0eca878867c4664cbf7d9f156085906dc54abd2352423ca2872586614b2
3
+ size 63326
vietnamese_students_feedback.py DELETED
@@ -1,112 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """Vietnamese Students’ Feedback Corpus."""
16
-
17
- import datasets
18
-
19
-
20
- _CITATION = """\
21
- @InProceedings{8573337,
22
- author={Nguyen, Kiet Van and Nguyen, Vu Duc and Nguyen, Phu X. V. and Truong, Tham T. H. and Nguyen, Ngan Luu-Thuy},
23
- booktitle={2018 10th International Conference on Knowledge and Systems Engineering (KSE)},
24
- title={UIT-VSFC: Vietnamese Students’ Feedback Corpus for Sentiment Analysis},
25
- year={2018},
26
- volume={},
27
- number={},
28
- pages={19-24},
29
- doi={10.1109/KSE.2018.8573337}
30
- }
31
- """
32
-
33
- _DESCRIPTION = """\
34
- Students’ feedback is a vital resource for the interdisciplinary research involving the combining of two different
35
- research fields between sentiment analysis and education.
36
-
37
- Vietnamese Students’ Feedback Corpus (UIT-VSFC) is the resource consists of over 16,000 sentences which are
38
- human-annotated with two different tasks: sentiment-based and topic-based classifications.
39
-
40
- To assess the quality of our corpus, we measure the annotator agreements and classification evaluation on the
41
- UIT-VSFC corpus. As a result, we obtained the inter-annotator agreement of sentiments and topics with more than over
42
- 91% and 71% respectively. In addition, we built the baseline model with the Maximum Entropy classifier and achieved
43
- approximately 88% of the sentiment F1-score and over 84% of the topic F1-score.
44
- """
45
-
46
- _HOMEPAGE = "https://sites.google.com/uit.edu.vn/uit-nlp/datasets-projects#h.p_4Brw8L-cbfTe"
47
-
48
- # TODO: Add the licence for the dataset here if you can find it
49
- # _LICENSE = ""
50
-
51
- _URLS = {
52
- datasets.Split.TRAIN: {
53
- "sentences": "https://drive.google.com/uc?id=1nzak5OkrheRV1ltOGCXkT671bmjODLhP&export=download",
54
- "sentiments": "https://drive.google.com/uc?id=1ye-gOZIBqXdKOoi_YxvpT6FeRNmViPPv&export=down load",
55
- "topics": "https://drive.google.com/uc?id=14MuDtwMnNOcr4z_8KdpxprjbwaQ7lJ_C&export=download",
56
- },
57
- datasets.Split.VALIDATION: {
58
- "sentences": "https://drive.google.com/uc?id=1sMJSR3oRfPc3fe1gK-V3W5F24tov_517&export=download",
59
- "sentiments": "https://drive.google.com/uc?id=1GiY1AOp41dLXIIkgES4422AuDwmbUseL&export=download",
60
- "topics": "https://drive.google.com/uc?id=1DwLgDEaFWQe8mOd7EpF-xqMEbDLfdT-W&export=download",
61
- },
62
- datasets.Split.TEST: {
63
- "sentences": "https://drive.google.com/uc?id=1aNMOeZZbNwSRkjyCWAGtNCMa3YrshR-n&export=download",
64
- "sentiments": "https://drive.google.com/uc?id=1vkQS5gI0is4ACU58-AbWusnemw7KZNfO&export=download",
65
- "topics": "https://drive.google.com/uc?id=1_ArMpDguVsbUGl-xSMkTF_p5KpZrmpSB&export=download",
66
- },
67
- }
68
-
69
-
70
- class VietnameseStudentsFeedback(datasets.GeneratorBasedBuilder):
71
- """Vietnamese Students’ Feedback Corpus."""
72
-
73
- VERSION = datasets.Version("1.0.0")
74
-
75
- def _info(self):
76
- return datasets.DatasetInfo(
77
- description=_DESCRIPTION,
78
- features=datasets.Features(
79
- {
80
- "sentence": datasets.Value("string"),
81
- "sentiment": datasets.ClassLabel(names=["negative", "neutral", "positive"]),
82
- "topic": datasets.ClassLabel(names=["lecturer", "training_program", "facility", "others"]),
83
- }
84
- ),
85
- homepage=_HOMEPAGE,
86
- # license=_LICENSE,
87
- citation=_CITATION,
88
- )
89
-
90
- def _split_generators(self, dl_manager):
91
- data_dir = dl_manager.download(_URLS)
92
- return [
93
- datasets.SplitGenerator(
94
- name=split,
95
- gen_kwargs={
96
- "sentences_path": data_dir[split]["sentences"],
97
- "sentiments_path": data_dir[split]["sentiments"],
98
- "topics_path": data_dir[split]["topics"],
99
- },
100
- ) for split in _URLS
101
- ]
102
-
103
- def _generate_examples(self, sentences_path, sentiments_path, topics_path):
104
- with open(sentences_path, encoding="utf-8") as sentences, open(
105
- sentiments_path, encoding="utf-8"
106
- ) as sentiments, open(topics_path, encoding="utf-8") as topics:
107
- for key, (sentence, sentiment, topic) in enumerate(zip(sentences, sentiments, topics)):
108
- yield key, {
109
- "sentence": sentence.strip(),
110
- "sentiment": int(sentiment.strip()),
111
- "topic": int(topic.strip()),
112
- }