|
--- |
|
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] |
|
--> |