Datasets:

Modalities:
Text
ArXiv:
Libraries:
Datasets
File size: 2,394 Bytes
cb715ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
task_categories:
  - text-generation
language:
  - en
  - de
  - fr
  - es
  - it
pretty_name: Red Pajama V2 Data Foundation
---

### Getting Started

```python
from datasets import load_dataset

ds = load_dataset("togethercomputer/RedPajama-Data-V2", name="en-head-middle-all") 
```

Or you can directly download the files using the following command:

```bash
wget 'https://data.together.xyz/redpajama-data-v2/v1.0.0/urls.txt'
while read line; do
    dload_loc=${line#https://data.together.xyz/redpajama-data-v2/v1.0.0/}
    mkdir -p $(dirname $dload_loc)
    wget "$line" -O "$dload_loc"
done < urls.txt
```

After downloading the files, you can load the dataset from disk by setting the `RED_PAJAMA_DATA_DIR` environment
variable XXXX TODO XXX

A smaller sample of the dataset can be downloaded via

```python
from datasets import load_dataset

ds = load_dataset("togethercomputer/RedPajama-Data-V2", name="en-sample")
```

A full set of scripts to recreate the dataset from can be
found [here](https://github.com/togethercomputer/RedPajama-Data).

### Dataset Summary

TODO: Write a sentence about the dataset

### Languages

English, German, French, Italian, Spanish

## Dataset Structure

The dataset structure is as follows:

```json
{
  TODO
}
```

## Dataset Creation

XXXX

### Commoncrawl
TODO

To cite RedPajama, please use:

```
@software{together2023redpajama,
  author = {Together Computer},
  title = {RedPajama-Data-v2: a living data foundation for training open LLM models},
  month = October,
  year = 2023,
  url = {https://github.com/togethercomputer/RedPajama-Data}
}
```

### License

TODO: double check this

Please refer to the licenses of the data subsets you use.

* [Common Crawl Foundation Terms of Use](https://commoncrawl.org/terms-of-use/full/)

<!--
### Annotations
#### Annotation process
[More Information Needed]
#### Who are the annotators?
[More Information Needed]
### Personal and Sensitive Information
[More Information Needed]
## Considerations for Using the Data
### Social Impact of Dataset
[More Information Needed]
### Discussion of Biases
[More Information Needed]
### Other Known Limitations
[More Information Needed]
## Additional Information
### Dataset Curators
[More Information Needed]
### Licensing Information
[More Information Needed]
### Citation Information
[More Information Needed]
### Contributions
[More Information Needed]
-->