Datasets:

Modalities:
Text
ArXiv:
Tags:
RedPajama-Data-V2 / README.md
Maurice Weber
initial commit
cb715ae
metadata
task_categories:
  - text-generation
language:
  - en
  - de
  - fr
  - es
  - it
pretty_name: Red Pajama V2 Data Foundation

Getting Started

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:

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

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.

Dataset Summary

TODO: Write a sentence about the dataset

Languages

English, German, French, Italian, Spanish

Dataset Structure

The dataset structure is as follows:

{
  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.