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: hBERTv1_qqp
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Text Classification
|
14 |
+
type: text-classification
|
15 |
+
dataset:
|
16 |
+
name: glue
|
17 |
+
type: glue
|
18 |
+
config: qqp
|
19 |
+
split: validation
|
20 |
+
args: qqp
|
21 |
+
metrics:
|
22 |
+
- name: Accuracy
|
23 |
+
type: accuracy
|
24 |
+
value: 0.8781103141231759
|
25 |
+
- name: F1
|
26 |
+
type: f1
|
27 |
+
value: 0.8354371201496026
|
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_qqp
|
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.4176
|
38 |
+
- Accuracy: 0.8781
|
39 |
+
- F1: 0.8354
|
40 |
+
- Combined Score: 0.8568
|
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.4011 | 1.0 | 1422 | 0.3665 | 0.8286 | 0.7947 | 0.8116 |
|
74 |
+
| 0.3026 | 2.0 | 2844 | 0.3111 | 0.8625 | 0.8171 | 0.8398 |
|
75 |
+
| 0.2472 | 3.0 | 4266 | 0.3039 | 0.8680 | 0.8222 | 0.8451 |
|
76 |
+
| 0.1983 | 4.0 | 5688 | 0.3232 | 0.8737 | 0.8327 | 0.8532 |
|
77 |
+
| 0.157 | 5.0 | 7110 | 0.3742 | 0.8717 | 0.8194 | 0.8456 |
|
78 |
+
| 0.1251 | 6.0 | 8532 | 0.4009 | 0.8716 | 0.8146 | 0.8431 |
|
79 |
+
| 0.1009 | 7.0 | 9954 | 0.4471 | 0.8699 | 0.8300 | 0.8500 |
|
80 |
+
| 0.0828 | 8.0 | 11376 | 0.4176 | 0.8781 | 0.8354 | 0.8568 |
|
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
|