Update README.md
Browse files
README.md
CHANGED
|
@@ -43,4 +43,11 @@ dataset_info:
|
|
| 43 |
|
| 44 |
It contains the dataset used in the paper [COGS: A Compositional Generalization Challenge Based on Semantic Interpretation.](https://aclanthology.org/2020.emnlp-main.731.pdf)
|
| 45 |
|
| 46 |
-
It has four splits, where **gen** refers to the generalization split and **train_100** refers to the training version with 100 primitive exposure examples.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
It contains the dataset used in the paper [COGS: A Compositional Generalization Challenge Based on Semantic Interpretation.](https://aclanthology.org/2020.emnlp-main.731.pdf)
|
| 45 |
|
| 46 |
+
It has four splits, where **gen** refers to the generalization split and **train_100** refers to the training version with 100 primitive exposure examples.
|
| 47 |
+
|
| 48 |
+
You can use it by calling:
|
| 49 |
+
```
|
| 50 |
+
train_data = datasets.load_dataset("Punchwe/COGS", split="train")
|
| 51 |
+
train100_data = datasets.load_dataset("Punchwe/COGS", split="train_100")
|
| 52 |
+
gen_data = datasets.load_dataset("Punchwe/COGS", split="gen")
|
| 53 |
+
```
|