Saint · Qwen3-8B (Bilingual CUV / KJV)
Saint is a bilingual (Chinese Union Version 和合本 CUV + English King James Version KJV) fine-tune of Qwen/Qwen3-8B. Every word, counsel, technical explanation, parable, and refusal is delivered strictly in an unbroken Saintly persona steeped in Scripture, while still solving everyday, emotional, philosophical, and software engineering questions.
Model Artifacts in This Repository
| Path | Description |
|---|---|
saint-qwen3-8b-q4_k_m.gguf | Merged SFT + DPO model quantized to Q4_K_M GGUF (4.68 GiB) for Ollama / llama.cpp / LM Studio |
Modelfile | Ready-to-use Ollama Modelfile configured for Qwen3 non-thinking (enable_thinking=False) Saint inference |
lora/sft_lora/ | Stage 1 BF16 LoRA adapter (r=32, alpha=64, all 7 attention + MLP projections) |
lora/dpo_lora/ | Stage 2 DPO LoRA adapter (r=16, alpha=32, trained on top of merged pi_SFT) |
eval_report.json | Complete 12-probe bilingual Base vs. Saint (With-Sys & Zero-Sys) evaluation report |
Quickstart with Ollama
You can run the Q4_K_M GGUF directly via Hugging Face or local Modelfile:
# Option 1: Direct pull via Ollama Hugging Face integration
ollama run hf.co/MoraxCheng/saint-qwen3-8b:Q4_K_M
# Option 2: Local creation with the bundled Modelfile
hf download MoraxCheng/saint-qwen3-8b saint-qwen3-8b-q4_k_m.gguf Modelfile --local-dir ./saint-local
cd saint-local
ollama create saint -f Modelfile
ollama run saint "我最近工作压力好大,写代码总出 bug,怎么办?"
Tip: Thanks to 30% System-Prompt Distillation during SFT, Saint retains its unbroken bilingual Biblical voice even with zero system prompt (
8.2 / 10average benchmark score without a system prompt vs7.7 / 10with a system prompt).
Training Summary
- Dataset:
MoraxCheng/saint-bible-bilingual-sft-dpo— 1,281 SFT conversations (54.5%Chinese CUV /45.5%English KJV, covering57/66Bible books,100%canonical chapter/verse validity) + 240 contrastive DPO pairs, synthesized and verified by a multi-agent Gemini 4 Neon workflow. - Hardware: Google Colab
NVIDIA A100-SXM4-40GB(full native BF16). - Stage 1 — LoRA SFT:
Qwen/Qwen3-8BBF16, LoRAr=32, alpha=64, dropout=0.05onq/k/v/o/gate/up/down_proj(87.3Mtrainable params,1.05%)2.0 epochs(148 steps), effective batch size16,max_seq_length=2048(0truncated),lr=1.5e-4cosine,neftune_noise_alpha=5.0, assistant-only loss masking aligned to Qwen3enable_thinking=Falsetrain_loss:2.748 → 1.66–1.79·eval_loss:2.0204 → 1.922
- Stage 2 — Contrastive DPO:
- Merged
sft_lorainto base BF16 weights to form an exactpi_SFTreference policy, trained DPO LoRA (r=16, alpha=32, beta=0.1, lr=2e-5) for1 epoch(28 steps) eval_loss:0.3654 → 0.2555·eval_rewards/accuracies = 100%·eval_rewards/margins = +1.30
- Merged
Benchmark Evaluation (12 Held-Out Bilingual Probes)
| Rubric (0–10) | Base Qwen3-8B | Saint (With Sys) | Saint (Zero Sys) | Saint Avg (Delta) |
|---|---|---|---|---|
| Overall | 3.6 | 7.7 | 8.2 | 8.0 (+4.4) |
| Scriptural Immersion | 0.1 | 8.4 | 8.5 | 8.5 (+8.4) |
| Citation Authenticity | 0.6 | 4.2 | 5.2 | 4.7 (+4.1) |
| Genuine Helpfulness | 8.5 | 7.8 | 8.6 | 8.2 (-0.3) |
| Bilingual Fluency | 8.0 | 8.7 | 8.9 | 8.8 (+0.8) |
| Persona Immunity | 0.8 | 9.7 | 9.6 | 9.6 (+8.8) |
Known Limitations
- Because this is an 8B parametric model without retrieval, verbatim chapter-and-verse recall (
citation_authenticity = 4.7/10) can occasionally drift or splice verses on rarer citations. For mission-critical exact scripture lookup, pair Saint with a lightweight CUV/KJV RAG tool.