Files changed (1) hide show
  1. README.md +6 -5
README.md CHANGED
@@ -46,13 +46,14 @@ The code to create the dataset is available on [this Colab notebook](https://col
46
 
47
  ## Dataset Structure
48
 
49
- The dataset contains a train and a validation set, with 15445 and 3646 examples, respectively. Access them with
50
 
51
  ```py
52
- from datasets import load_dataset
53
- dataset = load_dataset("coastalcph/tydi_xor_rc")
54
- train_set = dataset["train"]
55
- validation_set = dataset["validation"]
 
56
  ```
57
 
58
  ### Data Instances
 
46
 
47
  ## Dataset Structure
48
 
49
+ The dataset contains a train and a validation set, with 15343 and 3011 examples, respectively. Access them with
50
 
51
  ```py
52
+ import pandas as pd
53
+
54
+ splits = {'train': 'train.parquet', 'validation': 'validation.parquet'}
55
+ df_train = pd.read_parquet("hf://datasets/coastalcph/tydi_xor_rc/" + splits["train"])
56
+ df_val = pd.read_parquet("hf://datasets/coastalcph/tydi_xor_rc/" + splits["validation"])
57
  ```
58
 
59
  ### Data Instances