uk-rs commited on
Commit
d8049a8
·
verified ·
1 Parent(s): fff5c1b

uk-rs/CbertActiveLearning_initial_V_1.0

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: medicalai/ClinicalBERT
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: results
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # results
20
+
21
+ This model is a fine-tuned version of [medicalai/ClinicalBERT](https://huggingface.co/medicalai/ClinicalBERT) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.8614
24
+ - Accuracy: 0.6145
25
+ - Precision: 0.6243
26
+ - Recall: 0.6145
27
+ - F1: 0.5971
28
+ - Roc Auc: 0.8073
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 5
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
59
+ | No log | 1.0 | 42 | 1.0433 | 0.4458 | 0.4351 | 0.4458 | 0.3685 | 0.7162 |
60
+ | No log | 2.0 | 84 | 0.8946 | 0.5663 | 0.5641 | 0.5663 | 0.5559 | 0.7823 |
61
+ | No log | 3.0 | 126 | 0.9142 | 0.5783 | 0.6385 | 0.5783 | 0.5332 | 0.7896 |
62
+ | No log | 4.0 | 168 | 0.8497 | 0.6386 | 0.6434 | 0.6386 | 0.6299 | 0.8084 |
63
+ | No log | 5.0 | 210 | 0.8614 | 0.6145 | 0.6243 | 0.6145 | 0.5971 | 0.8073 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.46.3
69
+ - Pytorch 2.5.1+cu121
70
+ - Datasets 2.14.5
71
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "medicalai/ClinicalBERT",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "label2id": {
18
+ "LABEL_0": 0,
19
+ "LABEL_1": 1,
20
+ "LABEL_2": 2
21
+ },
22
+ "max_position_embeddings": 512,
23
+ "model_type": "distilbert",
24
+ "n_heads": 12,
25
+ "n_layers": 6,
26
+ "output_past": true,
27
+ "pad_token_id": 0,
28
+ "problem_type": "single_label_classification",
29
+ "qa_dropout": 0.1,
30
+ "seq_classif_dropout": 0.2,
31
+ "sinusoidal_pos_embds": false,
32
+ "tie_weights_": true,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.46.3",
35
+ "vocab_size": 119547
36
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5130a3a25133a5189b6fb93733ba95fd3c3b4efad12162186b3c9fb48df423e9
3
+ size 541320452
runs/Dec13_07-09-08_d16a4796c344/events.out.tfevents.1734073752.d16a4796c344.1215.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:762789e0d7c3381e48db3a65adce7fce6d2851b52885d832c48a1c4b21db2b30
3
+ size 5092
runs/Dec13_07-11-37_d16a4796c344/events.out.tfevents.1734073898.d16a4796c344.1215.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b5ddf3bb3249c59922074b5d0753e3c64d108f20ac278cfdb0d850f862b14a
3
+ size 5092
runs/Dec13_07-13-05_d16a4796c344/events.out.tfevents.1734073986.d16a4796c344.1215.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e29a74d1e4cf5f27ff9f6c72f81eedbf68a34e544a17d2fd622e0e2979ee937b
3
+ size 8031
runs/Dec13_07-22-23_d16a4796c344/events.out.tfevents.1734074544.d16a4796c344.1215.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb07a59a49b216ed2402fa7c7c4394bf8193f1bbfa661bc919bfe9ad3de9ddfc
3
+ size 8031
runs/Dec13_07-29-03_d16a4796c344/events.out.tfevents.1734074944.d16a4796c344.1215.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84aa9eb363cf8dd5f0c54f2f6162407a8e6aa0233336d0c4881cbfa85d3969f0
3
+ size 8031
runs/Dec13_07-37-06_d16a4796c344/events.out.tfevents.1734075428.d16a4796c344.1215.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef1acde9ee7c322a59b3d782c3140f43f91bd56419d0025cb64e0ec88610f48e
3
+ size 8032
runs/Dec13_07-49-53_d16a4796c344/events.out.tfevents.1734076194.d16a4796c344.1215.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d9db55d845100bf281b8e61071611eea9682b64b6d040fab7b9cdfb28f8bdad
3
+ size 8032
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c0e3fbf3355f4a082dac378aafe1179421082f34f4a5f35f75f22556c85c5e2
3
+ size 5240