Merge branch 'main' of https://huggingface.co/datasets/togethercomputer/RedPajama-Data-1T
Browse files
README.md
CHANGED
@@ -9,16 +9,23 @@ pretty_name: Red Pajama 1T
|
|
9 |
|
10 |
The dataset consists of 2084 jsonl files.
|
11 |
You can download the dataset using HuggingFace:
|
12 |
-
```
|
13 |
from datasets import load_dataset
|
14 |
ds = load_dataset("togethercomputer/RedPajama-Data-1T")
|
15 |
```
|
16 |
|
17 |
Or you can directly download the files using the following command:
|
|
|
18 |
```
|
19 |
-
wget
|
|
|
|
|
|
|
|
|
|
|
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).
|
@@ -46,7 +53,7 @@ Primarily English, though the Wikipedia slice contains multiple languages.
|
|
46 |
|
47 |
The dataset structure is as follows:
|
48 |
|
49 |
-
```
|
50 |
{
|
51 |
"text": ...,
|
52 |
"meta": {"url": "...", "timestamp": "...", "source": "...", "language": "...", ...},
|
|
|
9 |
|
10 |
The dataset consists of 2084 jsonl files.
|
11 |
You can download the dataset using HuggingFace:
|
12 |
+
```python
|
13 |
from datasets import load_dataset
|
14 |
ds = load_dataset("togethercomputer/RedPajama-Data-1T")
|
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).
|
|
|
53 |
|
54 |
The dataset structure is as follows:
|
55 |
|
56 |
+
```json
|
57 |
{
|
58 |
"text": ...,
|
59 |
"meta": {"url": "...", "timestamp": "...", "source": "...", "language": "...", ...},
|