update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- glue
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: hBERTv1_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.6838235294117647
|
25 |
+
- name: F1
|
26 |
+
type: f1
|
27 |
+
value: 0.7809847198641766
|
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 |
+
# hBERTv1_mrpc
|
34 |
+
|
35 |
+
This model is a fine-tuned version of [gokuls/bert_12_layer_model_v1](https://huggingface.co/gokuls/bert_12_layer_model_v1) on the glue dataset.
|
36 |
+
It achieves the following results on the evaluation set:
|
37 |
+
- Loss: 0.9708
|
38 |
+
- Accuracy: 0.6838
|
39 |
+
- F1: 0.7810
|
40 |
+
- Combined Score: 0.7324
|
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.6536 | 1.0 | 15 | 0.6243 | 0.6838 | 0.8122 | 0.7480 |
|
74 |
+
| 0.6275 | 2.0 | 30 | 0.6174 | 0.7010 | 0.8117 | 0.7564 |
|
75 |
+
| 0.6129 | 3.0 | 45 | 0.6089 | 0.6961 | 0.8182 | 0.7571 |
|
76 |
+
| 0.6087 | 4.0 | 60 | 0.6062 | 0.6887 | 0.8130 | 0.7508 |
|
77 |
+
| 0.5939 | 5.0 | 75 | 0.6104 | 0.6863 | 0.7935 | 0.7399 |
|
78 |
+
| 0.5707 | 6.0 | 90 | 0.6184 | 0.7083 | 0.8183 | 0.7633 |
|
79 |
+
| 0.5426 | 7.0 | 105 | 0.6051 | 0.6863 | 0.8000 | 0.7431 |
|
80 |
+
| 0.4819 | 8.0 | 120 | 0.6560 | 0.6936 | 0.8019 | 0.7478 |
|
81 |
+
| 0.4279 | 9.0 | 135 | 0.6673 | 0.6887 | 0.7678 | 0.7283 |
|
82 |
+
| 0.3374 | 10.0 | 150 | 0.8092 | 0.6863 | 0.7902 | 0.7382 |
|
83 |
+
| 0.2789 | 11.0 | 165 | 0.9342 | 0.6887 | 0.7935 | 0.7411 |
|
84 |
+
| 0.2216 | 12.0 | 180 | 0.9708 | 0.6838 | 0.7810 | 0.7324 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.26.1
|
90 |
+
- Pytorch 1.14.0a0+410ce96
|
91 |
+
- Datasets 2.10.1
|
92 |
+
- Tokenizers 0.13.2
|