update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
- f1
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: bert-finetuned-v4
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# bert-finetuned-v4
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on an unknown dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.2909
|
23 |
+
- Precision: 0.8557
|
24 |
+
- Recall: 0.9247
|
25 |
+
- F1: 0.8889
|
26 |
+
- Accuracy: 0.9285
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 2e-05
|
46 |
+
- train_batch_size: 8
|
47 |
+
- eval_batch_size: 8
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 15
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
57 |
+
| 2.0586 | 1.0 | 10 | 1.5601 | 0.1278 | 0.1559 | 0.1404 | 0.4750 |
|
58 |
+
| 1.3702 | 2.0 | 20 | 1.0113 | 0.3947 | 0.5645 | 0.4646 | 0.7150 |
|
59 |
+
| 0.8872 | 3.0 | 30 | 0.6645 | 0.5224 | 0.6882 | 0.5940 | 0.8051 |
|
60 |
+
| 0.5341 | 4.0 | 40 | 0.4741 | 0.6754 | 0.8280 | 0.7440 | 0.8541 |
|
61 |
+
| 0.3221 | 5.0 | 50 | 0.3831 | 0.7523 | 0.8817 | 0.8119 | 0.8883 |
|
62 |
+
| 0.2168 | 6.0 | 60 | 0.3297 | 0.7731 | 0.8978 | 0.8308 | 0.9079 |
|
63 |
+
| 0.1565 | 7.0 | 70 | 0.2998 | 0.8195 | 0.9032 | 0.8593 | 0.9128 |
|
64 |
+
| 0.1227 | 8.0 | 80 | 0.3227 | 0.8038 | 0.9032 | 0.8506 | 0.9099 |
|
65 |
+
| 0.0957 | 9.0 | 90 | 0.2840 | 0.8431 | 0.9247 | 0.8821 | 0.9216 |
|
66 |
+
| 0.077 | 10.0 | 100 | 0.2914 | 0.8252 | 0.9140 | 0.8673 | 0.9216 |
|
67 |
+
| 0.0691 | 11.0 | 110 | 0.2850 | 0.8431 | 0.9247 | 0.8821 | 0.9285 |
|
68 |
+
| 0.059 | 12.0 | 120 | 0.2886 | 0.8564 | 0.9301 | 0.8918 | 0.9285 |
|
69 |
+
| 0.0528 | 13.0 | 130 | 0.2838 | 0.8564 | 0.9301 | 0.8918 | 0.9305 |
|
70 |
+
| 0.0488 | 14.0 | 140 | 0.2881 | 0.8515 | 0.9247 | 0.8866 | 0.9305 |
|
71 |
+
| 0.049 | 15.0 | 150 | 0.2909 | 0.8557 | 0.9247 | 0.8889 | 0.9285 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.25.1
|
77 |
+
- Pytorch 1.13.0+cu116
|
78 |
+
- Datasets 2.8.0
|
79 |
+
- Tokenizers 0.13.2
|