Datasets:

Languages:
Korean
Multilinguality:
monolingual
Size Categories:
100K<n<1m
Tags:
License:
File size: 2,399 Bytes
74c7161
d90f9d5
 
eb7d992
e8a1d4f
eb7d992
d90f9d5
 
 
 
 
d556f0b
d90f9d5
 
 
 
 
74c7161
 
 
294dda1
 
 
 
 
15be909
b5ae506
 
26d09c0
15be909
 
ebbe016
2e16425
15be909
f66f194
 
 
 
290dc88
f66f194
 
 
 
 
 
 
 
74c7161
 
 
15be909
 
 
 
b5ae506
 
 
 
 
 
ad5f4b9
b5ae506
 
15be909
ca30a60
15be909
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
annotations_creators: []
language_creators: []
language:
- ko
license:
- cc-by-nc-sa-4.0
multilinguality:
- monolingual
pretty_name: KR3
size_categories:
- 100K<n<1m
source_datasets: []
task_categories:
- text-classification
task_ids:
- sentiment-classification
---

### KR3: Korean Restaurant Reviews with Ratings
Korean sentiment classification dataset   

- Size: 460K(+180K)
- Language: Korean-centric

### ⚠️ Caution with `Rating` Column
0 stands for negative review, 1 stands for positive review, and 2 stands for ambiguous review.  
**Note that rating 2 is not intended to be used directly for supervised learning(classification).** This data is included for additional pre-training purpose or other usage.  
In other words, this dataset is basically a **binary** sentiment classification task where labels are 0 and 1.  

### 🔍 See More
See all the codes for crawling/preprocessing the dataset and experiments with KR3 in [GitHub Repo](https://github.com/Wittgensteinian/kr3).  
See Kaggle dataset in [Kaggle Dataset](https://www.kaggle.com/ninetyninenewton/kr3-korean-restaurant-reviews-with-ratings).

### Usage
```python
from datasets import load_dataset

kr3 = load_dataset("leey4n/KR3", name='kr3', split='train')
kr3 = kr3.remove_columns(['__index_level_0__']) # Original file didn't include this column. Suspect it's a hugging face issue.
```
```python
# drop reviews with ambiguous label
kr3_binary = kr3.filter(lambda example: example['Rating'] != 2)
```


### License
**CC BY-NC-SA 4.0**

### Legal Issues
We concluded that the **non-commerical usage and release of KR3 fall into the range of fair use (공정 이용)** stated in the Korean copyright act (저작권법). We further clarify that we **did not agree to the terms of service** from any websites which might prohibit web crawling. In other words, web crawling we've done was proceeded without logging in to the website. Despite all of these, feel free to contact to any of the contributors if you notice any legal issues.

### Contributors & Acknowledgement
(Alphabetical order)

[Dongin Jung](https://github.com/dongin1009)

[Hyunwoo Kwak](https://github.com/Kwak-Hyun-woo)

[Kaeun Lee](https://github.com/Kaeun-Lee)

[Yejoon Lee](https://github.com/wittgensteinian)

This work was done as DIYA 4기. Compute resources needed for the work was supported by [DIYA](https://blog.diyaml.com) and surromind.ai.