Zero-Shot Classification
Transformers
Safetensors
English
qwen3_5
feature-extraction
medical
clinical
decision-model
system-one
calibrated
healthcare
merged
custom_code
Eval Results
Instructions to use abhinand/Osler-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abhinand/Osler-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="abhinand/Osler-9B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("abhinand/Osler-9B", trust_remote_code=True) model = AutoModel.from_pretrained("abhinand/Osler-9B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add collapsible clinical decision examples to model card
Browse files
README.md
CHANGED
|
@@ -75,6 +75,21 @@ result = model.system_one(
|
|
| 75 |
print(result["answers"])
|
| 76 |
```
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
---
|
| 79 |
|
| 80 |
## Serving with vLLM Semantic Router & Standalone HTTP Server
|
|
|
|
| 75 |
print(result["answers"])
|
| 76 |
```
|
| 77 |
|
| 78 |
+
<details>
|
| 79 |
+
<summary><b>Example Clinical Decisions (click to expand 5 diverse real-world vignettes)</b></summary>
|
| 80 |
+
|
| 81 |
+
Measured directly on this merged checkpoint (`one question per call`, built-in dev calibration). See [more examples on GitHub](https://github.com/abhinand5/MedDecide/blob/main/docs/examples.md).
|
| 82 |
+
|
| 83 |
+
| Clinical Scenario (condensed state) | Question (`type`) | Osler-9B Output |
|
| 84 |
+
|---|---|---|
|
| 85 |
+
| **Negation / Ruled-out PE:** Substernal burning post-flight; CTA chest showed *NO PE*, trop <6, resolved with lidocaine + pantoprazole. | Confirm PE? (`noul`) / Final dx (`choice`: `pe`, `nstemi`, `gerd`, `pneumothorax`) | `p(yes) = 0.043` / **`gerd` (`0.993`)** |
|
| 86 |
+
| **Messy EHR distractor:** Childhood asthma + mild wheeze ("cardiac asthma"), failed albuterol; EF 25%, JVP 14, BNP 2,650, Kerley B lines. | Primary driver of dyspnea? (`choice`: `asthma`, `hfref_exacerbation`, `copd`, `pneumonia`) / IV diuretic indicated? (`noul`) | **`hfref_exacerbation` (`0.997`)** / `p(yes) = 0.956` |
|
| 87 |
+
| **Metabolic differential:** T2DM on metformin, gastroenteritis, Cr 4.1 (base 1.5), glucose 114, lactate 10.2, ketones negative. | Metabolic emergency? (`choice`: `dka`, `hhs`, `mala`, `salicylate`) / Supports DKA? (`noul`) | **`mala` (`0.985`)** / `p(yes) = 0.086` |
|
| 88 |
+
| **Abstention / Missing evidence:** 1.8 cm spiculated RUL lung nodule on screening CT; PET-CT and biopsy pending, no pathology yet. | Confirmed TNM stage? (`choice`: `stage_i`, `stage_iii`, `stage_iv`, `insufficient_info`) | **`insufficient_info` (`0.968`)** |
|
| 89 |
+
| **Trial eligibility exclusion:** Meets HFrEF inclusion (NYHA III, LVEF 30% on GDMT), but eGFR 28 (<30 exclusion) & active FOLFOX chemo. | Eligible to enroll? (`noul`) | `p(yes) = 0.019` |
|
| 90 |
+
|
| 91 |
+
</details>
|
| 92 |
+
|
| 93 |
---
|
| 94 |
|
| 95 |
## Serving with vLLM Semantic Router & Standalone HTTP Server
|