Update license information, fix typos
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ pretty_name: Red Pajama V2 Data Foundation
|
|
| 12 |
|
| 13 |
### Getting Started
|
| 14 |
|
| 15 |
-
The full RedPajama-V2 dataset is a data foundation that includes
|
| 16 |
snapshots and processed using the [CCNet](https://github.com/facebookresearch/cc_net) pipeline. Out of these, there are
|
| 17 |
30B documents in the corpus that additionally come with quality signals.
|
| 18 |
|
|
@@ -26,9 +26,9 @@ from datasets import load_dataset
|
|
| 26 |
ds = load_dataset("togethercomputer/RedPajama-Data-V2", name="sample")
|
| 27 |
```
|
| 28 |
|
| 29 |
-
Alternatively, you can also directly download the files using the following instructions, using
|
| 30 |
`2023-06` snapshot and the `head_middle` partition as an example. The full set of CC snapshots included in the dataset
|
| 31 |
-
is given in `_CC_SNAPSHOT_IDS`, and the available partitions are `tail
|
| 32 |
`en`, `de`, `fr`, `es`, `it`.
|
| 33 |
|
| 34 |
```bash
|
|
@@ -61,12 +61,12 @@ done
|
|
| 61 |
|
| 62 |
```
|
| 63 |
|
| 64 |
-
A full set of scripts to recreate the dataset including the quality signals can be
|
| 65 |
found [here](https://github.com/togethercomputer/RedPajama-Data).
|
| 66 |
|
| 67 |
### Dataset Summary
|
| 68 |
|
| 69 |
-
RedPajama-V2 is a data foundation
|
| 70 |
quality annotations.
|
| 71 |
|
| 72 |
### Languages
|
|
@@ -75,7 +75,7 @@ English, German, French, Italian, Spanish
|
|
| 75 |
|
| 76 |
## Dataset Structure
|
| 77 |
|
| 78 |
-
The
|
| 79 |
|
| 80 |
```
|
| 81 |
├── documents
|
|
@@ -156,7 +156,9 @@ where signal scores are encoded as list of tuple `(start, end, score)`, where `s
|
|
| 156 |
|
| 157 |
## Dataset Creation
|
| 158 |
|
| 159 |
-
The dataset is based on 84 snapshots provided by
|
|
|
|
|
|
|
| 160 |
|
| 161 |
To cite RedPajama-V2, please use:
|
| 162 |
|
|
@@ -170,11 +172,10 @@ To cite RedPajama-V2, please use:
|
|
| 170 |
}
|
| 171 |
```
|
| 172 |
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
Please refer to the licenses of the data subsets you use.
|
| 176 |
|
| 177 |
-
|
|
|
|
| 178 |
|
| 179 |
<!--
|
| 180 |
### Annotations
|
|
|
|
| 12 |
|
| 13 |
### Getting Started
|
| 14 |
|
| 15 |
+
The full RedPajama-V2 dataset is a data foundation that includes over 100B text documents coming from 84 CommonCrawl
|
| 16 |
snapshots and processed using the [CCNet](https://github.com/facebookresearch/cc_net) pipeline. Out of these, there are
|
| 17 |
30B documents in the corpus that additionally come with quality signals.
|
| 18 |
|
|
|
|
| 26 |
ds = load_dataset("togethercomputer/RedPajama-Data-V2", name="sample")
|
| 27 |
```
|
| 28 |
|
| 29 |
+
Alternatively, you can also directly download the files using the following instructions, using English data from the
|
| 30 |
`2023-06` snapshot and the `head_middle` partition as an example. The full set of CC snapshots included in the dataset
|
| 31 |
+
is given in `_CC_SNAPSHOT_IDS`, and the available partitions are `tail` and `head_middle`. The available language tags are
|
| 32 |
`en`, `de`, `fr`, `es`, `it`.
|
| 33 |
|
| 34 |
```bash
|
|
|
|
| 61 |
|
| 62 |
```
|
| 63 |
|
| 64 |
+
A full set of scripts to recreate the dataset, including the quality signals, can be
|
| 65 |
found [here](https://github.com/togethercomputer/RedPajama-Data).
|
| 66 |
|
| 67 |
### Dataset Summary
|
| 68 |
|
| 69 |
+
RedPajama-V2 is a data foundation that includes over 100B text documents, out of which 30B documents come with
|
| 70 |
quality annotations.
|
| 71 |
|
| 72 |
### Languages
|
|
|
|
| 75 |
|
| 76 |
## Dataset Structure
|
| 77 |
|
| 78 |
+
The dataset is structured into four components, each following the same key structure:
|
| 79 |
|
| 80 |
```
|
| 81 |
├── documents
|
|
|
|
| 156 |
|
| 157 |
## Dataset Creation
|
| 158 |
|
| 159 |
+
The dataset is based on 84 snapshots provided by Common Crawl.
|
| 160 |
+
|
| 161 |
+
## Citation
|
| 162 |
|
| 163 |
To cite RedPajama-V2, please use:
|
| 164 |
|
|
|
|
| 172 |
}
|
| 173 |
```
|
| 174 |
|
| 175 |
+
## License
|
|
|
|
|
|
|
| 176 |
|
| 177 |
+
Please refer to the [Common Crawl Foundation Terms of Use](https://commoncrawl.org/terms-of-use) for the data.
|
| 178 |
+
The code used to load and process the dataset is licensed under the Apache 2.0 license.
|
| 179 |
|
| 180 |
<!--
|
| 181 |
### Annotations
|