rithwiks commited on
Commit
0de30d4
1 Parent(s): dc7f8a6

add streaming

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -37,7 +37,7 @@ Then `cd SBI-16-3D` and start python like:
37
 
38
  ```python
39
  from datasets import load_dataset
40
- dataset = load_dataset("./GBI-16-2D.py", "tiny", data_dir="./data/")
41
  ds = dataset.with_format("np")
42
  ```
43
 
@@ -69,6 +69,6 @@ Then in your python script:
69
 
70
  ```python
71
  from datasets import load_dataset
72
- dataset = load_dataset("AstroCompress/GBI-16-2D", "tiny")
73
  ds = dataset.with_format("np")
74
  ```
 
37
 
38
  ```python
39
  from datasets import load_dataset
40
+ dataset = load_dataset("./GBI-16-2D.py", "tiny", data_dir="./data/", streaming=True, trust_remote_code=True)
41
  ds = dataset.with_format("np")
42
  ```
43
 
 
69
 
70
  ```python
71
  from datasets import load_dataset
72
+ dataset = load_dataset("AstroCompress/GBI-16-2D", "tiny", streaming=True, trust_remote_code=True)
73
  ds = dataset.with_format("np")
74
  ```