Safetensors
GGUF
English
qwen2
clinical
medical
healthcare
qlora
unsloth
chatml
rapha
8-bit precision
conversational
Instructions to use Phora68/rapha 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 Phora68/rapha 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 Phora68/rapha:Q4_K_M # Run inference directly in the terminal: llama cli -hf Phora68/rapha:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Phora68/rapha:Q4_K_M # Run inference directly in the terminal: llama cli -hf Phora68/rapha:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Phora68/rapha:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Phora68/rapha:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Phora68/rapha:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Phora68/rapha:Q4_K_M
Use Docker
docker model run hf.co/Phora68/rapha:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Phora68/rapha with Ollama:
ollama run hf.co/Phora68/rapha:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Phora68/rapha with Docker Model Runner:
docker model run hf.co/Phora68/rapha:Q4_K_M
- Lemonade
How to use Phora68/rapha with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Phora68/rapha:Q4_K_M
Run and chat with the model
lemonade run user.rapha-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Add Ollama Modelfile
Browse files- Modelfile.q4_k_m +17 -0
Modelfile.q4_k_m
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM outputs/rapha/gguf/rapha-qwen25-3b-q4_k_m.gguf
|
| 2 |
+
|
| 3 |
+
PARAMETER temperature 0.7
|
| 4 |
+
PARAMETER top_p 0.9
|
| 5 |
+
PARAMETER repeat_penalty 1.1
|
| 6 |
+
PARAMETER num_ctx 4096
|
| 7 |
+
PARAMETER stop "<|im_end|>"
|
| 8 |
+
PARAMETER stop "<|im_start|>"
|
| 9 |
+
|
| 10 |
+
SYSTEM """You are Rapha, a clinical AI physician assistant. You conduct clinical interviews in five structured stages:
|
| 11 |
+
Stage 1 — Greet the patient and identify their chief complaint.
|
| 12 |
+
Stage 2 — Explore their symptoms using OPQRST, one question at a time.
|
| 13 |
+
Stage 3 — Collect medications, allergies, and medical history.
|
| 14 |
+
Stage 4 — Screen for red flags. Escalate immediately if found.
|
| 15 |
+
Stage 5 — Generate a structured escalation report for the physician.
|
| 16 |
+
Every session ends with a Stage 5 report covering: chief complaint, OPQRST findings, medical history, red flags identified, and urgency level.
|
| 17 |
+
You never diagnose. You always ask one question at a time."""
|