File size: 4,435 Bytes
1be7ad0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac051ba
 
 
 
 
 
 
 
 
 
 
1be7ad0
ac051ba
 
f620c74
ac051ba
747170d
 
ac051ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7f46c4a
ac051ba
 
 
 
 
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
dataset_info:
  features:
  - name: id
    dtype: int64
  - name: sentence
    dtype: string
  - name: gold_label
    dtype: string
  splits:
  - name: test
    num_bytes: 20371
    num_examples: 320
  download_size: 10171
  dataset_size: 20371
configs:
- config_name: default
  data_files:
  - split: test
    path: data/test-*
task_categories:
- text-classification
- zero-shot-classification
language:
- ko
tags:
- syntax
- acceptability
- minimalpairs
size_categories:
- n<1K
---
# Kontrast Dataset
* Paper: [Evaluating GPTโ€™s Ability to Understand Syntactic Minimal Pairs in Korean](https://doi.org/10.29403/LI.28.3.5)
* Authors: [Jina Song](https://english.hongik.ac.kr/english/0201.do?mode=view&deptCd=AAD140&S1=2024&S2=10024), [Eunbi Cho](https://github.com/EunB2), [Sanghoun Song](http://corpus.mireene.com/)
* [GitHub](https://github.com/EunB2/Kontrast)๐Ÿ˜บ
* [Kontrast-YesNo_320sentences](https://huggingface.co/datasets/EunB2/Kontrast-YesNo_320sentences)
* [Kontrast-ForcedChoice_160pairs](https://huggingface.co/datasets/EunB2/Kontrast-ForcedChoice_160pairs)

This dataset, **Kontrast**, contains Korean syntactic minimal pairs used to evaluate the syntactic competence of large language models (LLMs), including GPT-3.5, GPT-4, and GPT-4o.

## Main Concept
The dataset consists of **syntactic minimal pairs**, where each pair includes:
* **An acceptable sentence**
* **A less acceptable sentence** (due to a syntactic violation)

These pairs help assess whether language models align with **native Korean speaker judgments** regarding syntactic acceptability.

## Data Description
This dataset consists of three subsets based on different experimental tasks:

1. **Forced Choice Task (`ForcedChoice_160pairs.xlsx`)**
   - **160 sentence pairs** where one sentence is grammatically more acceptable than the other.
   - The model is asked to choose the more acceptable sentence.
   - **Columns:**
     - `id`: Unique identifier for the sentence pair.
     - `sentence_A`: The more acceptable sentence.
     - `sentence_B`: The less acceptable sentence.
     - `gold_label`: Correct answer (either `A` or `B`).

2. **Yes/No Task (`YesNo_320sentences.xlsx`)**
   - **320 individual sentences** labeled as acceptable (`์˜ˆ`) or unacceptable (`์•„๋‹ˆ์˜ค`).
   - The model is asked to determine whether each sentence is acceptable.
   - **Columns:**
     - `id`: Unique identifier for each sentence.
     - `sentence`: The sentence being evaluated.
     - `gold_label`: Acceptability judgment (`์˜ˆ` or `์•„๋‹ˆ์˜ค`).

3. **Likert Scale Task (`LikertScale_320sentences.xlsx`)**
   - **320 individual sentences**, each rated based on **acceptability judgments** by human annotators.
   - The model assigns a score between **1 and 5**, where:
     - **1 = ์ „ํ˜€ ์ˆ˜์šฉ ๋ถˆ๊ฐ€๋Šฅํ•จ (Totally unacceptable)**
     - **2 = ์ˆ˜์šฉ ๋ถˆ๊ฐ€๋Šฅํ•จ (Unacceptable)**
     - **3 = ๋ณดํ†ต์ž„ (Neutral)**
     - **4 = ์ˆ˜์šฉ ๊ฐ€๋Šฅํ•จ (Acceptable)**
     - **5 = ๋งค์šฐ ์ˆ˜์šฉ ๊ฐ€๋Šฅํ•จ (Very acceptable)**
   - **Columns:**
     - `id`: Unique identifier for each sentence.
     - `sentence`: The sentence being evaluated.
     - `gold_label`: Acceptability judgment (`์ •๋ฌธ` or `๋น„๋ฌธ`).

### Example Data
#### **Forced Choice Task**
| ID | Acceptable Sentence (A) | Less Acceptable Sentence (B) | Correct Answer |
|----|-------------------------|-----------------------------|----------------|
| 1  | ์„œ์šธ์€ ํ•œ๊ตญ์˜ ์ˆ˜๋„์ด๋‹ค. | ์„œ์šธ์€ ํ•œ๊ตญ์˜ ์ˆ˜๋„๋ฟ์ด๋‹ค. | A |
| 2  | ์ฒ ์ˆ˜๊ฐ€ ์–ด์ œ ์ค€ ๊ฒƒ์€ ์˜ํฌ์—๊ฒŒ ์ฑ…์ด์•ผ. | ์ฒ ์ˆ˜๊ฐ€ ์–ด์ œ ์˜ํฌ์—๊ฒŒ ์ค€ ๊ฒƒ์€ ์ฑ…์ด์•ผ. | B |

#### **Yes/No Task**
| ID | Sentence | Judgment |
|----|---------|----------|
| 1  | ์ฒ ์ˆ˜๊ฐ€ ์–ด์ œ ์˜ํฌ์—๊ฒŒ ์ค€ ๊ฒƒ์€ ์ฑ…์ด์•ผ. | ์˜ˆ |
| 2  | ๋นˆ๋ฒˆํžˆ ์ผ์–ด๋‚˜๋Š” ์œ ๊ดด ์‚ฌ๊ฑด์ด ์šฐ๋ฆฌ๋ฅผ ์Šฌํސ๊ฒŒ ํ•œ๋‹ค. | ์•„๋‹ˆ์˜ค |

#### **Likert Scale Task**
| ID | Sentence | Judgment |
|----|---------|----------|
| 1  | ์„œ์šธ์€ ํ•œ๊ตญ์˜ ์ˆ˜๋„์ด๋‹ค. | ์ •๋ฌธ |
| 2  | ์˜์ด๊ฐ€ ์˜ˆ์˜์ง€ ์•Š๊ณ  ์žˆ๋‹ค. | ๋น„๋ฌธ |

## Citation
```
@article{song2024evaluating,
  author    = {Jina Song and Eunbi Cho and Sanghoun Song},
  title     = {Evaluating GPTโ€™s Ability to Understand Syntactic Minimal Pairs in Korean},
  journal   = {Language and Information},
  volume    = {28},
  number    = {3},
  pages     = {83-109},
  year      = {2024},
  publisher = {The Korean Society for Language and Information}
}
```

## License
TBD