> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reverieresearch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Standard Model Bio

> Requirements and usage for Standard Model Bio in Reverie.

## Overview

Standard Model Bio is currently the supported foundation model in Reverie. It is designed for EHR data and expects MEDS-format events.

## Required Data Format

| Column       | Type       | Description                                 |
| ------------ | ---------- | ------------------------------------------- |
| `subject_id` | string/int | Patient identifier                          |
| `time`       | datetime   | Event timestamp                             |
| `code`       | string     | Clinical code (ICD-10, RxNorm, LOINC, etc.) |

Example:

```csv theme={null}
subject_id,time,code
patient_001,2023-01-15,ICD10:E11.9
patient_001,2023-01-15,RxNorm:860975
patient_002,2023-03-10,ICD10:I10
```

## Labels

Provide one row per patient:

```csv theme={null}
subject_id,label
patient_001,0
patient_002,1
```

## Run With This Model

Use Web UI:

```bash theme={null}
reverie ui
```

Use CLI:

```bash theme={null}
reverie train \
    --model standard-model \
    --data ./data/synthetic_data.parquet \
    --labels ./data/synthetic_labels.csv \
    --label-column label \
    --output ./results
```

<Note>
  More foundation models will be added in future releases.
</Note>
