HAO-AI commited on
Commit
17d66b6
·
verified ·
1 Parent(s): de54856

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +54 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - clinical-nlp
7
+ - cognitive-decline
8
+ - electronic-health-records
9
+ - transformer
10
+ - medical-ai
11
+ - healthcare
12
+ ---
13
+
14
+ # CD-Tron: Cognitive Decline Detection from EHR using Large Clinical Language Model
15
+
16
+ **Model Name:** CD-Tron
17
+
18
+ **Author:** Hao Guan
19
+
20
+ ## Model Description
21
+
22
+ 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.
23
+
24
+ The model was fine-tuned on real-world clinical data, and synthetic data can be used for demonstration.
25
+
26
+ ---
27
+
28
+ ## Intended Use
29
+
30
+ - Task: Cognitive decline detection / screening
31
+ - Input: Free-text clinical notes (EHR sections, progress notes, discharge summaries, etc.)
32
+ - Output: Binary classification:
33
+ - 0 = No cognitive decline
34
+ - 1 = Cognitive decline detected
35
+
36
+ This model is for research purposes and proof-of-concept demonstration.
37
+
38
+ ---
39
+
40
+ ## How to Use
41
+
42
+ Example code to load and run inference:
43
+
44
+ ```python
45
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
46
+
47
+ tokenizer = AutoTokenizer.from_pretrained("HAO-AI/cdtron-cognitive-decline")
48
+ model = AutoModelForSequenceClassification.from_pretrained("HAO-AI/cdtron-cognitive-decline")
49
+
50
+ text = "Patient presents with recent memory loss, confusion, and impaired attention..."
51
+ inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True, max_length=512)
52
+ outputs = model(**inputs)
53
+ prediction = outputs.logits.argmax(dim=1).item()
54
+ print("Predicted label:", prediction)