File size: 1,881 Bytes
285de82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c6d8fc1
 
285de82
 
 
 
 
 
 
 
 
 
 
 
 
c6d8fc1
 
 
285de82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
task_categories:
  - text-generation
language:
  - en
  - de
  - fr
  - es
  - zh
  - ja
  - ru
  - pt
  - it
  - nl
  - ar
tags:
  - forge-3b
  - pretraining
  - tokenized
  - packed
size_categories:
  - 10B<n<100B
---

# FORGE-3B Pretraining Data

Tokenized and packed pretraining data for the FORGE-3B language model.

## Stats
- **Total tokens**: 36.6291B
- **Domains**: 10/10
- **Sequence length**: 2048 tokens
- **Format**: `.npy` shards of shape `(N, 2048)` with dtype `uint32`
- **Tokenizer**: CRAYON (xerv-crayon, standard profile)

## Domain Breakdown

| Domain | Weight | Tokens (B) | Status |
|:-------|-------:|-----------:|:------:|
| fineweb_edu | 30% | 8.9829 | ✓ |
| thestack | 16% | 5.7630 | ✓ |
| wikipedia | 8% | 4.2791 | ✓ |
| openwebmath | 8% | 3.9654 | ✓ |
| books | 7% | 2.7678 | ✓ |
| arxiv | 6% | 6.6620 | ✓ |
| dolma | 10% | 1.7980 | ✓ |
| stackexchange | 5% | 0.3233 | ✓ |
| redpajama_cc | 6% | 1.0675 | ✓ |
| multilingual | 4% | 1.0200 | ✓ |

## Usage

```python
import numpy as np
from huggingface_hub import hf_hub_download

# Download a shard
path = hf_hub_download(
    repo_id="Phase-Technologies/forge-3b-pretrain-data",
    filename="fineweb_edu/train_shard_0000.npy",
    repo_type="dataset",
)
data = np.load(path)  # shape: (50000, 2048), dtype: uint32
```

## Structure
```
Phase-Technologies/forge-3b-pretrain-data/
├── fineweb_edu/     (30%, 15B tokens)
├── thestack/        (16%, 8B tokens)
├── wikipedia/       (8%, 4B tokens)
├── openwebmath/     (8%, 4B tokens)
├── books/           (7%, 3.5B tokens)
├── arxiv/           (6%, 3B tokens)
├── dolma/           (10%, 5B tokens)
├── stackexchange/   (5%, 2.5B tokens)
├── redpajama_cc/    (6%, 3B tokens)
├── multilingual/    (4%, 2B tokens)
└── preprocessing_manifest.json
```