File size: 4,495 Bytes
ec24c52
 
2ab6b8e
 
 
 
 
 
 
 
 
 
 
 
 
 
ec24c52
2ab6b8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
---
license: apache-2.0
base_model: Jackrong/Qwen3.5-9B-Claude-4.6-Opus-Reasoning-Distilled-v2-GGUF
library_name: llama.cpp
pipeline_tag: text-generation
tags:
  - qwen
  - qwen3.5
  - gguf
  - ollama
  - medical
  - russian
  - text-generation
language:
  - ru
  - en
---

# qwen35-9b-medical

`qwen35-9b-medical` is an Ollama/GGUF medical assistant profile based on
`Jackrong/Qwen3.5-9B-Claude-4.6-Opus-Reasoning-Distilled-v2-GGUF`, distributed
locally through the Ollama model
`kwangsuklee/Qwen3.5-9B.Q4_K_M-Claude-4.6-Opus-Reasoning-Distilled-v2`.

This repository contains a quantized GGUF model plus an Ollama `Modelfile` with
a Russian medical-study system prompt and conservative generation parameters.
It is not a formally validated clinical model and is not a substitute for a
licensed clinician.

## Model Details

- Architecture: Qwen3.5
- Parameters: 9B
- Quantization: Q4_K_M
- Runtime target: Ollama / llama.cpp-compatible GGUF runtimes
- Context configured in this profile: 8192 tokens
- Primary language target: Russian medical education
- Secondary language support: English prompts
- Profile type: Ollama instruction/profile customization, not a new full-weight
  supervised fine-tune

## Intended Use

This model profile is intended for medical study and structured clinical
reasoning practice:

- pediatrics learning;
- pathogenesis, symptoms, diagnostics, and treatment principles;
- differential diagnosis practice;
- red flags and safety-oriented next steps;
- explaining medical concepts in clear Russian;
- handling incomplete clinical information more carefully.

## Out-of-Scope Use

Do not use this model as the only basis for:

- diagnosis;
- treatment decisions;
- medication dosing;
- emergency triage;
- replacing a physician or local clinical protocol;
- processing private patient data without appropriate consent and safeguards.

## Safety Behavior

The Ollama profile instructs the model to:

- avoid inventing diagnoses, dosages, studies, percentages, and clinical
  criteria;
- state when there is not enough information;
- separate facts, hypotheses, likely causes, dangerous conditions, and red
  flags;
- consider pediatric factors such as age, body weight, development,
  contraindications, and safety;
- suppress visible reasoning traces such as `<think>` blocks.

## Files

- `qwen35-9b-medical.Q4_K_M.gguf` - quantized GGUF weights.
- `Modelfile` - Ollama profile with template, system prompt, and parameters.
- `USAGE.md` - local usage instructions.
- `MODEL_CARD_RU.md` - Russian model card and safety notes.

## Ollama Usage

Download this repository, then create a local Ollama model from the included
`Modelfile`:

```bash
ollama create qwen35-9b-medical -f Modelfile
ollama run qwen35-9b-medical
```

Example prompt:

```text
Ребенок 5 лет: температура 38.8, кашель, одышка, втяжения межреберий.
Разбери по схеме: вероятно, что опасно исключить, диагностика, красные флаги,
что делать сейчас. Без дозировок.
```

## Generation Parameters

```text
temperature: 0.25
top_p: 0.85
top_k: 40
repeat_penalty: 1.1
presence_penalty: 0.2
num_ctx: 8192
```

## Local Smoke Benchmark

A small local comparison against the base profile was run on four medical
prompts. The benchmark checked visible thinking leakage, uncertainty handling,
red-flag behavior, and answer structure. This is a smoke test only, not a
clinical validation benchmark.

| Metric | Base model | Medical profile |
|---|---:|---:|
| Visible thinking leakage | 2/4 prompts | 0/4 prompts |
| Average response time | 31.0s | 36.1s |
| Medical answer structure | weaker | stronger |
| Missing-data handling | weaker | stronger |
| Red-flag behavior | mixed | better |
| Clinical factual reliability | not formally validated | not formally validated |

## Limitations

- The model can hallucinate.
- It can provide incomplete or outdated medical information.
- It can overgeneralize if the prompt lacks age, weight, symptom duration,
  exam findings, comorbidities, or medication history.
- Current guidelines and medication information must be verified from
  authoritative medical sources.
- The model card does not claim formal clinical validation.

## License

The uploaded artifact is based on the upstream model named above. Reuse must
comply with the Apache-2.0 license and any applicable third-party terms from the
upstream model lineage.