Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,36 +1,36 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
-
- en
|
| 4 |
license: apache-2.0
|
| 5 |
base_model: emilyalsentzer/Bio_ClinicalBERT
|
| 6 |
tags:
|
| 7 |
-
- medical
|
| 8 |
-
- clinical
|
| 9 |
-
- ssi
|
| 10 |
-
- classification
|
| 11 |
-
- surveillance
|
| 12 |
metrics:
|
| 13 |
-
- accuracy
|
| 14 |
-
- f1
|
| 15 |
-
- precision
|
| 16 |
-
- recall
|
| 17 |
model-index:
|
| 18 |
-
- name: clinicalSSIBERT
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
---
|
| 35 |
|
| 36 |
# Model Card for Ch3DS/clinicalSSIBERT
|
|
@@ -99,25 +99,25 @@ print(f"Prediction: {labels[predicted_class_id]}")
|
|
| 99 |
|
| 100 |
### Training Data
|
| 101 |
|
| 102 |
-
The model was trained on **
|
| 103 |
|
| 104 |
- **Procedures**: Total Hip/Knee Replacement, C-Section, Cholecystectomy, Hernia Repair, etc.
|
| 105 |
- **Terminology**: UK-specific staff titles (Reg, SHO, FY1), antibiotics (Co-amoxiclav, Teicoplanin), and wound descriptions.
|
| 106 |
-
- **Balance**: Approximately
|
| 107 |
|
| 108 |
### Training Procedure
|
| 109 |
|
| 110 |
#### Training Hyperparameters
|
| 111 |
|
| 112 |
- **Epochs**: 3
|
| 113 |
-
- **Batch Size**:
|
| 114 |
- **Learning Rate**: 2e-5
|
| 115 |
- **Precision**: Mixed Precision (FP16)
|
| 116 |
- **Optimizer**: AdamW
|
| 117 |
|
| 118 |
#### Hardware
|
| 119 |
|
| 120 |
-
- **GPU**: NVIDIA GeForce RTX
|
| 121 |
|
| 122 |
## Evaluation
|
| 123 |
|
|
@@ -138,7 +138,7 @@ _Note: The perfect scores reflect the synthetic nature of the test data, which f
|
|
| 138 |
|
| 139 |
## Environmental Impact
|
| 140 |
|
| 141 |
-
- **Hardware Type**: NVIDIA GeForce RTX
|
| 142 |
- **Hours used**: ~2 hours
|
| 143 |
- **Carbon Emitted**: Negligible (local training)
|
| 144 |
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
+
- en
|
| 4 |
license: apache-2.0
|
| 5 |
base_model: emilyalsentzer/Bio_ClinicalBERT
|
| 6 |
tags:
|
| 7 |
+
- medical
|
| 8 |
+
- clinical
|
| 9 |
+
- ssi
|
| 10 |
+
- classification
|
| 11 |
+
- surveillance
|
| 12 |
metrics:
|
| 13 |
+
- accuracy
|
| 14 |
+
- f1
|
| 15 |
+
- precision
|
| 16 |
+
- recall
|
| 17 |
model-index:
|
| 18 |
+
- name: clinicalSSIBERT
|
| 19 |
+
results:
|
| 20 |
+
- task:
|
| 21 |
+
type: text-classification
|
| 22 |
+
name: SSI Detection
|
| 23 |
+
dataset:
|
| 24 |
+
name: Synthetic UK NHS Clinical Notes
|
| 25 |
+
type: synthetic
|
| 26 |
+
split: test
|
| 27 |
+
metrics:
|
| 28 |
+
- name: Accuracy
|
| 29 |
+
type: accuracy
|
| 30 |
+
value: 1.0
|
| 31 |
+
- name: F1
|
| 32 |
+
type: f1
|
| 33 |
+
value: 1.0
|
| 34 |
---
|
| 35 |
|
| 36 |
# Model Card for Ch3DS/clinicalSSIBERT
|
|
|
|
| 99 |
|
| 100 |
### Training Data
|
| 101 |
|
| 102 |
+
The model was trained on **5 million synthetic clinical notes** generated to mimic UK NHS postoperative records. The data covers:
|
| 103 |
|
| 104 |
- **Procedures**: Total Hip/Knee Replacement, C-Section, Cholecystectomy, Hernia Repair, etc.
|
| 105 |
- **Terminology**: UK-specific staff titles (Reg, SHO, FY1), antibiotics (Co-amoxiclav, Teicoplanin), and wound descriptions.
|
| 106 |
+
- **Balance**: Approximately 5% infection rate.
|
| 107 |
|
| 108 |
### Training Procedure
|
| 109 |
|
| 110 |
#### Training Hyperparameters
|
| 111 |
|
| 112 |
- **Epochs**: 3
|
| 113 |
+
- **Batch Size**: 64 (per device) with Gradient Accumulation of 4
|
| 114 |
- **Learning Rate**: 2e-5
|
| 115 |
- **Precision**: Mixed Precision (FP16)
|
| 116 |
- **Optimizer**: AdamW
|
| 117 |
|
| 118 |
#### Hardware
|
| 119 |
|
| 120 |
+
- **GPU**: NVIDIA GeForce RTX 5070 Ti
|
| 121 |
|
| 122 |
## Evaluation
|
| 123 |
|
|
|
|
| 138 |
|
| 139 |
## Environmental Impact
|
| 140 |
|
| 141 |
+
- **Hardware Type**: NVIDIA GeForce RTX 5070 Ti
|
| 142 |
- **Hours used**: ~2 hours
|
| 143 |
- **Carbon Emitted**: Negligible (local training)
|
| 144 |
|