update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- glue
|
6 |
+
metrics:
|
7 |
+
- spearmanr
|
8 |
+
model-index:
|
9 |
+
- name: hBERTv2_stsb
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
name: Text Classification
|
13 |
+
type: text-classification
|
14 |
+
dataset:
|
15 |
+
name: glue
|
16 |
+
type: glue
|
17 |
+
config: stsb
|
18 |
+
split: validation
|
19 |
+
args: stsb
|
20 |
+
metrics:
|
21 |
+
- name: Spearmanr
|
22 |
+
type: spearmanr
|
23 |
+
value: 0.7823687091799434
|
24 |
+
---
|
25 |
+
|
26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
+
should probably proofread and complete it, then remove this comment. -->
|
28 |
+
|
29 |
+
# hBERTv2_stsb
|
30 |
+
|
31 |
+
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.
|
32 |
+
It achieves the following results on the evaluation set:
|
33 |
+
- Loss: 1.1525
|
34 |
+
- Pearson: 0.7836
|
35 |
+
- Spearmanr: 0.7824
|
36 |
+
- Combined Score: 0.7830
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 256
|
57 |
+
- eval_batch_size: 256
|
58 |
+
- seed: 10
|
59 |
+
- distributed_type: multi-GPU
|
60 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
+
- lr_scheduler_type: linear
|
62 |
+
- num_epochs: 50
|
63 |
+
- mixed_precision_training: Native AMP
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Pearson | Spearmanr | Combined Score |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:---------:|:--------------:|
|
69 |
+
| 4.4386 | 1.0 | 23 | 2.5331 | 0.1313 | 0.1071 | 0.1192 |
|
70 |
+
| 1.8741 | 2.0 | 46 | 2.0517 | 0.4923 | 0.4766 | 0.4844 |
|
71 |
+
| 1.347 | 3.0 | 69 | 1.3556 | 0.6964 | 0.7079 | 0.7022 |
|
72 |
+
| 0.8443 | 4.0 | 92 | 1.2583 | 0.7340 | 0.7367 | 0.7353 |
|
73 |
+
| 0.5822 | 5.0 | 115 | 0.9534 | 0.7722 | 0.7707 | 0.7714 |
|
74 |
+
| 0.4356 | 6.0 | 138 | 1.1921 | 0.7798 | 0.7771 | 0.7785 |
|
75 |
+
| 0.3531 | 7.0 | 161 | 1.3849 | 0.7701 | 0.7700 | 0.7700 |
|
76 |
+
| 0.2712 | 8.0 | 184 | 1.0015 | 0.7886 | 0.7870 | 0.7878 |
|
77 |
+
| 0.259 | 9.0 | 207 | 1.0523 | 0.7898 | 0.7874 | 0.7886 |
|
78 |
+
| 0.2003 | 10.0 | 230 | 1.1525 | 0.7836 | 0.7824 | 0.7830 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.26.1
|
84 |
+
- Pytorch 1.14.0a0+410ce96
|
85 |
+
- Datasets 2.10.1
|
86 |
+
- Tokenizers 0.13.2
|