Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- de
|
| 5 |
+
- es
|
| 6 |
+
- fr
|
| 7 |
+
tags:
|
| 8 |
+
- pretraining
|
| 9 |
+
- multilingual
|
| 10 |
+
- language-model
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# MonoWeb Models
|
| 14 |
+
|
| 15 |
+
Pretrained language models released alongside the paper:
|
| 16 |
+
|
| 17 |
+
> **[The Role of Mixed-Language Documents for Multilingual Large Language Model Pretraining](https://arxiv.org/pdf/2601.00364)**
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
Associated dataset: [UCLNLP/monoweb-dataset](https://huggingface.co/datasets/UCLNLP/monoweb-dataset)
|
| 21 |
+
|
| 22 |
+
## Model Details
|
| 23 |
+
|
| 24 |
+
All models are decoder-only transformers with **1.35B parameters**, trained from scratch using the Llama-2 tokenizer (32K vocabulary). Architecture: 24 layers, hidden dimension 2048, 16 attention heads, context length 2048. Training was performed with Megatron-LM for ~143B tokens (34K steps).
|
| 25 |
+
|
| 26 |
+
## Model Variants
|
| 27 |
+
|
| 28 |
+
Models are organized by language pair and training data configuration:
|
| 29 |
+
|
| 30 |
+
| Folder | Language Pair | Training Data |
|
| 31 |
+
|---|---|---|
|
| 32 |
+
| `ckpt_exp_en_de_baseline` | English–German | FineWeb (full corpus, including bilingual docs) |
|
| 33 |
+
| `ckpt_exp_en_de_monoweb` | English–German | MonoWeb (bilingual docs removed) |
|
| 34 |
+
| `ckpt_exp_en_de_onlyparallel` | English–German | MonoWeb + parallel docs reintroduced |
|
| 35 |
+
| `ckpt_exp_en_de_onlycodeswitch` | English–German | MonoWeb + code-switching docs reintroduced |
|
| 36 |
+
| `ckpt_exp_en_es_baseline` | English–Spanish | FineWeb (full corpus, including bilingual docs) |
|
| 37 |
+
| `ckpt_exp_en_es_monoweb` | English–Spanish | MonoWeb (bilingual docs removed) |
|
| 38 |
+
| `ckpt_exp_en_es_onlyparallel` | English–Spanish | MonoWeb + parallel docs reintroduced |
|
| 39 |
+
| `ckpt_exp_en_es_onlycodeswitch` | English–Spanish | MonoWeb + code-switching docs reintroduced |
|
| 40 |
+
| `ckpt_exp_en_fr_baseline` | English–French | FineWeb (full corpus, including bilingual docs) |
|
| 41 |
+
| `ckpt_exp_en_fr_monoweb` | English–French | MonoWeb (bilingual docs removed) |
|
| 42 |
+
| `ckpt_exp_en_fr_onlyparallel` | English–French | MonoWeb + parallel docs reintroduced |
|
| 43 |
+
| `ckpt_exp_en_fr_onlycodeswitch` | English–French | MonoWeb + code-switching docs reintroduced |
|
| 44 |
+
|
| 45 |
+
Each folder contains checkpoints saved every 2,000 steps from `iter_2000` to `iter_36000` (18 checkpoints per model).
|
| 46 |
+
|