Datasets:
update readme
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ task_categories:
|
|
| 10 |
- token-classification
|
| 11 |
pretty_name: NoReC TSA
|
| 12 |
dataset_info:
|
| 13 |
-
- config_name:
|
| 14 |
features:
|
| 15 |
- name: idx
|
| 16 |
dtype: string
|
|
@@ -20,64 +20,21 @@ dataset_info:
|
|
| 20 |
sequence: string
|
| 21 |
splits:
|
| 22 |
- name: train
|
| 23 |
-
num_bytes: 2296476
|
| 24 |
num_examples: 8634
|
| 25 |
- name: validation
|
| 26 |
-
num_bytes: 411562
|
| 27 |
num_examples: 1531
|
| 28 |
- name: test
|
| 29 |
-
num_bytes: 346288
|
| 30 |
num_examples: 1272
|
| 31 |
-
|
| 32 |
-
dataset_size: 3054326
|
| 33 |
homepage: https://github.com/ltgoslo/norec_tsa
|
| 34 |
citation: "@InProceedings{OvrMaeBar20,\n author = {Lilja Øvrelid and Petter Mæhlum\
|
| 35 |
\ and Jeremy Barnes and Erik Velldal},\n title = {A Fine-grained Sentiment Dataset\
|
| 36 |
\ for {N}orwegian},\n booktitle = {{Proceedings of the 12th Edition of the Language\
|
| 37 |
\ Resources and Evaluation Conference}},\n year = 2020,\n address = \"Marseille,\
|
| 38 |
\ France, 2020\"\n}"
|
| 39 |
-
|
| 40 |
-
features:
|
| 41 |
-
- name: idx
|
| 42 |
-
dtype: string
|
| 43 |
-
- name: tokens
|
| 44 |
-
sequence: string
|
| 45 |
-
- name: tsa_tags
|
| 46 |
-
sequence: string
|
| 47 |
-
splits:
|
| 48 |
-
- name: train
|
| 49 |
-
num_bytes: 2296476
|
| 50 |
-
num_examples: 8634
|
| 51 |
-
- name: validation
|
| 52 |
-
num_bytes: 411562
|
| 53 |
-
num_examples: 1531
|
| 54 |
-
- name: test
|
| 55 |
-
num_bytes: 346288
|
| 56 |
-
num_examples: 1272
|
| 57 |
-
download_size: 898904
|
| 58 |
-
dataset_size: 3054326
|
| 59 |
-
- config_name: intensity
|
| 60 |
-
features:
|
| 61 |
-
- name: idx
|
| 62 |
-
dtype: string
|
| 63 |
-
- name: tokens
|
| 64 |
-
sequence: string
|
| 65 |
-
- name: tsa_tags
|
| 66 |
-
sequence: string
|
| 67 |
-
splits:
|
| 68 |
-
- name: train
|
| 69 |
-
num_bytes: 2316306
|
| 70 |
-
num_examples: 8634
|
| 71 |
-
- name: validation
|
| 72 |
-
num_bytes: 414972
|
| 73 |
-
num_examples: 1531
|
| 74 |
-
- name: test
|
| 75 |
-
num_bytes: 349228
|
| 76 |
-
num_examples: 1272
|
| 77 |
-
download_size: 0
|
| 78 |
-
dataset_size: 3080506
|
| 79 |
configs:
|
| 80 |
-
- config_name:
|
| 81 |
data_files:
|
| 82 |
- split: train
|
| 83 |
path: binary/train-*
|
|
@@ -137,15 +94,15 @@ Norwegian: Predominantly Bokmål written variant.
|
|
| 137 |
|
| 138 |
## Dataset Structure
|
| 139 |
The dataset comes in two flavours:
|
| 140 |
-
- `
|
| 141 |
- `intensity` configuration yields labels with additional sentiment intensity, 1: Slight, 2: Standard, and 3: Strong.
|
| 142 |
|
| 143 |
-
The config is
|
| 144 |
The dataset comes with predefined train, dev (vallidation) and test splits.
|
| 145 |
|
| 146 |
|
| 147 |
### Data Instances
|
| 148 |
-
Config "
|
| 149 |
```
|
| 150 |
{'idx': '701363-08-02',
|
| 151 |
'tokens': ['Vi', 'liker', 'det', '.'],
|
|
|
|
| 10 |
- token-classification
|
| 11 |
pretty_name: NoReC TSA
|
| 12 |
dataset_info:
|
| 13 |
+
- config_name: default
|
| 14 |
features:
|
| 15 |
- name: idx
|
| 16 |
dtype: string
|
|
|
|
| 20 |
sequence: string
|
| 21 |
splits:
|
| 22 |
- name: train
|
|
|
|
| 23 |
num_examples: 8634
|
| 24 |
- name: validation
|
|
|
|
| 25 |
num_examples: 1531
|
| 26 |
- name: test
|
|
|
|
| 27 |
num_examples: 1272
|
| 28 |
+
|
|
|
|
| 29 |
homepage: https://github.com/ltgoslo/norec_tsa
|
| 30 |
citation: "@InProceedings{OvrMaeBar20,\n author = {Lilja Øvrelid and Petter Mæhlum\
|
| 31 |
\ and Jeremy Barnes and Erik Velldal},\n title = {A Fine-grained Sentiment Dataset\
|
| 32 |
\ for {N}orwegian},\n booktitle = {{Proceedings of the 12th Edition of the Language\
|
| 33 |
\ Resources and Evaluation Conference}},\n year = 2020,\n address = \"Marseille,\
|
| 34 |
\ France, 2020\"\n}"
|
| 35 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
configs:
|
| 37 |
+
- config_name: default
|
| 38 |
data_files:
|
| 39 |
- split: train
|
| 40 |
path: binary/train-*
|
|
|
|
| 94 |
|
| 95 |
## Dataset Structure
|
| 96 |
The dataset comes in two flavours:
|
| 97 |
+
- `default` configuration yields labels with binary Positive / Negative sentiment description
|
| 98 |
- `intensity` configuration yields labels with additional sentiment intensity, 1: Slight, 2: Standard, and 3: Strong.
|
| 99 |
|
| 100 |
+
The config is required for accessing the version with intensity. `tsa_data = load_dataset("ltg/norec_tsa", "intensity")`
|
| 101 |
The dataset comes with predefined train, dev (vallidation) and test splits.
|
| 102 |
|
| 103 |
|
| 104 |
### Data Instances
|
| 105 |
+
Config "default" example instance:
|
| 106 |
```
|
| 107 |
{'idx': '701363-08-02',
|
| 108 |
'tokens': ['Vi', 'liker', 'det', '.'],
|