Manuscript Offprint

arXiv:2610.13134

Neurograf v1: An End-to-End Romanian-First Language Model Family

Ionut Adrian Rotaru

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ionut Adrian ROTARU 1^{1}

Romania reports the lowest rate of enterprise artificial-intelligence adoption in the European Union. Romanian users are served predominantly by multilingual models whose training data and tokenization are centered on higher-resource languages, increasing the cost and complexity of small, locally deployed systems.

We present Neurograf v1, an experimental end-to-end Romanian-first language-model pipeline developed to study how a Romanian-centered system behaves when the corpus, tokenizer, pre-training, instruction tuning and embedding stages are designed together from scratch. The prototype comprises RoSfera, a 635 GB Romanian pre-training corpus containing 175.7 million documents and 92.4 billion words; an 80k byte-level BPE tokenizer selected through a 21-point vocabulary-size sweep; five decoder-only base models from 160M to 6B parameters trained on the same 131-billion-token stream; three supervised fine-tuned assistants trained on 178,502 synthetic Romanian instruction entries spanning approximately 400k conversational turns; and two contrastively post-trained embedding models. The full pipeline was trained and evaluated using computing infrastructure at ELI-NP/IFIN-HH.

The controlled model family exhibits regular scaling of validation loss and substantial growth in Romanian factual and cultural knowledge with model size. On the 1,000-question WWTBM Romanian benchmark, Neurograf-6B reaches 69.89% accuracy on Romanian-context questions, compared with 53.05% for RoLlama2-7B, while Neurograf-3.2B reaches 67.38%, compared with 55.20% for LLMic_v2-3B. These external comparisons are contextual rather than controlled, but indicate that models trained from scratch within the Romanian-first pipeline can reach competitive capability at modest scale. Compute-optimal analysis additionally yields a parameter-scaling exponent of approximately 0.423 over the measured regime.

Neurograf v1 is intended as an experimental demonstrator rather than a production system. The experiments identify practical constraints in Romanian-first model construction, including diacritic degradation, heterogeneous web quality, limited leverage from oversampling small curated sources, and language-dependent tokenization effects, while also showing that the pretrained bases can be converted into instruction-following assistants and semantic embedding models. The lessons learned here are intended to guide a future production-oriented Neurograf system for efficient local Romanian-language deployment, including document retrieval, administrative assistance and other public-sector digitalization tasks.

1^{1} Extreme Light Infrastructure Nuclear Physics, Horia Hulubei National Institute for R & D in Physics and Nuclear Engineering, 077125 Bucharest-Magurele, Romania

Table of contents

  1. Introduction.....5
  2. The RoSfera Corpus.....10
    2.1 On measuring corpus size.....10
    2.2 Sources.....10
    2.3 Measurement protocol.....11
    2.3.1. Lexical productivity.....11
    2.3.2. Romanian Fidelity Index.....12
    2.4 Curriculum construction.....13
    2.5 Diacritic degradation.....14
    2.5.1 Diacritic loss destroys word types.....14
    2.5.2 The dual burden this imposes on the model.....15
    2.5.3 What the RFI does not measure.....16
    2.6 Lexical productivity and heterogeneity.....17
    2.7 Source geometry in the fidelity–productivity plane.....18
    2.8 Limits of oversampling in a web-dominated low-resource corpus.....21
  3. Tokenizer.....21
    3.1 Setup.....22
    3.2 The encoding tax.....22
    3.3 Compression, and where the languages cross.....23
    3.4 How much vocabulary each language needs.....27
    3.5 What the vocabularies contain.....28
    3.6 Saturation.....31
    3.7 The asymmetry of the wrong tokenizer.....34
    3.8 Choosing 80k.....36

3.9 The production tokenizer.....37
3.10 Limitations.....39
4. Pretraining.....40
4.1 Architecture and implementation.....41
4.2 Training configuration.....42
4.3 Infrastructure and utilization.....44
4.4 Training dynamics and stability.....46
4.5 A fixed-data scaling law.....48
4.6 Compute-optimal scaling.....50
5. Base-Model Capability and Knowledge Scaling.....54
5.1 Evaluation methodology.....55
5.2 Early acquisition of Romanian grammar.....57
5.3 Factual knowledge acquisition during pre-training.....58
5.4 Scaling of final WWTBM accuracy.....60
5.5 Topic-dependent knowledge scaling.....62
5.6 Prediction churn across pre-training.....64
5.7 External Romanian base-model comparison.....66
5.8 Discussion.....68
6. Synthetic Instruction Data and Supervised Fine-Tuning.....69
6.1 The generation pipeline.....69
6.1.1. Seed extraction.....70
6.1.2. First expansion.....70
6.1.3. Second expansion.....70
6.1.4. Instruction generation.....71
6.1.5. What the corpus does and does not ground.....71
6.2 Taxonomy and coverage.....72
6.3 Task-type mixing.....74

6.4 Curriculum assembly. .....75
6.5 Training setup and the paired design. .....76
6.6 Batch size. .....78
6.7 Learning rate. .....80
6.8 Model scale. .....82
6.9 Convergence and residual structure. .....84
7. Embedding Models .....85
7.1 Contrastive pair construction. .....86
7.2 Embedding architecture and training setup. .....87
7.3 Contrastive training dynamics. .....89
7.4 Initial representation collapse. .....91
7.5 Escaping the initial collapse. .....93
7.6 Compute cost and metric saturation. .....94
7.7 Qualitative semantic geometry at the final checkpoints. .....95
8. Conclusions and Future Work .....98
8.1 Lessons from a Romanian-first model family. .....98
8.2 Toward a production Neurograf. .....103
8.3 Final perspective. .....104
Acknowledgements. .....105
References. .....105
Appendix A: Romanian Text Curation .....109
A.1 Lite curation. .....109
A.2 Medium curation. .....110
A.3 Heavy curation. .....111
Appendix B: Base Model Samples .....112
B.1 Fixed completion probes. .....112
B.2 Free-form generation. .....114

B.3 What the samples show.....115
Appendix C: Supervised Fine-Tuned Model Samples.....116
C.1 Instruction following and constraint preservation.....117
C.2 Multi-turn response-format persistence.....119
C.3 Romanian cultural and general-purpose generation.....121
C.4 Interpretation.....124
Appendix D: Qualitative Embedding Probe.....126
D.1 Fixed passage set.....126
D.2 Intended semantic relationships.....127
D.3 Scope and limitations.....128

References (36)