javicorvi commited on
Commit
b86c506
1 Parent(s): d2e4391

javicorvi/pretoxtm-sentence-classifier

Browse files
Files changed (4) hide show
  1. README.md +12 -14
  2. config.json +1 -1
  3. model.safetensors +1 -1
  4. training_args.bin +2 -2
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 [microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext](https://huggingface.co/microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
- - Loss: 0.0802
24
- - Precision: 0.9778
25
- - Recall: 0.9801
26
  - Accuracy: 0.9795
27
- - F1: 0.9789
28
 
29
  ## Model description
30
 
@@ -43,28 +43,26 @@ More information needed
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
- - learning_rate: 7.755382954990098e-06
47
- - train_batch_size: 8
48
  - eval_batch_size: 8
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 | Accuracy | F1 |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
58
- | No log | 1.0 | 257 | 0.1410 | 0.9593 | 0.9684 | 0.9636 | 0.9628 |
59
- | 0.1997 | 2.0 | 514 | 0.0802 | 0.9778 | 0.9801 | 0.9795 | 0.9789 |
60
- | 0.1997 | 3.0 | 771 | 0.1103 | 0.9824 | 0.9848 | 0.9841 | 0.9836 |
61
- | 0.0514 | 4.0 | 1028 | 0.1139 | 0.9798 | 0.9829 | 0.9818 | 0.9813 |
62
- | 0.0514 | 5.0 | 1285 | 0.1208 | 0.9804 | 0.9821 | 0.9818 | 0.9812 |
63
 
64
 
65
  ### Framework versions
66
 
67
- - Transformers 4.39.2
68
  - Pytorch 2.2.1+cu121
69
  - Datasets 2.18.0
70
  - Tokenizers 0.15.2
 
20
 
21
  This model is a fine-tuned version of [microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext](https://huggingface.co/microsoft/BiomedNLP-BiomedBERT-base-uncased-abstract-fulltext) on an unknown dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.1181
24
+ - Precision: 0.9788
25
+ - Recall: 0.9800
26
  - Accuracy: 0.9795
27
+ - F1: 0.9794
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 1.1848183151867784e-05
47
+ - train_batch_size: 4
48
  - eval_batch_size: 8
49
+ - seed: 1
50
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
  - lr_scheduler_type: linear
52
+ - num_epochs: 3
53
 
54
  ### Training results
55
 
56
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
57
  |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
58
+ | 0.2543 | 1.0 | 514 | 0.1181 | 0.9788 | 0.9800 | 0.9795 | 0.9794 |
59
+ | 0.1344 | 2.0 | 1028 | 0.1488 | 0.9767 | 0.9775 | 0.9773 | 0.9771 |
60
+ | 0.0419 | 3.0 | 1542 | 0.1520 | 0.9767 | 0.9775 | 0.9773 | 0.9771 |
 
 
61
 
62
 
63
  ### Framework versions
64
 
65
+ - Transformers 4.39.3
66
  - Pytorch 2.2.1+cu121
67
  - Datasets 2.18.0
68
  - Tokenizers 0.15.2
config.json CHANGED
@@ -27,7 +27,7 @@
27
  "position_embedding_type": "absolute",
28
  "problem_type": "single_label_classification",
29
  "torch_dtype": "float32",
30
- "transformers_version": "4.39.2",
31
  "type_vocab_size": 2,
32
  "use_cache": true,
33
  "vocab_size": 30522
 
27
  "position_embedding_type": "absolute",
28
  "problem_type": "single_label_classification",
29
  "torch_dtype": "float32",
30
+ "transformers_version": "4.39.3",
31
  "type_vocab_size": 2,
32
  "use_cache": true,
33
  "vocab_size": 30522
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe9c64c65528f684f2f6150137c58978bb21575884774b713d2cbd36f112df19
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91cae5380f97a366947d372f003284672937aded4e3edee7b9cefcef68097e15
3
  size 437958648
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:02921f0a11a038bbebe5d34b968c7edcf6b3947e1b627936a700e9055974e7a4
3
- size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:632010ddb485dfc0f4589869cb50862f46a9be39e3bc575c098c8ba3319e7b34
3
+ size 4856