Rodrigo1771 commited on
Commit
5109da0
1 Parent(s): 6e13f12

Model save

Browse files
README.md CHANGED
@@ -2,10 +2,9 @@
2
  license: apache-2.0
3
  base_model: PlanTL-GOB-ES/bsc-bio-ehr-es
4
  tags:
5
- - token-classification
6
  - generated_from_trainer
7
  datasets:
8
- - Rodrigo1771/combined-train-drugtemist-dev-ner
9
  metrics:
10
  - precision
11
  - recall
@@ -18,24 +17,24 @@ model-index:
18
  name: Token Classification
19
  type: token-classification
20
  dataset:
21
- name: Rodrigo1771/combined-train-drugtemist-dev-ner
22
- type: Rodrigo1771/combined-train-drugtemist-dev-ner
23
- config: CombinedTrainDrugTEMISTDevNER
24
  split: validation
25
- args: CombinedTrainDrugTEMISTDevNER
26
  metrics:
27
  - name: Precision
28
  type: precision
29
- value: 0.09532555790247038
30
  - name: Recall
31
  type: recall
32
- value: 0.9540441176470589
33
  - name: F1
34
  type: f1
35
- value: 0.17333222008850296
36
  - name: Accuracy
37
  type: accuracy
38
- value: 0.7932840841995413
39
  ---
40
 
41
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -43,13 +42,13 @@ should probably proofread and complete it, then remove this comment. -->
43
 
44
  # output
45
 
46
- This model is a fine-tuned version of [PlanTL-GOB-ES/bsc-bio-ehr-es](https://huggingface.co/PlanTL-GOB-ES/bsc-bio-ehr-es) on the Rodrigo1771/combined-train-drugtemist-dev-ner dataset.
47
  It achieves the following results on the evaluation set:
48
- - Loss: 1.0503
49
- - Precision: 0.0953
50
- - Recall: 0.9540
51
- - F1: 0.1733
52
- - Accuracy: 0.7933
53
 
54
  ## Model description
55
 
@@ -82,16 +81,16 @@ The following hyperparameters were used during training:
82
 
83
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
84
  |:-------------:|:------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
85
- | No log | 0.9988 | 425 | 0.6611 | 0.0883 | 0.9292 | 0.1613 | 0.7850 |
86
- | 0.3349 | 2.0 | 851 | 0.9204 | 0.0787 | 0.9301 | 0.1451 | 0.7551 |
87
- | 0.1788 | 2.9988 | 1276 | 0.9545 | 0.0844 | 0.9329 | 0.1549 | 0.7645 |
88
- | 0.1227 | 4.0 | 1702 | 1.0924 | 0.0885 | 0.9412 | 0.1618 | 0.7692 |
89
- | 0.0856 | 4.9988 | 2127 | 1.0503 | 0.0953 | 0.9540 | 0.1733 | 0.7933 |
90
- | 0.0597 | 6.0 | 2553 | 1.2642 | 0.0912 | 0.9449 | 0.1663 | 0.7788 |
91
- | 0.0597 | 6.9988 | 2978 | 1.3262 | 0.0928 | 0.9485 | 0.1690 | 0.7829 |
92
- | 0.0458 | 8.0 | 3404 | 1.3698 | 0.0926 | 0.9522 | 0.1688 | 0.7849 |
93
- | 0.0343 | 8.9988 | 3829 | 1.4433 | 0.0907 | 0.9449 | 0.1655 | 0.7822 |
94
- | 0.0292 | 9.9882 | 4250 | 1.4862 | 0.0914 | 0.9458 | 0.1667 | 0.7821 |
95
 
96
 
97
  ### Framework versions
 
2
  license: apache-2.0
3
  base_model: PlanTL-GOB-ES/bsc-bio-ehr-es
4
  tags:
 
5
  - generated_from_trainer
6
  datasets:
7
+ - distemist-ner
8
  metrics:
9
  - precision
10
  - recall
 
17
  name: Token Classification
18
  type: token-classification
19
  dataset:
20
+ name: distemist-ner
21
+ type: distemist-ner
22
+ config: DisTEMIST NER
23
  split: validation
24
+ args: DisTEMIST NER
25
  metrics:
26
  - name: Precision
27
  type: precision
28
+ value: 0.7882031427920747
29
  - name: Recall
30
  type: recall
31
+ value: 0.8097800655124006
32
  - name: F1
33
  type: f1
34
+ value: 0.7988459319099828
35
  - name: Accuracy
36
  type: accuracy
37
+ value: 0.9766776058330014
38
  ---
39
 
40
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
42
 
43
  # output
44
 
45
+ This model is a fine-tuned version of [PlanTL-GOB-ES/bsc-bio-ehr-es](https://huggingface.co/PlanTL-GOB-ES/bsc-bio-ehr-es) on the distemist-ner dataset.
46
  It achieves the following results on the evaluation set:
47
+ - Loss: 0.1367
48
+ - Precision: 0.7882
49
+ - Recall: 0.8098
50
+ - F1: 0.7988
51
+ - Accuracy: 0.9767
52
 
53
  ## Model description
54
 
 
81
 
82
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
83
  |:-------------:|:------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
84
+ | No log | 0.9988 | 425 | 0.0738 | 0.7233 | 0.7866 | 0.7536 | 0.9733 |
85
+ | 0.0996 | 2.0 | 851 | 0.0787 | 0.7364 | 0.8065 | 0.7698 | 0.9743 |
86
+ | 0.0458 | 2.9988 | 1276 | 0.0788 | 0.7715 | 0.8154 | 0.7929 | 0.9759 |
87
+ | 0.0279 | 4.0 | 1702 | 0.0922 | 0.7754 | 0.8112 | 0.7929 | 0.9757 |
88
+ | 0.0169 | 4.9988 | 2127 | 0.0994 | 0.7585 | 0.8163 | 0.7863 | 0.9744 |
89
+ | 0.0114 | 6.0 | 2553 | 0.1080 | 0.7766 | 0.8058 | 0.7909 | 0.9765 |
90
+ | 0.0114 | 6.9988 | 2978 | 0.1166 | 0.7792 | 0.8100 | 0.7943 | 0.9760 |
91
+ | 0.0079 | 8.0 | 3404 | 0.1294 | 0.7939 | 0.8093 | 0.8015 | 0.9768 |
92
+ | 0.0053 | 8.9988 | 3829 | 0.1340 | 0.7876 | 0.8105 | 0.7989 | 0.9766 |
93
+ | 0.0038 | 9.9882 | 4250 | 0.1367 | 0.7882 | 0.8098 | 0.7988 | 0.9767 |
94
 
95
 
96
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:330e96edeac6225449c5591541d607c0e092e4936d47f3ad60c87e78453fc12e
3
  size 496244100
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6026be240f87a4fc70253ff6e37cf795b93399098bcc5e7dbc2d3ff76e7dcea3
3
  size 496244100
tb/events.out.tfevents.1725049548.6b97e535edda.20735.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1342923497305415fbad0344b56c8f0bde91efd2f3828fdedebab38b1b40be32
3
- size 11051
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:288393d27fba4eca473a2f23089dcbee70efa764ffa6c2e99b2653da55d02bfe
3
+ size 11877
train.log CHANGED
@@ -1496,3 +1496,16 @@ Training completed. Do not forget to share your model on huggingface.co/models =
1496
  [INFO|trainer.py:2621] 2024-08-30 20:45:52,646 >> Loading best model from /content/dissertation/scripts/ner/output/checkpoint-3404 (score: 0.8015293708724366).
1497
 
1498
 
1499
  [INFO|trainer.py:4239] 2024-08-30 20:45:52,840 >> Waiting for the current checkpoint push to be finished, this might take a couple of minutes.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1496
  [INFO|trainer.py:2621] 2024-08-30 20:45:52,646 >> Loading best model from /content/dissertation/scripts/ner/output/checkpoint-3404 (score: 0.8015293708724366).
1497
 
1498
 
1499
  [INFO|trainer.py:4239] 2024-08-30 20:45:52,840 >> Waiting for the current checkpoint push to be finished, this might take a couple of minutes.
1500
+ [INFO|trainer.py:3478] 2024-08-30 20:45:55,484 >> Saving model checkpoint to /content/dissertation/scripts/ner/output
1501
+ [INFO|configuration_utils.py:472] 2024-08-30 20:45:55,486 >> Configuration saved in /content/dissertation/scripts/ner/output/config.json
1502
+ [INFO|modeling_utils.py:2690] 2024-08-30 20:45:56,829 >> Model weights saved in /content/dissertation/scripts/ner/output/model.safetensors
1503
+ [INFO|tokenization_utils_base.py:2574] 2024-08-30 20:45:56,830 >> tokenizer config file saved in /content/dissertation/scripts/ner/output/tokenizer_config.json
1504
+ [INFO|tokenization_utils_base.py:2583] 2024-08-30 20:45:56,830 >> Special tokens file saved in /content/dissertation/scripts/ner/output/special_tokens_map.json
1505
+ [INFO|trainer.py:3478] 2024-08-30 20:45:56,879 >> Saving model checkpoint to /content/dissertation/scripts/ner/output
1506
+ [INFO|configuration_utils.py:472] 2024-08-30 20:45:56,881 >> Configuration saved in /content/dissertation/scripts/ner/output/config.json
1507
+ [INFO|modeling_utils.py:2690] 2024-08-30 20:45:58,218 >> Model weights saved in /content/dissertation/scripts/ner/output/model.safetensors
1508
+ [INFO|tokenization_utils_base.py:2574] 2024-08-30 20:45:58,219 >> tokenizer config file saved in /content/dissertation/scripts/ner/output/tokenizer_config.json
1509
+ [INFO|tokenization_utils_base.py:2583] 2024-08-30 20:45:58,219 >> Special tokens file saved in /content/dissertation/scripts/ner/output/special_tokens_map.json
1510
+ {'eval_loss': 0.13674204051494598, 'eval_precision': 0.7882031427920747, 'eval_recall': 0.8097800655124006, 'eval_f1': 0.7988459319099828, 'eval_accuracy': 0.9766776058330014, 'eval_runtime': 14.8828, 'eval_samples_per_second': 457.575, 'eval_steps_per_second': 57.247, 'epoch': 9.99}
1511
+ {'train_runtime': 1203.9865, 'train_samples_per_second': 226.157, 'train_steps_per_second': 3.53, 'train_loss': 0.02590363489880281, 'epoch': 9.99}
1512
+