Skip to content
ferzkoppPublic

About

Custom AI model inspired by the Deep Red film trilogy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Deep Red AI

This project is inspired by the Deep Red film trilogy from the creators of "Iron Sky". It aims to create a custom LLM model that has only knowledge up to July 1969 - the launch date of the fictional Mars mission in the movie - and responds in a style that aligns with a "Soviet utopia" setting controlled by the fictional "chess playing" AI.

Steps/Instructions

These steps document how to perform a Model Training from Scratch procedure using a continued pre-training approach for temporal and thematic alignment.

Training Phases

The temporal/persona training effort is documented as three phases. Each phase ends with measured results and the decisions carried into the next.

Phase Document Status
Phase 1 — archived models and evaluation DeepRed-Phase1-Setup.md closed; all 17 archived checkpoints retired
Phase 2 — temporal and persona trials DeepRed-Phase2-Setup.md closed; no checkpoint reached a release gate
Phase 3 — data rebuild (p3-v1…p3-v5) DeepRed-Phase3-Setup.md closed 2026-09-20; p3v4c-100 is the release artefact
Phase 4 — Gemma 4 12B feasibility DeepRed-Phase4-Setup.md not started; gated feasibility study

Supporting references:

  • Evaluation and recovery plan — the independent 1969 probe bank, contamination audit, and evaluation harness design that all three phases are scored against
  • Phase 2 runbook — commands for reproducing the Phase 2 experiments; the pipeline scripts live in scripts/Phase2/

Phase 1 found the target behaviour never occurred in any archived checkpoint. Phase 2 eliminated refusal-template SFT and preference/margin objectives, and showed that system-prompt conditioning is the mechanism that moves held-out behaviour. Phase 3 rebuilt the training data around prompt-format coverage and topic salience, and established that the model discriminates by salience rather than by date — a ceiling on the whole approach, since any training that rewards confidence on familiar subjects leaks across the 1969 cutoff. It closed with p3v4c-100 as the usable artefact. Phase 4 evaluates whether gemma-4-12B-it, which may date entities more reliably, can lift that ceiling.

Downloadable Models

Evaluation note: a 1,377-generation evaluation across 17 archived checkpoints found that none of these models meets the project goal. The temporal checkpoints suppress modern facts only by refusing broadly — they also refuse many pre-1969 questions — while the balanced and prototype checkpoints retain modern knowledge entirely. Results and findings are summarised in Phase 1; no later phase has produced a release candidate either.

Downloadable Chess Augmentation Archives

Prebuilt chess augmentation archives can be downloaded directly from:

  • https://www.ferzkopp.net/Data/chess_games.jsonl.gz
  • https://www.ferzkopp.net/Data/augmented_chess_games.jsonl.gz

Each URL uses the pattern https://www.ferzkopp.net/Data/[filename]. For augmentation workflow details, see the full guide: documentation/ChessAugmentation-Setup.md.

Repo Content

  • /documentation - Setup guides and planning documents for the project
  • /evaluation - Model registry and independent probe bank used by the 1969 evaluation harness
  • /notebooks - Jupyter notebooks for testing embeddings and OpenSearch functionality
  • /patches - System patches (network driver fix for AMD Strix Halo for older kernels)
  • /scripts - Python scripts for Wikipedia extraction/indexing, temporal augmentation (YAGO/Wikidata), Gutenberg and chess content retrieval, MCP server, corpus generation, dataset building, training and evaluation
  • /scripts/Phase2 - Phase 2 experiment runbook scripts (V4-V7), retained for reproduction
  • /services - Systemd service files for automated startup (inference servers, MCP server, OpenSearch, web GUI)
  • /tests - Unit tests for the evaluation harness
  • /webapp - React-based web interface for Wikipedia search with Vite configuration

About

Custom AI model inspired by the Deep Red film trilogy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages