update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- glue
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: hBERTv2_mrpc
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Text Classification
|
14 |
+
type: text-classification
|
15 |
+
dataset:
|
16 |
+
name: glue
|
17 |
+
type: glue
|
18 |
+
config: mrpc
|
19 |
+
split: validation
|
20 |
+
args: mrpc
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.7622549019607843
|
25 |
+
- name: F1
|
26 |
+
type: f1
|
27 |
+
value: 0.8380634390651085
|
28 |
+
---
|
29 |
+
|
30 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
31 |
+
should probably proofread and complete it, then remove this comment. -->
|
32 |
+
|
33 |
+
# hBERTv2_mrpc
|
34 |
+
|
35 |
+
This model is a fine-tuned version of [gokuls/bert_12_layer_model_v2](https://huggingface.co/gokuls/bert_12_layer_model_v2) on the glue dataset.
|
36 |
+
It achieves the following results on the evaluation set:
|
37 |
+
- Loss: 0.9954
|
38 |
+
- Accuracy: 0.7623
|
39 |
+
- F1: 0.8381
|
40 |
+
- Combined Score: 0.8002
|
41 |
+
|
42 |
+
## Model description
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Intended uses & limitations
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training and evaluation data
|
51 |
+
|
52 |
+
More information needed
|
53 |
+
|
54 |
+
## Training procedure
|
55 |
+
|
56 |
+
### Training hyperparameters
|
57 |
+
|
58 |
+
The following hyperparameters were used during training:
|
59 |
+
- learning_rate: 5e-05
|
60 |
+
- train_batch_size: 256
|
61 |
+
- eval_batch_size: 256
|
62 |
+
- seed: 10
|
63 |
+
- distributed_type: multi-GPU
|
64 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
65 |
+
- lr_scheduler_type: linear
|
66 |
+
- num_epochs: 50
|
67 |
+
- mixed_precision_training: Native AMP
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Combined Score |
|
72 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------------:|
|
73 |
+
| 0.6388 | 1.0 | 15 | 0.6297 | 0.6838 | 0.8122 | 0.7480 |
|
74 |
+
| 0.612 | 2.0 | 30 | 0.6315 | 0.6887 | 0.8135 | 0.7511 |
|
75 |
+
| 0.5725 | 3.0 | 45 | 0.5772 | 0.6936 | 0.8086 | 0.7511 |
|
76 |
+
| 0.512 | 4.0 | 60 | 0.6261 | 0.7010 | 0.8152 | 0.7581 |
|
77 |
+
| 0.3924 | 5.0 | 75 | 0.6433 | 0.7279 | 0.8195 | 0.7737 |
|
78 |
+
| 0.2592 | 6.0 | 90 | 0.7531 | 0.6863 | 0.7594 | 0.7228 |
|
79 |
+
| 0.1689 | 7.0 | 105 | 0.7904 | 0.7377 | 0.8158 | 0.7768 |
|
80 |
+
| 0.1292 | 8.0 | 120 | 0.9954 | 0.7623 | 0.8381 | 0.8002 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.26.1
|
86 |
+
- Pytorch 1.14.0a0+410ce96
|
87 |
+
- Datasets 2.10.1
|
88 |
+
- Tokenizers 0.13.2
|