Datasets:
parquet-converter
commited on
Commit
•
bd2fbac
1
Parent(s):
0fe343b
Update parquet files
Browse files
README.md
DELETED
@@ -1,241 +0,0 @@
|
|
1 |
-
---
|
2 |
-
language:
|
3 |
-
- 'no'
|
4 |
-
- nb
|
5 |
-
- nn
|
6 |
-
license: cc-by-nc-4.0
|
7 |
-
size_categories:
|
8 |
-
- 10K<n<100K
|
9 |
-
task_categories:
|
10 |
-
- token-classification
|
11 |
-
pretty_name: NoReC TSA
|
12 |
-
dataset_info:
|
13 |
-
- config_name: binary
|
14 |
-
features:
|
15 |
-
- name: idx
|
16 |
-
dtype: string
|
17 |
-
- name: tokens
|
18 |
-
sequence: string
|
19 |
-
- name: tsa_tags
|
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 |
-
download_size: 898904
|
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 |
-
- config_name: intensity
|
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: 2316306
|
50 |
-
num_examples: 8634
|
51 |
-
- name: validation
|
52 |
-
num_bytes: 414972
|
53 |
-
num_examples: 1531
|
54 |
-
- name: test
|
55 |
-
num_bytes: 349228
|
56 |
-
num_examples: 1272
|
57 |
-
download_size: 904339
|
58 |
-
dataset_size: 3080506
|
59 |
-
homepage: https://github.com/ltgoslo/norec_tsa
|
60 |
-
citation: "@InProceedings{OvrMaeBar20,\n author = {Lilja Øvrelid and Petter Mæhlum\
|
61 |
-
\ and Jeremy Barnes and Erik Velldal},\n title = {A Fine-grained Sentiment Dataset\
|
62 |
-
\ for {N}orwegian},\n booktitle = {{Proceedings of the 12th Edition of the Language\
|
63 |
-
\ Resources and Evaluation Conference}},\n year = 2020,\n address = \"Marseille,\
|
64 |
-
\ France, 2020\"\n}"
|
65 |
-
configs:
|
66 |
-
- config_name: binary
|
67 |
-
data_files:
|
68 |
-
- split: train
|
69 |
-
path: binary/train-*
|
70 |
-
- split: validation
|
71 |
-
path: binary/validation-*
|
72 |
-
- split: test
|
73 |
-
path: binary/test-*
|
74 |
-
- config_name: intensity
|
75 |
-
data_files:
|
76 |
-
- split: train
|
77 |
-
path: intensity/train-*
|
78 |
-
- split: validation
|
79 |
-
path: intensity/validation-*
|
80 |
-
- split: test
|
81 |
-
path: intensity/test-*
|
82 |
-
---
|
83 |
-
# Dataset Card for NoReC TSA
|
84 |
-
|
85 |
-
|
86 |
-
## Dataset Description
|
87 |
-
|
88 |
-
<!--- **Homepage:** --->
|
89 |
-
- **Repository:**
|
90 |
-
https://github.com/ltgoslo/norec_tsa
|
91 |
-
- **Paper:**
|
92 |
-
[A Fine-Grained Sentiment Dataset for Norwegian](https://aclanthology.org/2020.lrec-1.618/)
|
93 |
-
|
94 |
-
<!---
|
95 |
-
- **Leaderboard:**
|
96 |
-
- **Point of Contact:**
|
97 |
-
--->
|
98 |
-
|
99 |
-
### Dataset Summary
|
100 |
-
The dataset contains tokenized Norwegian sentences where each token is tagged for sentiment expressed towards that token. The dataset is derived from the manually annotated [NoReC_fine](https://github.com/ltgoslo/norec_fine) with rich annotations for each sentiment expression in the texts.
|
101 |
-
The texts are a subset of the Norewegian Review Corpus [NoReC](https://github.com/ltgoslo/norec).
|
102 |
-
|
103 |
-
### Supported Tasks and Leaderboards
|
104 |
-
[NorBench](https://github.com/ltgoslo/norbench) provides TSA evaluation scripts using this dataset, and a leaderboard comparing large language models for downstream NLP tasks in Norwegian.
|
105 |
-
|
106 |
-
### Languages
|
107 |
-
Norwegian: Predominantly Bokmål written variant.
|
108 |
-
|
109 |
-
| variant | split | sents | docs |
|
110 |
-
|:-----|:--------|--------:|-------:|
|
111 |
-
| nb | dev | 1531 | 44 |
|
112 |
-
| nb | test | 1272 | 47 |
|
113 |
-
| nb | train | 8556 | 323 |
|
114 |
-
| nn | train | 78 | 4 |
|
115 |
-
|
116 |
-
## Dataset Structure
|
117 |
-
The dataset comes in two flavours:
|
118 |
-
- `binary` configuration yields labels with binary Positive / Negative sentiment description
|
119 |
-
- `intensity` configuration yields labels with additional sentiment intensity, 1: Slight, 2: Standard, and 3: Strong.
|
120 |
-
|
121 |
-
The config is mandatory when loading the dataset and can be passed as a second positional parameter, e.g. `tsa_data = load_dataset("ltg/norec_tsa", "binary")`
|
122 |
-
The dataset comes with predefined train, dev (vallidation) and test splits.
|
123 |
-
|
124 |
-
|
125 |
-
### Data Instances
|
126 |
-
Config "binary" example instance:
|
127 |
-
```
|
128 |
-
{'idx': '701363-08-02',
|
129 |
-
'tokens': ['Vi', 'liker', 'det', '.'],
|
130 |
-
'tsa_tags': ['O', 'O', 'B-targ-Positive', 'O']}
|
131 |
-
```
|
132 |
-
Config "intensity" example instance:
|
133 |
-
```
|
134 |
-
{'idx': '701363-08-02',
|
135 |
-
'tokens': ['Vi', 'liker', 'det', '.'],
|
136 |
-
'tsa_tags': ['O', 'O', 'B-targ-Positive-2', 'O']}
|
137 |
-
```
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
### Data Fields
|
142 |
-
- idx(str): Unique document-and sentence identifier from [NoReC_fine](https://github.com/ltgoslo/norec_fine). The 6-digit document identifier can also be used to look up the text and its metadata in [NoReC](https://github.com/ltgoslo/norec).
|
143 |
-
- tokens: (List[str]): List of the tokens in the sentence
|
144 |
-
- tsa_tags: (List[str]): List of the tags for each token in BIO format. There is no integer representation of these in the dataset.
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
### Data Splits
|
150 |
-
```
|
151 |
-
DatasetDict({
|
152 |
-
test: Dataset({
|
153 |
-
features: ['idx', 'tokens', 'tsa_tags'],
|
154 |
-
num_rows: 1272
|
155 |
-
})
|
156 |
-
train: Dataset({
|
157 |
-
features: ['idx', 'tokens', 'tsa_tags'],
|
158 |
-
num_rows: 8634
|
159 |
-
})
|
160 |
-
validation: Dataset({
|
161 |
-
features: ['idx', 'tokens', 'tsa_tags'],
|
162 |
-
num_rows: 1531
|
163 |
-
})
|
164 |
-
})
|
165 |
-
```
|
166 |
-
|
167 |
-
## Dataset Creation
|
168 |
-
|
169 |
-
### Curation Rationale
|
170 |
-
The sentiment expressions and targets are annotated in NoReC_fine according to its [annotation guidelines](https://github.com/ltgoslo/norec_fine/blob/master/annotation_guidelines/guidelines.md)
|
171 |
-
|
172 |
-
Since a sentiment target may be the target of several sentiment expressions, these are resolved to a final sentiment polarity (and intensity) using the conversion script in [NoReC_tsa](https://github.com/ltgoslo/norec_tsa). There is no "mixed" sentiment category. When a target is the receiver of both positive and negative sentiment, the strongest wins. If a tie, the last sentiment wins.
|
173 |
-
|
174 |
-
### Source Data
|
175 |
-
A subset of the Norwegian Review Corpus with its sources and preprocessing described [here](https://github.com/ltgoslo/norec).
|
176 |
-
|
177 |
-
<!---
|
178 |
-
#### Initial Data Collection and Normalization
|
179 |
-
|
180 |
-
[More Information Needed]
|
181 |
-
|
182 |
-
#### Who are the source language producers?
|
183 |
-
|
184 |
-
[More Information Needed]
|
185 |
-
|
186 |
-
### Annotations
|
187 |
-
|
188 |
-
#### Annotation process
|
189 |
-
|
190 |
-
[More Information Needed]
|
191 |
-
|
192 |
-
#### Who are the annotators?
|
193 |
-
|
194 |
-
[More Information Needed]
|
195 |
-
|
196 |
-
### Personal and Sensitive Information
|
197 |
-
|
198 |
-
[More Information Needed]
|
199 |
-
|
200 |
-
## Considerations for Using the Data
|
201 |
-
|
202 |
-
### Social Impact of Dataset
|
203 |
-
|
204 |
-
[More Information Needed]
|
205 |
-
--->
|
206 |
-
### Discussion of Biases
|
207 |
-
The professional review texts in NoReC that NoReC_tsa is a subset from, are from a set number of Norwegian Publishing channels and from a set timespan that can be explored in the [NoReC metadata](https://raw.githubusercontent.com/ltgoslo/norec/master/data/metadata.json). Both language usage and sentiments expressed could have been more diverse with a more diverse set of source texts.
|
208 |
-
|
209 |
-
<!---
|
210 |
-
### Other Known Limitations
|
211 |
-
|
212 |
-
[More Information Needed]
|
213 |
-
|
214 |
-
## Additional Information
|
215 |
-
|
216 |
-
### Dataset Curators
|
217 |
-
|
218 |
-
[More Information Needed]
|
219 |
-
--->
|
220 |
-
### Licensing Information
|
221 |
-
|
222 |
-
The data, being derived from [NoReC](https://github.com/ltgoslo/norec), is distributed under a Creative Commons Attribution-NonCommercial licence (CC BY-NC 4.0), access the full license text here: https://creativecommons.org/licenses/by-nc/4.0/
|
223 |
-
|
224 |
-
The licence is motivated by the need to block the possibility of third parties redistributing the orignal reviews for commercial purposes. Note that machine learned models, extracted lexicons, embeddings, and similar resources that are created on the basis of NoReC are not considered to contain the original data and so can be freely used also for commercial purposes despite the non-commercial condition.
|
225 |
-
|
226 |
-
|
227 |
-
### Citation Information
|
228 |
-
```
|
229 |
-
@InProceedings{OvrMaeBar20,
|
230 |
-
author = {Lilja Øvrelid and Petter Mæhlum and Jeremy Barnes and Erik Velldal},
|
231 |
-
title = {A Fine-grained Sentiment Dataset for {N}orwegian},
|
232 |
-
booktitle = {{Proceedings of the 12th Edition of the Language Resources and Evaluation Conference}},
|
233 |
-
year = 2020,
|
234 |
-
address = {Marseille, France, 2020}
|
235 |
-
}```
|
236 |
-
|
237 |
-
<!---
|
238 |
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001-4d8819961217d87e.parquet → norec_tsa-test.parquet}
RENAMED
File without changes
|
binary/{train-00000-of-00001-f8ab560346db1f32.parquet → norec_tsa-train.parquet}
RENAMED
File without changes
|
binary/{validation-00000-of-00001-26918731561cb978.parquet → norec_tsa-validation.parquet}
RENAMED
File without changes
|