Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Languages:
Norwegian Bokmål
Size:
10K - 100K
Update README.md
Browse files
README.md
CHANGED
|
@@ -132,8 +132,28 @@ The data comes in three different versions:
|
|
| 132 |
- Ternary: additionally includes neutral examples
|
| 133 |
- Mixed: additionaly includes examples with mixed (i.e. both positive and negative) polarity
|
| 134 |
|
|
|
|
| 135 |
|
| 136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
## Dataset Creation
|
| 139 |
|
|
|
|
| 132 |
- Ternary: additionally includes neutral examples
|
| 133 |
- Mixed: additionaly includes examples with mixed (i.e. both positive and negative) polarity
|
| 134 |
|
| 135 |
+
Each example in the data comes with three fields: a uniqe identifier ('id'), the sentence itself ('review'), and the polarity label ('sentiment'). Depending on the dataset version used, the label can be 0 (negative), 1 (positive), or 2 (neutral). For the mixed version the sentiment label is a list, reflecting the fact that a sentence can be both positive or negative. See examples below for each the three dataset versions.
|
| 136 |
|
| 137 |
+
Binary:
|
| 138 |
+
```
|
| 139 |
+
{'id': '000335-02-01', 'review': 'Til tider ufrivillig morsomt .', 'sentiment': 0}
|
| 140 |
+
{'id': '704010-01-01', 'review': 'Ekstremt vitalt', 'sentiment': 1}
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
Ternary:
|
| 144 |
+
```
|
| 145 |
+
{'id': '000335-02-01', 'review': 'Til tider ufrivillig morsomt .', 'sentiment': 0}
|
| 146 |
+
{'id': '704010-01-01', 'review': 'Ekstremt vitalt', 'sentiment': 1}
|
| 147 |
+
{'id': '000778-57-02', 'review': 'Del dine synspunkter i kommentarfeltet .', 'sentiment': 2}
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
Mixed:
|
| 151 |
+
```
|
| 152 |
+
{'id': '000335-02-01', 'review': 'Til tider ufrivillig morsomt .', 'sentiment': [0]}
|
| 153 |
+
{'id': '704010-01-01', 'review': 'Ekstremt vitalt', 'sentiment': [1]}
|
| 154 |
+
{'id': '000778-57-02', 'review': 'Del dine synspunkter i kommentarfeltet .', 'sentiment': [2]}
|
| 155 |
+
{'id': '004702-02-01', 'review': 'Forviklingskomedie med brodd og bismak .', 'sentiment': [0, 1]}
|
| 156 |
+
```
|
| 157 |
|
| 158 |
## Dataset Creation
|
| 159 |
|