Luwayy commited on
Commit
2cea981
·
verified ·
1 Parent(s): 3b8a242

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 🧠 Disease Symptom Classifier
2
+
3
+ A BERT-based model for classifying text descriptions of symptoms into medical-related categories.
4
+
5
+ ## 🔧 Usage
6
+
7
+ ```python
8
+ from transformers import pipeline
9
+
10
+ pipe = pipeline("text-classification", model="Luwayy/disease_predict4")
11
+
12
+ text = "The patient is experiencing a persistent cough and shortness of breath."
13
+ result = pipe(text)
14
+ print(result) # [{'label': 'Cough', 'score': 0.9985}]
15
+ ```
16
+
17
+ ## 🏷️ Labels
18
+
19
+ The model predicts one of the following symptoms:
20
+
21
+ ```
22
+ - Emotional pain - Joint pain
23
+ - Hair falling out - Hard to breath
24
+ - Heart hurts - Head ache
25
+ - Infected wound - Body feels weak
26
+ - Foot ache - Feeling dizzy
27
+ - Shoulder pain - Back pain
28
+ - Injury from sports - Open wound
29
+ - Skin issue - Internal pain
30
+ - Stomach ache - Blurry vision
31
+ - Knee pain - Acne
32
+ - Muscle pain - Neck pain
33
+ - Cough - Ear ache
34
+ - Feeling cold
35
+ ```