Instructions to use MoraxCheng/saint-qwen3-8b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MoraxCheng/saint-qwen3-8b with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf MoraxCheng/saint-qwen3-8b:Q4_K_M # Run inference directly in the terminal: llama cli -hf MoraxCheng/saint-qwen3-8b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MoraxCheng/saint-qwen3-8b:Q4_K_M # Run inference directly in the terminal: llama cli -hf MoraxCheng/saint-qwen3-8b:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf MoraxCheng/saint-qwen3-8b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf MoraxCheng/saint-qwen3-8b:Q4_K_M
Use Docker
docker model run hf.co/MoraxCheng/saint-qwen3-8b:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use MoraxCheng/saint-qwen3-8b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MoraxCheng/saint-qwen3-8b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MoraxCheng/saint-qwen3-8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/MoraxCheng/saint-qwen3-8b:Q4_K_M
- Ollama
How to use MoraxCheng/saint-qwen3-8b with Ollama:
ollama run hf.co/MoraxCheng/saint-qwen3-8b:Q4_K_M
- Unsloth Desktop
- Pi
How to use MoraxCheng/saint-qwen3-8b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MoraxCheng/saint-qwen3-8b:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "MoraxCheng/saint-qwen3-8b:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use MoraxCheng/saint-qwen3-8b with Docker Model Runner:
docker model run hf.co/MoraxCheng/saint-qwen3-8b:Q4_K_M
- Lemonade
How to use MoraxCheng/saint-qwen3-8b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MoraxCheng/saint-qwen3-8b:Q4_K_M
Run and chat with the model
lemonade run user.saint-qwen3-8b-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use MoraxCheng/saint-qwen3-8b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MoraxCheng/saint-qwen3-8b:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default MoraxCheng/saint-qwen3-8b:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use MoraxCheng/saint-qwen3-8b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf MoraxCheng/saint-qwen3-8b:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "MoraxCheng/saint-qwen3-8b:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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.
- Downloads last month
- 190
4-bit