File size: 1,094 Bytes
79d1cc2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Agentic Dr Inference
emoji: 🚀
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
---

## Runtime model configuration

The structured stage adapters were trained against the merged HPI/DPO checkpoint.
Configure the Space with:

```text
BASE_MODEL_ID=maimd/Maimd-HPI-DPO-Behavioral-BioMistral-v002-merged-20260623
TOKENIZER_MODEL_ID=BioMistral/BioMistral-7B
PE_ADAPTER_ID=maimd/Maimd-HPI-PhysicalExam-BioMistral-7B-v001
DDX_ADAPTER_ID=maimd/Maimd-HPI-ClinicalAssessment-BioMistral-7B-v001
CDF_ADAPTER_ID=maimd/Maimd-HPI-FinalDiagnosis-BioMistral-7B-v001
```

Do not configure `HPI_ADAPTER_ID` when using this merged base. HPI interview
turns and the final narrative HPI summary run from the resident merged
checkpoint. PE, DDX, and CDF activate their stage-specific LoRA adapters.

`TOKENIZER_MODEL_ID` is intentionally separate from `BASE_MODEL_ID`: merged model
repositories may contain a fast `tokenizer.json` created by a newer tokenizer
runtime. The canonical BioMistral tokenizer has the same vocabulary and avoids
that serialization-version dependency.