oliverkinch commited on
Commit
ab434fb
·
1 Parent(s): 38df547

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +98 -1
README.md CHANGED
@@ -33,4 +33,101 @@ dataset_info:
33
  ---
34
  # Dataset Card for "sentiment"
35
 
36
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  ---
34
  # Dataset Card for "sentiment"
35
 
36
+ ## Dataset Description
37
+
38
+ - **Point of Contact:** [Oliver Kinch](mailto:oliver.kinch@alexandra.dk)
39
+ - **Size of dataset:** 139 MB
40
+
41
+ ### Dataset Summary
42
+
43
+ The dataset includes review comments from sources like TrustPilot and comments from social media platforms.
44
+
45
+ It's a binary sentiment dataset where a label of 0 represents "offensive" text and a label of 1 indicates non-offensive text.
46
+
47
+ ### Supported Tasks
48
+
49
+ Sentiment classification is the intended task for this dataset.
50
+
51
+ ### Languages
52
+
53
+ The dataset includes text in Danish (da), Norwegian (no), Swedish (sv), and English (en).
54
+
55
+ ## Dataset Structure
56
+
57
+ An example from the dataset looks as follows.
58
+
59
+ ```
60
+ {
61
+ "text": "some text",
62
+ "label": 0,
63
+ "language": "en",
64
+ "dataset": dataset origin
65
+ }
66
+ ```
67
+
68
+ ### Data Fields
69
+
70
+ - `text`: a `string` feature.
71
+ - `label`: an `int64` feature.
72
+ - `language`: a `string` feature.
73
+ - `dataset`: a `string` feature.
74
+
75
+ The `dataset` feature specifies the sample's source. If it's `danish-some-sentiment.tsv`, it's a social media comment; otherwise, it's a review comment. See `Source Data` for more information.
76
+
77
+ #### Number of samples
78
+
79
+ - Train: 670,450
80
+ - Val: 3,386
81
+ - Test: 3,386
82
+
83
+ #### Label distribution
84
+
85
+ - Class 0: 195,242
86
+ - Class 1: 481,980
87
+
88
+ #### Text lengths (Number of characters)
89
+
90
+ - Minimum: 1
91
+ - Maximum: 22,689
92
+ - Mean: 180.0
93
+ - Median: 76.0
94
+
95
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/61e0713ac50610f535ed2c88/iDTzqDuqRWmE2RvVs-V0y.png)
96
+
97
+
98
+ ## Dataset Creation
99
+
100
+ ### Curation Rationale
101
+
102
+ Larger sentiment datasets in the Scandinavian languages are needed to improve sentiment model training for these languages.
103
+
104
+ ### Source Data
105
+
106
+ The dataset is a compilation of multiple datasets.
107
+
108
+ *Review datasets*:
109
+
110
+ - `da-reviews.tsv`
111
+ - `da.csv`
112
+ - `en.csv`
113
+ - `no.csv`
114
+ - `sv.csv`
115
+
116
+ *Social media comment datasets*:
117
+
118
+ - `danish-some-sentiment.tsv`
119
+
120
+ For specific dataset inquiries, please contact [Oliver Kinch](https://huggingface.co/oliverkinch)
121
+
122
+
123
+ ## Additional Information
124
+
125
+ ### Dataset Curators
126
+
127
+ [Oliver Kinch](https://huggingface.co/oliverkinch) from the [The Alexandra
128
+ Institute](https://alexandra.dk/)
129
+
130
+ ### Licensing Information
131
+
132
+ The dataset is licensed under the [CC0
133
+ license](https://creativecommons.org/share-your-work/public-domain/cc0/).