Welcome to DemMA

We hope these models and datasets save you time and support your research. Please cite our paper when using these resources—it helps others discover them and recognizes the effort behind their annotation and fine-tuning.

Citation · Paper · View / copy full BibTeX · Download .bib

@inproceedings{song-etal-2026-demma,
  title     = "{D}em{MA}: Dementia Multi-Turn Dialogue Agent
               with Expert-Guided Reasoning and Action Simulation",
  author    = "Song, Yutong and Wu, Jiang and
               Sharif, Kazi Shaharair and Zhang, Pengfei and
               Huang, Wenjun and Xu, Honghui and
               Dutt, Nikil and Rahmani, Amir M.",
  booktitle = "Findings of the {A}ssociation for
               {C}omputational {L}inguistics: {ACL} 2026",
  year      = "2026",
  publisher = "Association for Computational Linguistics",
  pages     = "12439--12470",
  doi       = "10.18653/v1/2026.findings-acl.605",
  url       = "https://aclanthology.org/2026.findings-acl.605/"
}

Once access is granted, sign in with hf auth login using a token from the same account. See the Quick start section below for the next steps. Thank you for building on DemMA.

Log in or Sign Up to review the conditions and access this model content.

DemMA Planner

Paper · PDF · Code · Dataset

DemMA is a Qwen3-8B model fine-tuned for dementia patient dialogue. It uses a patient profile and dialogue history to produce a plan and the patient's next reply.

Use chat.py to chat with a simulated patient. It handles the input format and conversation history for you. The default mode shows the patient's reply. You can also view the plan or enable an optional classifier for movement, facial-expression, and voice labels.

Quick start

Request access on this page. Once approved, sign in with a Hugging Face token from the same account and run:

pip install -U huggingface_hub
hf auth login
hf download hulehule/DemMA-Planner-SFT --include chat.py requirements.txt --local-dir demma
cd demma
pip install -r requirements.txt
python chat.py

The first run downloads the model and tokenizer. Later runs reuse the local cache. The weights are about 16.4 GB, and inference needs additional memory.

The default patient profile is AD-early. Type a caregiver message, such as Would you like some tea?, to receive the patient's reply. Use /reset to start a new conversation and /quit to exit.

Options

python chat.py --show-plan
python chat.py --actions
python chat.py --message "Would you like some tea?"

--show-plan displays the plan alongside the reply. --actions also loads action_classifier.pt and predicts action labels. The classifier is not loaded in the default mode.

Use --patient patient.json for a custom patient profile, or --model /path/to/model to load a local checkpoint. A patient profile contains persona, icf_b126_profile, and memory_profile, as in the default profile in chat.py.

The original basic and memory-based scripts are preserved in the auxiliary-file archive, together with the original training script, memory and schedule examples, metrics, and chat tests. The model weights, tokenizer, configuration, action classifier, and chat entry point remain in this repository. See the code repository for data preparation and training.

Citation

If you use DemMA in your research, please cite our ACL 2026 paper.

@inproceedings{song-etal-2026-demma,
  title     = "{D}em{MA}: Dementia Multi-Turn Dialogue Agent
               with Expert-Guided Reasoning and Action Simulation",
  author    = "Song, Yutong and Wu, Jiang and
               Sharif, Kazi Shaharair and Zhang, Pengfei and
               Huang, Wenjun and Xu, Honghui and
               Dutt, Nikil and Rahmani, Amir M.",
  booktitle = "Findings of the {A}ssociation for
               {C}omputational {L}inguistics: {ACL} 2026",
  year      = "2026",
  publisher = "Association for Computational Linguistics",
  pages     = "12439--12470",
  doi       = "10.18653/v1/2026.findings-acl.605",
  url       = "https://aclanthology.org/2026.findings-acl.605/"
}
Downloads last month
46
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support