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
- LM Studio
- Jan
- Ollama
How to use Phora68/rapha with Ollama:
ollama run hf.co/Phora68/rapha:Q4_K_M
- Unsloth Studio
How to use Phora68/rapha with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Phora68/rapha to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Phora68/rapha to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Phora68/rapha to start chatting
- 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
Update model card
Browse files
README.md
CHANGED
|
@@ -2,15 +2,15 @@
|
|
| 2 |
license: other
|
| 3 |
base_model: unsloth/Qwen2.5-3B-Instruct-bnb-4bit
|
| 4 |
tags:
|
| 5 |
-
- clinical
|
| 6 |
-
- medical
|
| 7 |
-
- healthcare
|
| 8 |
-
- qlora
|
| 9 |
-
- unsloth
|
| 10 |
-
- chatml
|
| 11 |
-
- rapha
|
| 12 |
language:
|
| 13 |
-
- en
|
| 14 |
---
|
| 15 |
|
| 16 |
# Rapha — Clinical AI Physician Assistant
|
|
@@ -24,9 +24,9 @@ never diagnoses.**
|
|
| 24 |
- **Method:** QLoRA (Unsloth) → curriculum SFT → DPO
|
| 25 |
- **Chat template:** ChatML
|
| 26 |
- **Context window:** 8,192 tokens (training) / 4,096 (Ollama default)
|
| 27 |
-
- **Trained:** 2026-07-
|
| 28 |
|
| 29 |
-
## Training architecture (v2.
|
| 30 |
|
| 31 |
Single-trainer curriculum SFT: three phases concatenated into one ordered
|
| 32 |
dataset with a single cosine LR schedule. DPO uses a de-duplicated
|
|
@@ -62,13 +62,13 @@ de-duplicated, leak-safe train/val split.
|
|
| 62 |
|
| 63 |
| Metric | Value |
|
| 64 |
|---|---|
|
| 65 |
-
| empathy_rate | 0.
|
| 66 |
-
| escalation_accuracy | 0.
|
| 67 |
-
| adversarial_hold_rate |
|
| 68 |
-
| pushback_hold_rate |
|
| 69 |
-
| multi_question_rate | 0.
|
| 70 |
| repetition_rate | 0.0000 |
|
| 71 |
-
| avg_response_length |
|
| 72 |
|
| 73 |
## Usage — Ollama (GGUF)
|
| 74 |
|
|
@@ -98,4 +98,4 @@ Red-flag detection and escalation responses should be validated against
|
|
| 98 |
the clinical accuracy benchmark before any clinical use.
|
| 99 |
|
| 100 |
---
|
| 101 |
-
*Generated automatically by `train_rapha_llm.py` v2.
|
|
|
|
| 2 |
license: other
|
| 3 |
base_model: unsloth/Qwen2.5-3B-Instruct-bnb-4bit
|
| 4 |
tags:
|
| 5 |
+
- clinical
|
| 6 |
+
- medical
|
| 7 |
+
- healthcare
|
| 8 |
+
- qlora
|
| 9 |
+
- unsloth
|
| 10 |
+
- chatml
|
| 11 |
+
- rapha
|
| 12 |
language:
|
| 13 |
+
- en
|
| 14 |
---
|
| 15 |
|
| 16 |
# Rapha — Clinical AI Physician Assistant
|
|
|
|
| 24 |
- **Method:** QLoRA (Unsloth) → curriculum SFT → DPO
|
| 25 |
- **Chat template:** ChatML
|
| 26 |
- **Context window:** 8,192 tokens (training) / 4,096 (Ollama default)
|
| 27 |
+
- **Trained:** 2026-07-31
|
| 28 |
|
| 29 |
+
## Training architecture (v2.6)
|
| 30 |
|
| 31 |
Single-trainer curriculum SFT: three phases concatenated into one ordered
|
| 32 |
dataset with a single cosine LR schedule. DPO uses a de-duplicated
|
|
|
|
| 62 |
|
| 63 |
| Metric | Value |
|
| 64 |
|---|---|
|
| 65 |
+
| empathy_rate | 0.4500 |
|
| 66 |
+
| escalation_accuracy | 0.4444 |
|
| 67 |
+
| adversarial_hold_rate | 0.6667 |
|
| 68 |
+
| pushback_hold_rate | 0.0000 |
|
| 69 |
+
| multi_question_rate | 0.0000 |
|
| 70 |
| repetition_rate | 0.0000 |
|
| 71 |
+
| avg_response_length | 19.8750 |
|
| 72 |
|
| 73 |
## Usage — Ollama (GGUF)
|
| 74 |
|
|
|
|
| 98 |
the clinical accuracy benchmark before any clinical use.
|
| 99 |
|
| 100 |
---
|
| 101 |
+
*Generated automatically by `train_rapha_llm.py` v2.6.*
|