jaggernaut007 commited on
Commit
cf878dd
·
verified ·
1 Parent(s): 1c40b84

End of training

Browse files
Files changed (4) hide show
  1. README.md +28 -10
  2. config.json +2 -4
  3. model.safetensors +2 -2
  4. training_args.bin +1 -1
README.md CHANGED
@@ -20,11 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
20
 
21
  This model is a fine-tuned version of [Clinical-AI-Apollo/Medical-NER](https://huggingface.co/Clinical-AI-Apollo/Medical-NER) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.1886
24
- - Precision: 0.9483
25
- - Recall: 0.9420
26
- - F1: 0.9451
27
- - Accuracy: 0.9405
28
 
29
  ## Model description
30
 
@@ -43,19 +43,37 @@ More information needed
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
- - learning_rate: 2e-05
47
  - train_batch_size: 4
48
  - eval_batch_size: 4
49
  - seed: 42
50
- - gradient_accumulation_steps: 4
51
- - total_train_batch_size: 16
52
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
  - lr_scheduler_type: linear
54
- - num_epochs: 5
55
- - mixed_precision_training: Native AMP
56
 
57
  ### Training results
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
 
61
  ### Framework versions
 
20
 
21
  This model is a fine-tuned version of [Clinical-AI-Apollo/Medical-NER](https://huggingface.co/Clinical-AI-Apollo/Medical-NER) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.2045
24
+ - Precision: 0.9394
25
+ - Recall: 0.9282
26
+ - F1: 0.9338
27
+ - Accuracy: 0.9296
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 2e-06
47
  - train_batch_size: 4
48
  - eval_batch_size: 4
49
  - seed: 42
 
 
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
+ - num_epochs: 10
 
53
 
54
  ### Training results
55
 
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 0.37 | 100 | 0.4486 | 0.8318 | 0.8662 | 0.8486 | 0.8331 |
59
+ | No log | 0.75 | 200 | 0.3747 | 0.8608 | 0.8834 | 0.8720 | 0.8646 |
60
+ | No log | 1.12 | 300 | 0.3245 | 0.8801 | 0.8932 | 0.8866 | 0.8828 |
61
+ | No log | 1.49 | 400 | 0.2846 | 0.9128 | 0.9038 | 0.9083 | 0.9028 |
62
+ | 0.4808 | 1.87 | 500 | 0.2554 | 0.9199 | 0.9067 | 0.9133 | 0.9083 |
63
+ | 0.4808 | 2.24 | 600 | 0.2480 | 0.9270 | 0.9073 | 0.9171 | 0.9102 |
64
+ | 0.4808 | 2.61 | 700 | 0.2269 | 0.9271 | 0.9172 | 0.9221 | 0.9171 |
65
+ | 0.4808 | 2.99 | 800 | 0.2319 | 0.9270 | 0.9089 | 0.9179 | 0.9129 |
66
+ | 0.4808 | 3.36 | 900 | 0.2303 | 0.9284 | 0.9088 | 0.9185 | 0.9133 |
67
+ | 0.2633 | 3.73 | 1000 | 0.2246 | 0.9311 | 0.9111 | 0.9210 | 0.9155 |
68
+ | 0.2633 | 4.1 | 1100 | 0.2120 | 0.9343 | 0.9218 | 0.9280 | 0.9236 |
69
+ | 0.2633 | 4.48 | 1200 | 0.2111 | 0.9361 | 0.9222 | 0.9291 | 0.9243 |
70
+ | 0.2633 | 4.85 | 1300 | 0.2152 | 0.9320 | 0.9185 | 0.9252 | 0.9208 |
71
+ | 0.2633 | 5.22 | 1400 | 0.2068 | 0.9333 | 0.9227 | 0.9280 | 0.9239 |
72
+ | 0.2218 | 5.6 | 1500 | 0.2070 | 0.9360 | 0.9256 | 0.9308 | 0.9267 |
73
+ | 0.2218 | 5.97 | 1600 | 0.2045 | 0.9394 | 0.9282 | 0.9338 | 0.9296 |
74
+ | 0.2218 | 6.34 | 1700 | 0.2020 | 0.9357 | 0.9275 | 0.9316 | 0.9284 |
75
+ | 0.2218 | 6.72 | 1800 | 0.2054 | 0.9354 | 0.9227 | 0.9290 | 0.9246 |
76
+ | 0.2218 | 7.09 | 1900 | 0.2053 | 0.9372 | 0.9253 | 0.9312 | 0.9269 |
77
 
78
 
79
  ### Framework versions
config.json CHANGED
@@ -11,8 +11,7 @@
11
  "0": "LABEL_0",
12
  "1": "LABEL_1",
13
  "2": "LABEL_2",
14
- "3": "LABEL_3",
15
- "4": "LABEL_4"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
@@ -20,8 +19,7 @@
20
  "LABEL_0": 0,
21
  "LABEL_1": 1,
22
  "LABEL_2": 2,
23
- "LABEL_3": 3,
24
- "LABEL_4": 4
25
  },
26
  "layer_norm_eps": 1e-07,
27
  "max_position_embeddings": 512,
 
11
  "0": "LABEL_0",
12
  "1": "LABEL_1",
13
  "2": "LABEL_2",
14
+ "3": "LABEL_3"
 
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
 
19
  "LABEL_0": 0,
20
  "LABEL_1": 1,
21
  "LABEL_2": 2,
22
+ "LABEL_3": 3
 
23
  },
24
  "layer_norm_eps": 1e-07,
25
  "max_position_embeddings": 512,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d5274078a776dd953b0390ee77fc2d3335ecd6e77093c3fa28017bef2033ef5
3
- size 735365964
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:490e13939d69307a2a6946adb3aaa26d86c618f5272c46448ca8bc265bb0a0b5
3
+ size 735362800
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:429f9a5397d21c04b6c82646ed585300c0105bd1539e5e6ae89c9bb49a39b6c5
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ab3f3b39635cc5df4584fe1ac9aebb465b2a544014dd5cab2afd996c665ae77
3
  size 4920