File size: 1,941 Bytes
17d66b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e4a224a
7d76dc0
 
 
e4a224a
 
7d76dc0
e4a224a
7d76dc0
e4a224a
 
 
 
 
 
 
 
7d76dc0
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
---
license: mit
language:
  - en
tags:
  - clinical-nlp
  - cognitive-decline
  - electronic-health-records
  - transformer
  - medical-ai
  - healthcare
---
# CD-Tron: Cognitive Decline Detection from EHR using Large Clinical Language Model

**Model Name:** CD-Tron


## Model Description

CD-Tron is a fine-tuned large clinical language model based on [GatorTron](https://huggingface.co/UFNLP/gatortron-base) for the task of detecting cognitive decline from free-text clinical notes.

The model was fine-tuned on real-world clinical data, and synthetic data can be used for demonstration.

---
## Intended Use

- Task: Cognitive decline detection / screening
- Input: Free-text clinical notes (EHR sections, progress notes, discharge summaries, etc.)
- Output: Binary classification:  
  - 0 = No cognitive decline  
  - 1 = Cognitive decline detected

This model is for research purposes and proof-of-concept demonstration.

---
## How to Use

Example code to load and run inference:

```python
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("HAO-AI/cdtron-cognitive-decline")
model = AutoModelForSequenceClassification.from_pretrained("HAO-AI/cdtron-cognitive-decline")

text = "Patient presents with recent memory loss, confusion, and impaired attention..."
inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True, max_length=512)
outputs = model(**inputs)
prediction = outputs.logits.argmax(dim=1).item()
print("Predicted label:", prediction)

``` 

---
## Citation

If you find this work useful, please cite:

```bibtex
@article{guan2025cd,
  title={CD-Tron: Leveraging large clinical language model for early detection of cognitive decline from electronic health records},
  author={Guan, Hao and Novoa-Laurentiev, John and Zhou, Li},
  journal={Journal of Biomedical Informatics},
  pages={104830},
  year={2025},
  publisher={Elsevier}
}