rmauder commited on
Commit
c471ae2
·
verified ·
1 Parent(s): e408f29

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -103,24 +103,24 @@ This dataset contains 1,881,712 sequences collected from 600 different bacterial
103
  ### Install HuggingFace Datasets package
104
 
105
  Each subset can be loaded into python using the HuggingFace [datasets] (https://huggingface.co/docs/datasets/index) library. First, from the command line install the 'datsets' library
106
- $ pip install datasets
 
107
 
108
  Optionally set the cache directory, e.g.
109
- $ HF\_HOME=${HOME}/.cache/huggingface/
110
- $ export HF\_HOME
 
111
 
112
  then, from within python load the datasets library
113
- \>\>\> import datasets
 
114
 
115
  ### Load model datasets
116
 
117
  To load one of the IsItABarrel model datasets, use 'datasets.load_datase(...)':
118
 
119
- \>\>\> dataset\_tag \= "\<TMMB_information\>"
120
- \>\>\> dataset \= datasets.load\_dataset(
121
- path \= "\<rmauder/IsItABarrel/TMBB_information\>",
122
- name \= f"{dataset\_tag}",
123
- data\_dir \= f"{dataset\_tag}")\['train'\]
124
 
125
  and the dataset is loaded as a 'datasets.arrow_dataset.Dataset'
126
 
 
103
  ### Install HuggingFace Datasets package
104
 
105
  Each subset can be loaded into python using the HuggingFace [datasets] (https://huggingface.co/docs/datasets/index) library. First, from the command line install the 'datsets' library
106
+
107
+ $ pip install datasets
108
 
109
  Optionally set the cache directory, e.g.
110
+
111
+ $ HF\_HOME=${HOME}/.cache/huggingface/
112
+ $ export HF\_HOME
113
 
114
  then, from within python load the datasets library
115
+
116
+ \>\>\> import datasets
117
 
118
  ### Load model datasets
119
 
120
  To load one of the IsItABarrel model datasets, use 'datasets.load_datase(...)':
121
 
122
+
123
+ \>\>\> dataset \= datasets.load\_dataset(f"rmauder/IsItABarrel", "TMBB_information")
 
 
 
124
 
125
  and the dataset is loaded as a 'datasets.arrow_dataset.Dataset'
126