File size: 865 Bytes
e4b827b
 
 
 
 
 
 
 
 
 
 
 
 
 
3f70adb
 
 
 
 
 
 
 
e4b827b
 
 
 
 
 
 
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
---
license: cc0-1.0
---

## OpenWebText

This is the arrow format of [OpenWebText dataset](https://skylion007.github.io/OpenWebTextCorpus/) so that it can easily be used with HuggingFace APIs without any need for pre-processing.


## Usage
This is the dataset that can be used with Andrej Karpathy's [NanoGPT](https://github.com/karpathy/nanoGPT) as well as @sytelus [NanuGPU](https://github.com/sytelus/nanuGPT) to reproduce GPT-2 series of model.

For more info on reproducing GPT-2 with NanuGPT code, [see here](https://github.com/sytelus/nanuGPT/blob/main/docs/openwebtext.md).

Simple dataset loading:

```python
from datasets import load_dataset
dataset = load_dataset("sytelus/openwebtext")
```


## Statistics

```text
Number of documents: 8013769
tokens: 9040017095 (using tiktoken GPT2 tokenizer, vocab size 50257)
Size on disk: 39,770,909,229 bytes
```