mattmorgis commited on
Commit
49a5885
·
verified ·
1 Parent(s): d691072

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -65,18 +65,18 @@ You can load the dataset using the Hugging Face `datasets` library:
65
  ```python
66
  from datasets import load_dataset
67
 
68
- # Load the dataset with specific configurations
69
  dataset = load_dataset("mattmorgis/bioasq-12b-rag-dataset")
70
 
71
- # Access the corpus configuration
72
  corpus = dataset["corpus"]
73
 
74
- # Access the questions configuration with its splits
75
  questions = dataset["questions"]
76
  dev_questions = questions["dev"]
77
  test_questions = questions["test"]
78
 
79
- # You can also access splits directly
80
  dev_questions = dataset["questions"]["dev"]
81
  test_questions = dataset["questions"]["test"]
82
  ```
 
65
  ```python
66
  from datasets import load_dataset
67
 
68
+ # Load the dataset with its subsets
69
  dataset = load_dataset("mattmorgis/bioasq-12b-rag-dataset")
70
 
71
+ # Access the corpus subset
72
  corpus = dataset["corpus"]
73
 
74
+ # Access the questions subset with its splits
75
  questions = dataset["questions"]
76
  dev_questions = questions["dev"]
77
  test_questions = questions["test"]
78
 
79
+ # You can also access the questions splits directly
80
  dev_questions = dataset["questions"]["dev"]
81
  test_questions = dataset["questions"]["test"]
82
  ```