Report field | Value |
|---|---|
Programme | W-1.1 language-model research |
Phase | 5 — Project Insight |
Status | Complete |
Experiments reviewed | Four |
Exact raw log available | Spectrum |
Prepared for | Final-model planning |
Author | Wasif |
Report date | 17 August 2026 |
1. Executive Summary
Project Insight consolidates the evidence from four W-1.1 experiments: the Tiny Prototype, Project Tazi, Project Spark and Project Spectrum. It separates engineering success from language quality and uses only recorded measurements; unavailable values remain explicitly marked as not recorded.
Spectrum provides the strongest raw evidence because its JSONL log contains 80 unique evaluation steps after duplicate early records are resolved. Its final loss was 3.5749 training and 3.6465 validation. Its best validation loss was 3.6282 at step 19,000.
Across the programme, data quality and domain focus affected output quality more visibly than small differences in parameter count. Tazi learned broad English patterns from noisy web text but generated weak semantics. Spark achieved the best fluency inside its narrow story domain. Spectrum broadened domain coverage but produced dated encyclopedic style, repetition and factual-looking hallucinations.
Phase 5 verdict: The experimental programme successfully identified the pipeline, data, optimization and evaluation rules required before final-model design. Phase 6 may now begin, but the earlier 125M architecture document must be treated as a draft until its vocabulary, token budget and compute assumptions are re-evaluated. |
2. Evidence and Method
Evidence source | Use in this report | Reliability |
|---|---|---|
Tiny Prototype report | Architecture, purpose and qualitative observations | Documented; numerical run fields mostly blank |
Tazi report | Exact milestone losses, dataset counts and generation findings | Recorded milestones through step 19,200 |
Spark report | Architecture, validation milestones and fixed-prompt ratings | Best value recorded; full raw log unavailable |
Spectrum report | Configuration and generation observations | Retained unchanged by user request |
Spectrum JSONL log | Exact loss, LR, gradient norm, perplexity and elapsed time | Primary source for Spectrum metrics |
Spectrum log cleaning rule: the file contains 106 lines but only 80 unique steps. Steps 250–6,500 appear twice because a restarted run appended to the same log. Project Insight keeps the later occurrence for each duplicate step and does not average two different runs.
3. Programme Progression
Phase | Project | Primary research question | Outcome |
|---|---|---|---|
1 | Tiny Prototype | Does the end-to-end LM pipeline work? | Pipeline verified |
2 | Tazi | Can a ~17M model train stably on broad web text? | Stable baseline; weak semantics |
3 | Spark | Can focused clean stories improve fluency? | Strong domain fluency |
4 | Spectrum | What happens when data becomes broader again? | Readable broad prose; drift and hallucination |
5 | Insight | What should be learned before the final model? | Evidence consolidated |
Figure 1. Experimental parameter progression. Tazi and Spectrum use 17,366,784 parameters; Spark is reported as approximately 17.34M.
4. Architecture Comparison
Component | Tiny Prototype | Tazi | Spark | Spectrum |
|---|---|---|---|---|
Model type | GPT-style decoder | Decoder-only | Decoder-only | Decoder-only |
Parameters | ≈110K | 17,366,784 | ≈17.34M | 17,366,784 |
Tokenizer | Character | 8K BPE | 8K byte-level BPE | 8K tokenizer |
Context | Not finalized | 256 | 256 | 256 |
Layers | Small prototype | 8 | 8 | 8 |
Width | Small prototype | 384 | 384 | 384 |
Heads | Small prototype | 6 | 6 | 6 |
Dropout | Not recorded | Configured baseline | 0.10 | 0.10 |
5. Dataset and Compute Comparison
Project | Training corpus | Known token record | Hardware | Steps |
|---|---|---|---|---|
Tiny Prototype | Small local UTF-8 text | Not recorded | Windows CPU/NVIDIA if CUDA | Prototype runs |
Tazi | 500 MB OpenWebText subset | 120,490,409 train; 13,387,824 val | GTX 1650 4 GB | 19,200 reported; 20K target |
Spark | ≈500 MB TinyStories | Exact count not in supplied report | Tesla T4 | 20,000 |
Spectrum | Balanced multi-domain processed corpus | Exact corpus count not in supplied report | Tesla T4 | 20,000 |
5.1 Key Dataset Finding
Tazi and Spark were similar in model size, context and intended training length, yet their language quality differed sharply. Spark’s focused and simpler TinyStories distribution produced much lower validation loss and more coherent generation. This demonstrates that validation loss must be interpreted within each dataset rather than as a universal score across unrelated corpora.
Spectrum broadened the data distribution and consequently faced a harder prediction task. Its higher loss than Spark does not automatically mean that Spectrum is a worse general model; Spark’s very low loss is partly a consequence of its narrow, repetitive story domain.
6. Phase 1 — Tiny Prototype Findings
Area | Observation |
|---|---|
Purpose | Validate tokenization, forward pass, loss, backpropagation, checkpoints and generation. |
Scale | Approximately 110,000 parameters with character-level prediction. |
Success | Automated model test passed; loss decreased; checkpoint generation worked. |
Limitation | Tiny repeated data encouraged memorization and imperfect character sequences. |
Missing evidence | Initial/final losses, validation loss, definitive steps and dataset size were not filled in. |
Lesson | A pipeline test cannot be used to judge the quality of the planned 125M model. |
7. Phase 2 — Project Tazi Evaluation
Tazi established the first reproducible ~17M-parameter broad-web baseline. The preprocessing pipeline successfully encoded 500 MB without exhausting memory, and checkpoint resume recovered correctly after an interruption at step 15,500.
Figure 2. Tazi train and validation losses at the five milestones preserved in the Phase 2 report.
Metric | Recorded result |
|---|---|
Initial train / validation loss | 9.0489 / 9.0438 |
Latest supplied step | 19,200 |
Latest train / validation loss | 4.4489 / 4.3268 |
Validation perplexity | ≈75.7 |
Processed tokens planned across 20K steps | ≈40.96M |
Overfitting signal | No clear evidence in supplied milestones |
7.1 Tazi Generation Finding
Tazi learned spelling, punctuation and sentence-like structure, but prompt relevance and long-range meaning remained weak. Repetition and invented words appeared, especially in technical prompts. The experiment was technically successful but not ready for instruction tuning or production use.
8. Phase 3 — Project Spark Evaluation
Spark kept a similar compact architecture but moved to a clean, focused TinyStories corpus and a Tesla T4. It completed 20,000 updates and achieved the best recorded validation loss among the experiments, 1.4872.
Figure 3. Spark validation milestones reported in the Phase 3 document. Intermediate values are approximate statements from the report, not a reconstructed raw log.
Capability | Observed level | Evidence |
|---|---|---|
Grammar and punctuation | Good | Readable multi-paragraph stories and dialogue |
Narrative structure | Good | Beginning, action and moral endings |
Character consistency | Moderate | Usually stable briefly; later drift |
Entity tracking | Limited | Objects or creatures changed identity |
Causal reasoning | Limited | Events sometimes followed without a logical cause |
EOS behavior | Limited | A second story could begin after completion |
Spark’s overall qualitative rating was approximately 7/10 inside the TinyStories domain. This must not be interpreted as a score for general knowledge, coding, factuality or instruction following.
9. Phase 4 — Project Spectrum Evaluation
The exact cleaned Spectrum history covers 80 evaluation points from step 250 through 20,000. The final train loss was 3.574862; final validation loss was 3.646481; final perplexity was 38.3395.
Figure 4. Exact Spectrum loss curves after resolving duplicated early steps by retaining the later occurrence.
Spectrum metric | Exact log result |
|---|---|
Unique evaluation points | 80 |
Final step | 20,000 |
Final training loss | 3.574862 |
Final validation loss | 3.646481 |
Best validation loss | 3.628210 at step 19,000 |
Best validation perplexity | 37.6454 |
Final train–validation gap | 0.071619 |
Recorded elapsed time | 139.89 minutes (≈2 h 20 m) |
Source-of-truth note: The earlier Spectrum report remains unchanged as requested. Project Insight uses the JSONL log as the exact numerical source for Spectrum analysis. |
10. Spectrum Optimization Diagnostics
Figure 5. Exact Spectrum learning-rate schedule and recorded gradient norm across the cleaned run.
The learning rate warmed up and then decayed toward approximately 3×10⁻⁵. Gradient norms remained finite throughout the preserved records. The curve contains normal fluctuations but no NaN, infinity or catastrophic gradient explosion.
10.1 Generalization and Late-Stage Behavior
The best validation result occurred at step 19,000, while the final validation loss at step 20,000 was higher by 0.0183. This is a small late-stage regression, not severe overfitting. Best-checkpoint selection correctly preserved the stronger step-19,000 model.
11. Cross-Experiment Numerical Comparison
Figure 6. Best recorded validation losses for the three BPE experiments. Values are not directly comparable across different datasets.
Figure 7. Perplexity derived from each experiment’s best recorded validation loss. Dataset difficulty strongly affects these values.
Project | Best recorded validation loss | Derived perplexity | Interpretation |
|---|---|---|---|
Tazi | 4.3268 | 75.70 | Broad noisy web baseline |
Spark | 1.4872 | 4.42 | Very predictable narrow story domain |
Spectrum | 3.6282 | 37.65 | Broader multi-domain prediction task |
Comparison warning: lower loss does not automatically mean broader capability. Spark’s domain was simpler and more repetitive. Cross-domain model selection must combine held-out loss with fixed-prompt generation tests and domain-specific evaluation.
12. Generation Quality Comparison
Figure 8. Only Spark’s report preserved an overall numeric generation rating. Missing scores are shown as not recorded, not estimated.
Dimension | Tiny Prototype | Tazi | Spark | Spectrum |
|---|---|---|---|---|
Surface grammar | Very limited | Partial | Good | Good |
Prompt relevance | Very limited | Weak | Good in stories | Medium initially |
Long coherence | Very limited | Weak | Moderate | Low–medium |
Repetition control | Weak | Weak | Improved | Inconsistent |
Entity tracking | Not established | Weak | Limited | Limited |
Factual reliability | Not applicable | Unreliable | Not a factual domain | Unreliable |
Best use | Pipeline testing | Web baseline | Story baseline | Broad-data baseline |
12.1 Central Interpretation
The experiments show a progression from engineering validity to surface fluency, but none demonstrates reliable reasoning, factual accuracy or instruction following. The final model must therefore be evaluated as a base language model first; chat behavior should be added only after pretraining quality is established.
13. Overfitting, Underfitting and Stability
Project | Evidence | Assessment |
|---|---|---|
Tiny Prototype | Tiny repeated text; rapid loss reduction | High memorization risk; insufficient validation evidence |
Tazi | Train and validation losses both improved and stayed close | No clear overfitting in recorded milestones; likely capacity/data underfit |
Spark | Validation improved to 1.4872 with short temporary rises | Late plateau and evaluation noise; best checkpoint appropriate |
Spectrum | Best val 3.6282 at 19K; final 3.6465 at 20K | Small late regression; no severe overfitting |
Underfitting was the larger programme-wide limitation. The ~17M models learned distributional style but lacked capacity and/or sufficient high-quality token exposure for stable semantics, factual knowledge and long-context behavior.
14. What Worked
- A complete tokenizer → preprocessing → training → checkpoint → generation pipeline.
- Memory-mapped uint16 token arrays for large processed datasets.
- Warm-up, cosine learning-rate decay, AdamW, mixed precision and gradient clipping.
- Best and latest checkpoints with interruption recovery.
- Focused clean data for rapidly improving domain-specific fluency.
- Fixed-prompt qualitative testing alongside numerical validation loss.
- Preserving the tokenizer and configuration with each checkpoint.
15. What Did Not Work or Remains Weak
- Judging capability from loss alone; low domain loss did not guarantee reasoning or broad knowledge.
- Noisy broad data at small scale produced grammatical but semantically weak completions.
- Missing explicit document boundaries and EOS stopping caused continuation into new documents or stories.
- Long generations amplified repetition, topic drift and entity confusion.
- Early experiment records did not always preserve complete raw logs, timing and GPU-memory metrics.
- Generated names, dates and facts looked plausible but were unreliable.
- The 256-token context restricted long-range learning and evaluation.
16. Requirements Derived for the Final Model
Area | Requirement established by Phase 5 |
|---|---|
Data | Quality filtering, deduplication, provenance, balanced domains and explicit EOS/document boundaries. |
Tokenizer | Freeze once; archive vocabulary, merges, special IDs and hash with every checkpoint. |
Architecture | Increase capacity and context, but choose dimensions only after compute and token-budget analysis. |
Training | Warm-up + cosine decay, AdamW, clipping, mixed precision, best/latest checkpoints and exact resume. |
Logging | Persist JSONL train/val loss, perplexity, LR, gradient norm, tokens/s, elapsed time and GPU memory. |
Evaluation | Fixed held-out sets, per-domain losses, fixed prompts/seeds, repetition, EOS, factual and code tests. |
Release | Preserve the base checkpoint before instruction tuning; document limitations and data categories. |
17. Decisions for Phase 6 — Project Blueprint
Phase 6 should now plan and freeze the final W-1.1 model. It must not automatically inherit conflicting numbers from older planning documents. In particular, the attached architecture draft specifies 32,000 vocabulary tokens and a 5B-token target, while later project discussion considered 40,000 vocabulary tokens and 2B training tokens. Project Blueprint must resolve this conflict using tokenizer tests, compute estimates and data availability.
Decision to make | Evidence required before freezing |
|---|---|
Vocabulary size | Tokenizer fertility for English, Urdu, Kashmiri, code, numbers and punctuation. |
Training-token budget | Available clean data, GPU budget, time, cost and tokens-per-parameter trade-off. |
Context length | Memory benchmark and long-document needs; compare 512, 1,024 and 2,048. |
Exact architecture | Parameter-count unit test, memory estimate and small stability pilot. |
Dataset mixture | Per-domain volume, quality, licensing and held-out evaluation plan. |
Training platform | Confirmed BF16/FP16 support, storage throughput, checkpoint durability and total cost. |
Freeze rule: No tokenizer, architecture, dataset mixture or optimizer constant should be silently changed after final pretraining begins. Any material change creates a new version. |
18. Final Phase 5 Verdict
Research question | Answer |
|---|---|
Does the W-1.1 pipeline work? | Yes — demonstrated from prototype through multi-domain training. |
Can ~17M models learn fluent text? | Yes, especially with focused clean data. |
Are the experimental models reliable assistants? | No — reasoning, factuality, relevance and long coherence remain insufficient. |
Was overfitting the main problem? | No — capacity, data distribution and semantic learning were larger limits. |
Is final-model planning justified now? | Yes — the main engineering and research lessons are documented. |
Final Conclusion
W-1.1 Project Insight completes Phase 5. The four experiments established a functioning research pipeline and revealed the decisive roles of data quality, domain breadth, model capacity, context length, checkpoint discipline and honest evaluation. Spark delivered the strongest narrow-domain fluency; Spectrum provided the richest exact training evidence; Tazi proved broad-data stability; and the Tiny Prototype verified the original pipeline. None of the experiments should be presented as a factual or instruction-following assistant. Their combined value is the evidence they provide for a disciplined final-model design.
The programme may now proceed to Phase 6 — W-1.1 Project Blueprint, where the final architecture, tokenizer, context, data mixture, token budget, compute plan and evaluation gates will be selected and frozen.
Appendix A — Data Integrity Record
Item | Status |
|---|---|
Tiny Prototype raw log | Not available |
Tazi raw log | Not available; milestone table used |
Spark raw log | Not available; reported milestones used |
Spectrum raw log | Available; 106 records / 80 unique steps |
Spectrum duplicate handling | Later record retained for steps 250–6,500 |
Invented intermediate metrics | None |
Spectrum standalone report | Kept unchanged by user instruction |
Appendix B — Source Documents
- w-1.1-testing(2)(1).docx — Tiny Prototype guide and observations
- W-1.1-project-tazi(3).docx — Phase 2 training report
- W-1.1-spark(4).docx — Phase 3 completion report
- w-1.1-project-spectrum(5).docx — Phase 4 report
- w-1.1-training_log.jsonl — exact Spectrum training records
- w-1.1-projects(0).docx — earlier roadmap
- W-1.1-125M-Architecture(1).docx — preliminary final-model architecture draft