daVinci-LLM:Towards the Science of Pretraining
Organizations: SII · SJTU · GAIR
Abstract
The foundational pretraining phase determines a model's capability ceiling, as post-training struggles to overcome capability foundations established during pretraining, yet it remains critically under-explored. This stems from a structural paradox: organizations with computational resources operate under commercial pressures that inhibit transparent disclosure, while academic institutions possess research freedom but lack pretraining-scale computational resources. daVinci-LLM occupies this unexplored intersection, combining industrial-scale resources with full research freedom to advance the science of pretraining. We adopt a fully-open paradigm that treats openness as scientific methodology, releasing complete data processing pipelines, full training processes, and systematic exploration results. Recognizing that the field lacks systematic methodology for data processing, we employ the Data Darwinism framework, a principled L0-L9 taxonomy from filtering to synthesis. We train a 3B-parameter model from random initialization across 8T tokens using a two-stage adaptive curriculum that progressively shifts from foundational capabilities to reasoning-intensive enhancement. Through 200+ controlled ablations, we establish that: processing depth systematically enhances capabilities, establishing it as a critical dimension alongside volume scaling; different domains exhibit distinct saturation dynamics, necessitating adaptive strategies from proportion adjustments to format shifts; compositional balance enables targeted intensification while preventing performance collapse; how evaluation protocol choices shape our understanding of pretraining progress. By releasing the complete exploration process, we enable the community to build upon our findings and systematic methodologies to form accumulative scientific knowledge in pretraining.
Figures & tables
| Dimension | Llama 3 | Qwen 3 | YuLan | OLMo 3 | daVinci | |
| Model Artifacts | Model Weights | |||||
| Training Code | ||||||
| Training Logs | ||||||
| Intermediate Checkpoints | ||||||
| Data Openness | Data Composition | |||||
| Processing Pipeline |
| Data Source | Pool Size | Level | Stage 1 | Stage 2 | ||
| Stage 1-1 | Stage 1-2 | Stage 2-1 | Stage 2-2 | |||
| General | 4.28T | 2.73T (68.2%) | 1.11T (55.42%) | 100B (10%) | 188.4B (18.84%) | |
| Nemotron-CC-v1 | 4.28T | L3 | ✓ | ✓ | ✓ | ✓ |
| Code | 598B | 381B (9.53%) | 233B (11.66%) | 300 (30%) | 26.1B (2.61%) | |
| Self-Crawled GitHub | 187B | L3 | ✓ | ✓ | ✓ | ✓ |
| Nemotron-Pretraining-Code-v1-non-synthetic | 220B | L3 | ✓ | ✓ | ✓ | ✓ |
| Data Source | General | Code | Science |
| Nemotron-CC-v1 Synthetic QA (492B) | |||
| Nemotron-Pretraining-SFT-v1-General (12B) | |||
| Nemotron-Pretraining-SFT-v1-Code (21B) | |||
| Llama-Nemotron-Post-Training-Code (5B) | |||
| Nemotron-Pretraining-SFT-v1-Math (138B) | |||
| Llama-Nemotron-Post-Training-Math-RS (10B) |
| Parameters | 3.09B | MLP intermediate size | 11008 |
| Layers) | 36 | Activation function | SwiGLU |
| Hidden size | 2048 | Positional encoding | RoPE (base ) |
| Attention heads | 16 | Max position embeddings | 4096 |
| KV heads (GQA) | 2 | Normalization | RMSNorm ( ) |
| Head dimension | 128 | Tokenizer | Qwen2 tokenizer |
| Vocab size | 151936 | Precision | bfloat16 |
| Stage 1 | Stage 2 | |||
| Stage 1-1 | Stage 1-2 | Stage 2-1 | Stage 2-2 | |
| Training Tokens | 4 Trillion | 2 Trillion | 1 Trillion | 1 Trillion |
| Global Batch Size | 1024 2048 4096 | 4096 | 4096 | 4096 |
| Rotatory Base | 10000 | 10000 | 10000 | 10000 |
| Sequence Length | 4096 | 4096 | 4096 | 4096 |
| Precision | bfloat16 | bfloat16 | bfloat16 | bfloat16 |
| Fully-open Models | Open-weight Models | ||||||||
| Domain | Benchmark | daVinci 3B | OLMO-3 7B | OLMO-2 7B | Yulan 2.4B | LLaMa-3.2 3B | Qwen-2.5 3B | Qwen-3 4B | Qwen-3.5 4B |
| General | MMLU | 62.53 | 66.53 | 65.93 | 50.70 | 54.91 | 65.73 | 75.35 | 72.75 |
| MMLU-Pro | 43.50 | 35.70 | 28.40 | 23.90 | 24.50 | 39.00 | 54.10 | 53.50 | |
| AGIEval | 26.77 | 33.75 | 31.78 | 28.22 | 22.72 | 37.15 | 45.87 | 44.89 | |
| HellaSwag | 71.17 | 74.15 | 80.50 | 68.56 | 73.60 | 73.60 | 73.75 | 75.29 | |
| TriviaQA | 49.90 | 55.45 | 68.01 | 27.64 | 55.22 | 51.20 | 47.44 | 49.80 | |
| Configuration | HumanEval | EvalPlus | MBPP | Avg Gen. | Avg Code | Avg Sci. | Overall |
| Rule-Based Filtering (L2) | 54.43 | 48.58 | 42.40 | 51.12 | 48.47 | 40.14 | 46.66 |
| Model-Based Filtering (L3) | 54.70 | 48.39 | 45.80 | 51.19 | 49.63 | 40.28 | 46.93 |
| (L3 – L2) | +0.27 | -0.19 | +3.40 | +0.07 | +1.16 | +0.14 | +0.27 |
| Configuration | GSM-8K | GSM-Plus | MATH | Avg Gen. | Avg Code | Avg Sci. | Overall |
| Baseline | 64.06 | 40.58 | 38.00 | 51.69 | 49.80 | 40.52 | 47.27 |
| Generative Refined (L4) | 65.43 | 42.38 | 45.00 | 51.40 | 50.15 | 42.25 | 47.83 |
| (L4 – Baseline) | +1.37 | +1.80 | +7.00 | -0.29 | +0.35 | +1.73 | +0.56 |
| Configuration | Training Tokens | General | Code | Science | Overall |
| QA-30% | 84B | 51.59 | 47.71 | 40.25 | 46.80 |
| 252B | 51.66 | 46.79 | 40.03 | 46.61 | |
| 419B | 51.80 | 47.16 | 40.59 | 46.94 | |
| QA-50% | 84B | 51.72 | 49.86 | 41.60 | 47.70 |
| 252B | 51.85 | 49.01 | 42.80 | 48.06 | |
| 419B | 51.83 | 49.89 | 43.42 | 48.43 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Configuration | Avg General | Avg Code | Avg Science | Overall Avg |
| Constant LR | 52.06 | 52.32 | 45.44 | 49.66 |
| Cosine decay | 52.49 | 53.31 | 45.39 | 50.00 |
| (decay - constant) | +0.43 | +0.99 | -0.05 | +0.34 |
Language Model Pretraining
Language model pretraining teaches models language patterns and knowledge from large text corpora before they are adapted to specific tasks.
See all 440 papers