danfu09 jurassicpark commited on
Commit
4306b88
1 Parent(s): 7c94531

Change the Download Command to account for duplicate filenames (#9)

Browse files

- Change the Download Command to account for duplicate filenames (8ead72f388e9d656b80f00d4d800e34bede48a7b)


Co-authored-by: dude <[email protected]>

Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -15,10 +15,17 @@ ds = load_dataset("togethercomputer/RedPajama-Data-1T")
15
  ```
16
 
17
  Or you can directly download the files using the following command:
 
18
  ```
19
- wget -i https://data.together.xyz/redpajama-data-1T/v1.0.0/urls.txt
 
 
 
 
 
20
  ```
21
 
 
22
  A smaller 1B-token sample of the dataset can be found [here](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T-Sample).
23
 
24
  A full set of scripts to recreate the dataset from scratch can be found [here](https://github.com/togethercomputer/RedPajama-Data).
 
15
  ```
16
 
17
  Or you can directly download the files using the following command:
18
+
19
  ```
20
+ wget 'https://data.together.xyz/redpajama-data-1T/v1.0.0/urls.txt'
21
+ while read line; do
22
+ dload_loc=${line#https://data.together.xyz/redpajama-data-1T/v1.0.0/}
23
+ mkdir -p $(dirname $dload_loc)
24
+ wget "$line" -O "$dload_loc"
25
+ done < urls.txt
26
  ```
27
 
28
+
29
  A smaller 1B-token sample of the dataset can be found [here](https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T-Sample).
30
 
31
  A full set of scripts to recreate the dataset from scratch can be found [here](https://github.com/togethercomputer/RedPajama-Data).