math dedup and add russian oge
Browse files- README.md +44 -10
- RussianExams.py +15 -2
- data/math_tasks.json +2 -2
- data/{yn_tasks.json → russian_basis_tasks.json} +2 -2
- data/russian_phrase_conn_tasks.json +3 -0
- data/yes_no_math_tasks.json +3 -0
README.md
CHANGED
|
@@ -4,28 +4,62 @@ dataset_info:
|
|
| 4 |
features:
|
| 5 |
- name: text
|
| 6 |
dtype: string
|
| 7 |
-
- name: source
|
| 8 |
-
dtype: string
|
| 9 |
- name: answer
|
| 10 |
dtype: string
|
|
|
|
|
|
|
| 11 |
splits:
|
| 12 |
- name: test
|
| 13 |
-
num_bytes:
|
| 14 |
-
num_examples:
|
| 15 |
-
download_size:
|
| 16 |
-
dataset_size:
|
| 17 |
- config_name: yes_no_math_tasks
|
| 18 |
features:
|
| 19 |
- name: statement
|
| 20 |
dtype: string
|
| 21 |
- name: label
|
| 22 |
dtype: bool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
splits:
|
| 24 |
- name: test
|
| 25 |
-
num_bytes:
|
| 26 |
-
num_examples:
|
| 27 |
-
download_size:
|
| 28 |
-
dataset_size:
|
| 29 |
language:
|
| 30 |
- ru
|
| 31 |
---
|
|
|
|
| 4 |
features:
|
| 5 |
- name: text
|
| 6 |
dtype: string
|
|
|
|
|
|
|
| 7 |
- name: answer
|
| 8 |
dtype: string
|
| 9 |
+
- name: source
|
| 10 |
+
dtype: string
|
| 11 |
splits:
|
| 12 |
- name: test
|
| 13 |
+
num_bytes: 240907
|
| 14 |
+
num_examples: 579
|
| 15 |
+
download_size: 268716
|
| 16 |
+
dataset_size: 240907
|
| 17 |
- config_name: yes_no_math_tasks
|
| 18 |
features:
|
| 19 |
- name: statement
|
| 20 |
dtype: string
|
| 21 |
- name: label
|
| 22 |
dtype: bool
|
| 23 |
+
- name: source
|
| 24 |
+
dtype: string
|
| 25 |
+
splits:
|
| 26 |
+
- name: test
|
| 27 |
+
num_bytes: 22396
|
| 28 |
+
num_examples: 147
|
| 29 |
+
download_size: 30971
|
| 30 |
+
dataset_size: 22396
|
| 31 |
+
- config_name: russian_basis_tasks
|
| 32 |
+
features:
|
| 33 |
+
- name: sentence
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: basis
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: label
|
| 38 |
+
dtype: bool
|
| 39 |
+
- name: source
|
| 40 |
+
dtype: string
|
| 41 |
+
splits:
|
| 42 |
+
- name: test
|
| 43 |
+
num_bytes: 45558
|
| 44 |
+
num_examples: 199
|
| 45 |
+
download_size: 59583
|
| 46 |
+
dataset_size: 45558
|
| 47 |
+
- config_name: russian_phrase_conn_tasks
|
| 48 |
+
features:
|
| 49 |
+
- name: phrase
|
| 50 |
+
dtype: string
|
| 51 |
+
- name: connection
|
| 52 |
+
dtype: string
|
| 53 |
+
- name: answer
|
| 54 |
+
dtype: string
|
| 55 |
+
- name: source
|
| 56 |
+
dtype: string
|
| 57 |
splits:
|
| 58 |
- name: test
|
| 59 |
+
num_bytes: 10683
|
| 60 |
+
num_examples: 96
|
| 61 |
+
download_size: 17213
|
| 62 |
+
dataset_size: 10683
|
| 63 |
language:
|
| 64 |
- ru
|
| 65 |
---
|
RussianExams.py
CHANGED
|
@@ -15,13 +15,26 @@ class RussianExams(datasets.GeneratorBasedBuilder):
|
|
| 15 |
BUILDER_CONFIGS = [
|
| 16 |
RussianExamsConfig(name="math_tasks", features=datasets.Features({
|
| 17 |
"text": datasets.Value("string"),
|
| 18 |
-
"source": datasets.Value("string"),
|
| 19 |
"answer": datasets.Value("string"),
|
|
|
|
| 20 |
}), data_files=DataFilesDict({"test": ["data/math_tasks.json"]})),
|
| 21 |
RussianExamsConfig(name="yes_no_math_tasks", features=datasets.Features({
|
| 22 |
"statement": datasets.Value("string"),
|
| 23 |
"label": datasets.Value("bool"),
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
]
|
| 26 |
|
| 27 |
def _info(self):
|
|
|
|
| 15 |
BUILDER_CONFIGS = [
|
| 16 |
RussianExamsConfig(name="math_tasks", features=datasets.Features({
|
| 17 |
"text": datasets.Value("string"),
|
|
|
|
| 18 |
"answer": datasets.Value("string"),
|
| 19 |
+
"source": datasets.Value("string"),
|
| 20 |
}), data_files=DataFilesDict({"test": ["data/math_tasks.json"]})),
|
| 21 |
RussianExamsConfig(name="yes_no_math_tasks", features=datasets.Features({
|
| 22 |
"statement": datasets.Value("string"),
|
| 23 |
"label": datasets.Value("bool"),
|
| 24 |
+
"source": datasets.Value("string"),
|
| 25 |
+
}), data_files=DataFilesDict({"test": ["data/yes_no_math_tasks.json"]})),
|
| 26 |
+
RussianExamsConfig(name="russian_basis_tasks", features=datasets.Features({
|
| 27 |
+
"sentence": datasets.Value("string"),
|
| 28 |
+
"basis": datasets.Value("string"),
|
| 29 |
+
"label": datasets.Value("bool"),
|
| 30 |
+
"source": datasets.Value("string"),
|
| 31 |
+
}), data_files=DataFilesDict({"test": ["data/russian_basis_tasks.json"]})),
|
| 32 |
+
RussianExamsConfig(name="russian_phrase_conn_tasks", features=datasets.Features({
|
| 33 |
+
"phrase": datasets.Value("string"),
|
| 34 |
+
"connection": datasets.Value("string"),
|
| 35 |
+
"answer": datasets.Value("string"),
|
| 36 |
+
"source": datasets.Value("string"),
|
| 37 |
+
}), data_files=DataFilesDict({"test": ["data/russian_phrase_conn_tasks.json"]})),
|
| 38 |
]
|
| 39 |
|
| 40 |
def _info(self):
|
data/math_tasks.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc31e5f03879b2efaf207118602622bf5d83f1c0618971761a81483eaa387db2
|
| 3 |
+
size 268716
|
data/{yn_tasks.json → russian_basis_tasks.json}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdd83b950c786f50675bf1cea5728b7cbf8649646bca81f16cf3610a41ee7825
|
| 3 |
+
size 59583
|
data/russian_phrase_conn_tasks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee9639246f242fae8f9991fe3c73b99c6881aeee52b2e27ac29ea181bd107cac
|
| 3 |
+
size 17213
|
data/yes_no_math_tasks.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5855727da2864c4c1a1741ff24dee9635b343fa8c87d9d3623e5f88d4f6b928d
|
| 3 |
+
size 30971
|