Datasets:

ArXiv:
Maurice Weber commited on
Commit
43250a0
1 Parent(s): 923e66a

fix README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -48,7 +48,7 @@ are `en`, `de`, `fr`, `es`, `it`.
48
  CC_SNAPSHOT="2023-06"
49
  LANG="en"
50
  PARTITION="head_middle"
51
- BASE_URL="https://data.together.xyz/redpajama-data-v2/v1.0.0/"
52
 
53
  listings_file="${LANG}-${CC_SNAPSHOT}-${PARTITION}.txt"
54
  wget "${BASE_URL}/listings/${listings_file}"
@@ -58,8 +58,8 @@ while read line; do
58
  url="${BASE_URL}/documents/${line}.json.gz"
59
  dest="documents/${line}.json.gz"
60
  mkdir -p $(dirname $dest)
61
- wget "$line" -O "$dest"
62
- done <"${LANG}-${CC_SNAPSHOT}-${PARTITION}.txt"
63
 
64
  # download other components
65
  COMPS=("quality_signals" "minhash" "duplicates")
@@ -68,8 +68,8 @@ for comp in "${COMPS[@]}"; do
68
  url="${BASE_URL}/${comp}/${line}.${comp}.json.gz"
69
  dest="${comp}/${line}.${comp}.json.gz"
70
  mkdir -p $(dirname $dest)
71
- wget "$line" -O "$dest"
72
- done <"${LANG}-${CC_SNAPSHOT}-${PARTITION}.txt"
73
  done
74
 
75
  ```
 
48
  CC_SNAPSHOT="2023-06"
49
  LANG="en"
50
  PARTITION="head_middle"
51
+ BASE_URL="https://data.together.xyz/redpajama-data-v2/v1.0.0"
52
 
53
  listings_file="${LANG}-${CC_SNAPSHOT}-${PARTITION}.txt"
54
  wget "${BASE_URL}/listings/${listings_file}"
 
58
  url="${BASE_URL}/documents/${line}.json.gz"
59
  dest="documents/${line}.json.gz"
60
  mkdir -p $(dirname $dest)
61
+ wget "$urls" -O "$dest"
62
+ done <"$listings_file"
63
 
64
  # download other components
65
  COMPS=("quality_signals" "minhash" "duplicates")
 
68
  url="${BASE_URL}/${comp}/${line}.${comp}.json.gz"
69
  dest="${comp}/${line}.${comp}.json.gz"
70
  mkdir -p $(dirname $dest)
71
+ wget "$url" -O "$dest"
72
+ done <"$listings_file"
73
  done
74
 
75
  ```