Upload 41 files
Browse files- AlternativeQuestion/haishi_ma.jsonl +0 -0
- Anaphor/Plural/baseline_cl_female.jsonl +0 -0
- Anaphor/Plural/baseline_cl_male.jsonl +0 -0
- Anaphor/Plural/baseline_cl_men_female.jsonl +0 -0
- Anaphor/Plural/baseline_cl_men_male.jsonl +0 -0
- Anaphor/Plural/baseline_men_female.jsonl +0 -0
- Anaphor/Plural/baseline_men_male.jsonl +0 -0
- Anaphor/Plural/cl_men_self_female.jsonl +0 -0
- Anaphor/Plural/cl_men_self_male.jsonl +0 -0
- Anaphor/Plural/cl_self_female.jsonl +0 -0
- Anaphor/Plural/cl_self_male.jsonl +0 -0
- Anaphor/Plural/menself_female.jsonl +0 -0
- Anaphor/Plural/menself_male.jsonl +0 -0
- Anaphor/baseline_female.jsonl +0 -0
- Anaphor/baseline_male.jsonl +0 -0
- Anaphor/pp_female.jsonl +0 -0
- Anaphor/pp_male.jsonl +0 -0
- Anaphor/self_female.jsonl +0 -0
- Anaphor/self_male.jsonl +0 -0
- Aspect/temporal_guo.jsonl +0 -0
- Aspect/temporal_le.jsonl +0 -0
- Aspect/zai_guo.jsonl +0 -0
- Aspect/zai_le.jsonl +0 -0
- Aspect/zai_no_le.jsonl +0 -0
- Classifier-Noun/cl_adj_comp_noun.jsonl +0 -0
- Classifier-Noun/cl_adj_comp_noun_v2.jsonl +0 -0
- Classifier-Noun/cl_adj_simple_noun.jsonl +0 -0
- Classifier-Noun/cl_comp_noun.jsonl +0 -0
- Classifier-Noun/cl_comp_noun_v2.jsonl +0 -0
- Classifier-Noun/cl_simple_noun.jsonl +0 -0
- Classifier-Noun/dem_cl_swap.jsonl +0 -0
- DefinitenessEffect/definiteness_demonstrative.jsonl +0 -0
- DefinitenessEffect/definiteness_every.jsonl +0 -0
- PolarityItem/any.jsonl +0 -0
- PolarityItem/even_wh.jsonl +0 -0
- PolarityItem/more_or_less.jsonl +0 -0
- README.md +49 -3
- RelativeClause/rc_resumptive_noun.jsonl +0 -0
- RelativeClause/rc_resumptive_pronoun.jsonl +0 -0
- WhFronting/bare_wh.jsonl +0 -0
- WhFronting/mod_wh.jsonl +0 -0
AlternativeQuestion/haishi_ma.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/baseline_cl_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/baseline_cl_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/baseline_cl_men_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/baseline_cl_men_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/baseline_men_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/baseline_men_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/cl_men_self_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/cl_men_self_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/cl_self_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/cl_self_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/menself_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/Plural/menself_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/baseline_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/baseline_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/pp_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/pp_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/self_female.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Anaphor/self_male.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Aspect/temporal_guo.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Aspect/temporal_le.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Aspect/zai_guo.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Aspect/zai_le.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Aspect/zai_no_le.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/cl_adj_comp_noun.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/cl_adj_comp_noun_v2.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/cl_adj_simple_noun.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/cl_comp_noun.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/cl_comp_noun_v2.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/cl_simple_noun.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Classifier-Noun/dem_cl_swap.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
DefinitenessEffect/definiteness_demonstrative.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
DefinitenessEffect/definiteness_every.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
PolarityItem/any.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
PolarityItem/even_wh.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
PolarityItem/more_or_less.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
README.md
CHANGED
@@ -1,3 +1,49 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# SLING: Sino-Linguistic Evaluation of Large Language Models
|
2 |
+
|
3 |
+
[](http://arxiv.org/abs/2210.11689)
|
4 |
+
|
5 |
+
This is the official codebase accompanying our EMNLP 2022 paper "SLING: Sino-Linguistic Evaluation of Large Language Models". You can find our paper on [arxiv](https://arxiv.org/abs/2210.11689).
|
6 |
+
|
7 |
+
## SLING Dataset
|
8 |
+
|
9 |
+
See [`SLING_Data`](SLING_Data) and the readme file in it.
|
10 |
+
|
11 |
+
A complete list of all phenomea and paradigms can be found in [`PhenomenonParadigmList.txt`](PhenomenonParadigmList.txt)
|
12 |
+
|
13 |
+
## SLING Code
|
14 |
+
|
15 |
+
See [`SLING_Code`](SLING_Code) and the readme file in it.
|
16 |
+
|
17 |
+
## Setup
|
18 |
+
|
19 |
+
```
|
20 |
+
python -m virtualenv sling-venv
|
21 |
+
source sling-venv/bin/activate
|
22 |
+
pip install torch torchvision # currently, this is the version compatible with CUDA 10.1
|
23 |
+
pip install transformers
|
24 |
+
pip install nltk
|
25 |
+
```
|
26 |
+
|
27 |
+
## To run the language models
|
28 |
+
|
29 |
+
```
|
30 |
+
python SLING_Code/lm_sling.py
|
31 |
+
python SLING_Code/PanGu_sling.py
|
32 |
+
python SLING_Code/gpt3_sling.py
|
33 |
+
python SLING_Code/byt5_sling.py
|
34 |
+
```
|
35 |
+
|
36 |
+
`lstm_sling.py` is included in [`SLING_Code`](SLING_Code) for reference. Details of how to run the CLUECorpusSmall LSTM language model can be found [here](https://github.com/dbiir/UER-py/wiki/Modelzoo).
|
37 |
+
|
38 |
+
## Citation Information
|
39 |
+
|
40 |
+
If you use SLING, please cite it as follows:
|
41 |
+
|
42 |
+
```
|
43 |
+
@inproceedings{sling22,
|
44 |
+
author={Yixiao Song and Kalpesh Krishna and Rajesh Bhatt and Mohit Iyyer},
|
45 |
+
booktitle = {Empirical Methods in Natural Language Processing},
|
46 |
+
Year = "2022",
|
47 |
+
Title={SLING: Sino Linguistic Evaluation of Large Language Models},
|
48 |
+
}
|
49 |
+
```
|
RelativeClause/rc_resumptive_noun.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
RelativeClause/rc_resumptive_pronoun.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
WhFronting/bare_wh.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
WhFronting/mod_wh.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|