Downloads · 30 days
0
Senum/plaid-meddialog-lora
plaid-meddialog-lora is a text generation model from Senum. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
LoRA adapter fine-tuned on the OpenMed/MedDialog patient-doctor conversation dataset on top of the Plaid-1B continuous diffusion language model. Final-year-project artifact.
Downloads · 30 days
0
Access
Public
Updated Apr 27, 2026
Repo size
203 MB
Likes
0
Public
Click a slice to open those files.
.safetensors201 MB · 99%
From the Hugging Face model README
LoRA adapter fine-tuned on the OpenMed/MedDialog patient-doctor conversation dataset on top of the Plaid-1B continuous diffusion language model. Final-year-project artifact.
Research demo only. The outputs are not medical advice. Always consult a qualified clinician for real health questions.
| File | Purpose |
|---|---|
lora_model/adapter_config.json | PEFT LoRA config (rank, targets, ...) |
lora_model/adapter_model.safetensors | LoRA weights (~200 MB) |
embedding_matrix.pt | Custom token embedding matrix saved at checkpoint time |
noise_schedule.pt | Learned diffusion noise schedule (if present) |
gamma_bounds.pt | (gamma_0, gamma_1) bounds (if present) |
training_info.json | Hyperparameters, step count, dataset split, etc. |
The ~5.1 GB Plaid-1B base weights are not included - they are distributed separately by the Plaid authors. At inference time, load the base weights first, then apply this LoRA adapter on top.
attn_qkv, attn_out, fc1,
fc2, and the embedding matrix.OpenMed/MedDialog (patient <-> doctor dialogues).This adapter is intended to be loaded in the full Plaid training
environment (torch, mup, peft, apex, flash_attn). A runnable
interactive demo that wires everything together is available in the FYP
repo fyp-final-demo (FastAPI backend + Streamlit frontend + cloudflared
tunnel).
from huggingface_hub import snapshot_download
path = snapshot_download(repo_id="Senum/plaid-meddialog-lora")
# then load with sample_meddialog.load_model(
# weights_path="/path/to/plaid1b_weights",
# checkpoint_path=path,
# ...
# )
If you use this artifact in academic work, please also cite the Plaid paper (continuous diffusion language models) and the MedDialog dataset.