update README.md
Browse files
README.md
CHANGED
|
@@ -137,6 +137,16 @@ from datasets import load_dataset
|
|
| 137 |
dataset = load_dataset("shunk031/JGLUE", name="MARC-ja")
|
| 138 |
|
| 139 |
print(dataset)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
```
|
| 141 |
|
| 142 |
#### JSTS
|
|
@@ -297,9 +307,9 @@ An example of the JCommonsenseQA looks as follows:
|
|
| 297 |
- `sentence2`: second sentence
|
| 298 |
- `label`: sentence similarity: 5 (equivalent meaning) - 0 (completely different meaning)
|
| 299 |
|
| 300 |
-
##### Explanation for yjcaptions_id
|
| 301 |
|
| 302 |
-
|
| 303 |
|
| 304 |
1. sentence pairs in one image: `(image id)-(sentence1 id)-(sentence2 id)`
|
| 305 |
- e.g., 723-844-847
|
|
|
|
| 137 |
dataset = load_dataset("shunk031/JGLUE", name="MARC-ja")
|
| 138 |
|
| 139 |
print(dataset)
|
| 140 |
+
# DatasetDict({
|
| 141 |
+
# train: Dataset({
|
| 142 |
+
# features: ['sentence', 'label', 'review_id'],
|
| 143 |
+
# num_rows: 187528
|
| 144 |
+
# })
|
| 145 |
+
# validation: Dataset({
|
| 146 |
+
# features: ['sentence', 'label', 'review_id'],
|
| 147 |
+
# num_rows: 5654
|
| 148 |
+
# })
|
| 149 |
+
# })
|
| 150 |
```
|
| 151 |
|
| 152 |
#### JSTS
|
|
|
|
| 307 |
- `sentence2`: second sentence
|
| 308 |
- `label`: sentence similarity: 5 (equivalent meaning) - 0 (completely different meaning)
|
| 309 |
|
| 310 |
+
##### Explanation for `yjcaptions_id`
|
| 311 |
|
| 312 |
+
From [the official README.md](https://github.com/yahoojapan/JGLUE#explanation-for-yjcaptions_id), there are the following two cases:
|
| 313 |
|
| 314 |
1. sentence pairs in one image: `(image id)-(sentence1 id)-(sentence2 id)`
|
| 315 |
- e.g., 723-844-847
|