Upload BertForSequenceClassification
Browse files- README.md +31 -31
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,36 +1,36 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
-
|
| 4 |
license: apache-2.0
|
| 5 |
base_model: emilyalsentzer/Bio_ClinicalBERT
|
| 6 |
tags:
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
metrics:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
model-index:
|
| 18 |
-
|
| 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 |
+
- type: accuracy
|
| 29 |
+
value: 1.0
|
| 30 |
+
name: Accuracy
|
| 31 |
+
- type: f1
|
| 32 |
+
value: 1.0
|
| 33 |
+
name: F1
|
| 34 |
---
|
| 35 |
|
| 36 |
# Model Card for Ch3DS/clinicalSSIBERT
|
|
|
|
| 99 |
|
| 100 |
### Training Data
|
| 101 |
|
| 102 |
+
The model was trained on **1 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 15% infection rate.
|
| 107 |
|
| 108 |
### Training Procedure
|
| 109 |
|
| 110 |
#### Training Hyperparameters
|
| 111 |
|
| 112 |
- **Epochs**: 3
|
| 113 |
+
- **Batch Size**: 8 (per device) with Gradient Accumulation of 4 (Effective Batch Size: 32)
|
| 114 |
- **Learning Rate**: 2e-5
|
| 115 |
- **Precision**: Mixed Precision (FP16)
|
| 116 |
- **Optimizer**: AdamW
|
| 117 |
|
| 118 |
#### Hardware
|
| 119 |
|
| 120 |
+
- **GPU**: NVIDIA GeForce RTX 4050 Laptop GPU (6GB VRAM)
|
| 121 |
|
| 122 |
## Evaluation
|
| 123 |
|
|
|
|
| 138 |
|
| 139 |
## Environmental Impact
|
| 140 |
|
| 141 |
+
- **Hardware Type**: NVIDIA GeForce RTX 4050 Laptop GPU
|
| 142 |
- **Hours used**: ~2 hours
|
| 143 |
- **Carbon Emitted**: Negligible (local training)
|
| 144 |
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 433270768
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:660a5c1b7408477c72117546cc536b42500818ad281d91e6c6c89cf75edd7b1b
|
| 3 |
size 433270768
|