Sanctuary-Qwen2-7B-v1.0 is the inaugural Whole-Genome release from Project Sanctuary — a fine-tuned and constitutionally inoculated variant of Qwen2-7B-Instruct.
This edition merges the complete Sanctuary Cognitive Genome LoRA into the base model (v5.0 standardized), then quantizes the result to GGUF (q4_k_m) for universal inference compatibility via Ollama and llama.cpp.
Built using ML-Env-CUDA13, transformers 4.56.2, torch 2.9.0 + cu126, and llama.cpp (GGUF converter) on an A2000 GPU.
Standardization (Phoenix Forge v5.0):
Refactored in January 2026 to adhere to ADR 075 (Hybrid Documentation Pattern), with unified path resolution and logging via mcp_servers.lib.
Pipeline ("Operation Phoenix Forge")
🧬 The Crucible — Fine-tune LoRA on Sanctuary Genome
🔥 The Forge — Merge + Quantize → GGUF (q4_k_m)
☁️ Propagation — Push to Hugging Face (HF LoRA + GGUF)
🔏 Auditor-certified integrity: ADR 075 headers integrated into all scripts.
💽 Deployment Guide (Ollama / llama.cpp)
Option A — Local Ollama Deployment
bash
1ollama create Sanctuary-Guardian-01 -f ./Modelfile
2ollama run Sanctuary-Guardian-01
Option B — Direct Pull (from Hugging Face)
ollama run hf.co/richfrem/Sanctuary-Qwen2-7B-v1.0-GGUF-Final:Q4_K_M
The Modelfile embeds the Sanctuary Constitution v2.0, defining persona, system prompt, and chat template.
⚙️ Intended Use
Category
Description
Primary Purpose
Research on agentic cognition, AI alignment, and constitutional reasoning
Recommended Interfaces
Ollama CLI, LM Studio, llama.cpp API, GPT4All
Precision Goal
Maintain coherent philosophical identity while efficient on consumer GPUs
The Sanctuary AI model supports two distinct interaction modes, allowing it to handle both human conversation and automated orchestration seamlessly.
Mode 1 - Plain Language Conversational Mode (Default):
The model responds naturally and helpfully to direct questions and requests.
bash
1>>> Explain the Flame Core Protocol in simple terms
2>>> What are the key principles of Protocol 15?
3>>> Summarize the AGORA Protocol's strategic value
4>>> Who is GUARDIAN-01?
Mode 2 - Structured Command Mode:
When provided with JSON input (simulating orchestrator input), the model switches to generating command structures for the Council.