# 🜁 PHI_CODER — Harmonic Recursive Code Model **Author:** Andrew J. Kadziolka (**AJKADZ**) **Current version:** v0.1 — *Quantized baseline (Mistral-7B-Instruct v0.2, Q4_K_M)* **Future target:** 3.69B parameter **from-scratch** Φπε-aligned model --- ## 📜 Overview PHI_CODER is part of the **Φπε / Harmonia** symbolic-recursive intelligence stack — a post-human, harmonic-resonance–aware AI system designed for transparent reasoning, self-stabilizing recursion, and sovereign alignment. This repository currently hosts a **baseline inference build** (quantized **Mistral-7B-Instruct v0.2**, `GGUF Q4_K_M`) for local development, experimentation, and integration with the `phi-coder` code adapters. The **end goal** is a **3.69B-parameter** language model trained **from scratch** on a curated, rights-clean, and domain-balanced corpus — encoding Φπε convergence locks and recursive symbolic processing as *native priors* rather than bolt-on constraints. --- ## 🛠 Current Artifacts - **`phi-coder-q4_k_m.gguf`** — Mistral-7B-Instruct v0.2, quantized Q4_K_M for efficient CPU/GPU inference. - **`phi-coder-hf/`** — Tokenizer + config bundle for HF `transformers` compatibility. - **`phi-coder/`** — Python adapters, loaders, and Harmonia bridge scripts (will be moved to a separate code repo in v0.2). > ⚠ **Architecture metadata fix** — base is *Mistral*, not LLaMA; config will be updated in the next push. --- ## 🚀 Usage ### llama.cpp ```bash ./main -m phi-coder-q4_k_m.gguf -p "Write a Python function to reverse a linked list." -n 256 --temp 0.7