javicorvi/pretoxtm-sentence-classifier
Browse files- README.md +12 -14
- config.json +1 -1
- model.safetensors +1 -1
- 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.
|
24 |
-
- Precision: 0.
|
25 |
-
- Recall: 0.
|
26 |
- Accuracy: 0.9795
|
27 |
-
- F1: 0.
|
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:
|
47 |
-
- train_batch_size:
|
48 |
- eval_batch_size: 8
|
49 |
-
- seed:
|
50 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
- lr_scheduler_type: linear
|
52 |
-
- num_epochs:
|
53 |
|
54 |
### Training results
|
55 |
|
56 |
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
|
57 |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
|
58 |
-
|
|
59 |
-
| 0.
|
60 |
-
| 0.
|
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.
|
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.
|
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:
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:632010ddb485dfc0f4589869cb50862f46a9be39e3bc575c098c8ba3319e7b34
|
3 |
+
size 4856
|