Datasets:

Modalities:
Text
ArXiv:
Tags:
Maurice Weber commited on
Commit
bc6bd35
1 Parent(s): bbd9b4f

update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -0
README.md CHANGED
@@ -47,6 +47,8 @@ Alternatively, you can also directly download the files using the following inst
47
  is given in `_CC_SNAPSHOT_IDS`, and the available partitions are `tail` and `head_middle`. The available language tags
48
  are `en`, `de`, `fr`, `es`, `it`.
49
 
 
 
50
  ```bash
51
  CC_SNAPSHOT="2023-06"
52
  LANG="en"
@@ -66,6 +68,21 @@ while read line; do
66
  wget "$url" -O "$dest"
67
  done <"$listings_file"
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  # download quality signals
70
  while read line; do
71
  url="${BASE_URL}/quality_signals/${line}.signals.json.gz"
 
47
  is given in `_CC_SNAPSHOT_IDS`, and the available partitions are `tail` and `head_middle`. The available language tags
48
  are `en`, `de`, `fr`, `es`, `it`.
49
 
50
+ To download the plain text data, available for both the `head_middle` and `tail` partitions, you can run
51
+
52
  ```bash
53
  CC_SNAPSHOT="2023-06"
54
  LANG="en"
 
68
  wget "$url" -O "$dest"
69
  done <"$listings_file"
70
 
71
+ ```
72
+
73
+ In addition, for the `head_middle` partition, you can also download the quality signals, minhash signatures and
74
+ duplicate ids using the following commands:
75
+
76
+ ```bash
77
+ CC_SNAPSHOT="2023-06"
78
+ LANG="en"
79
+ BASE_URL="https://data.together.xyz/redpajama-data-v2/v1.0.0"
80
+
81
+ listings_tag="${LANG}-${CC_SNAPSHOT}-head_middle"
82
+ mkdir listings
83
+ wget "${BASE_URL}/listings/${listings_tag}.txt" -O "listings/${listings_tag}.txt"
84
+ listings_file="listings/${listings_tag}.txt"
85
+
86
  # download quality signals
87
  while read line; do
88
  url="${BASE_URL}/quality_signals/${line}.signals.json.gz"