update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: rule_learning_margin_1mm
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# rule_learning_margin_1mm
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 0.3813
|
18 |
+
- Margin Accuracy: 0.8240
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 4
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 2000
|
42 |
+
- total_train_batch_size: 8000
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 3.0
|
46 |
+
- mixed_precision_training: Native AMP
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Margin Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------------:|
|
52 |
+
| 0.6482 | 0.16 | 20 | 0.6494 | 0.7263 |
|
53 |
+
| 0.5151 | 0.32 | 40 | 0.5088 | 0.7792 |
|
54 |
+
| 0.4822 | 0.48 | 60 | 0.4429 | 0.8045 |
|
55 |
+
| 0.4472 | 0.64 | 80 | 0.4265 | 0.8107 |
|
56 |
+
| 0.4352 | 0.8 | 100 | 0.4155 | 0.8132 |
|
57 |
+
| 0.4335 | 0.96 | 120 | 0.4128 | 0.8116 |
|
58 |
+
| 0.4113 | 1.12 | 140 | 0.4119 | 0.8142 |
|
59 |
+
| 0.4186 | 1.28 | 160 | 0.4075 | 0.8120 |
|
60 |
+
| 0.42 | 1.44 | 180 | 0.4072 | 0.8123 |
|
61 |
+
| 0.4175 | 1.6 | 200 | 0.4080 | 0.8130 |
|
62 |
+
| 0.4097 | 1.76 | 220 | 0.4031 | 0.8128 |
|
63 |
+
| 0.397 | 1.92 | 240 | 0.4004 | 0.8130 |
|
64 |
+
| 0.4115 | 2.08 | 260 | 0.3979 | 0.8136 |
|
65 |
+
| 0.4108 | 2.24 | 280 | 0.3940 | 0.8167 |
|
66 |
+
| 0.4125 | 2.4 | 300 | 0.3879 | 0.8218 |
|
67 |
+
| 0.4117 | 2.56 | 320 | 0.3848 | 0.8217 |
|
68 |
+
| 0.3967 | 2.72 | 340 | 0.3818 | 0.8231 |
|
69 |
+
| 0.3947 | 2.88 | 360 | 0.3813 | 0.8240 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.19.2
|
75 |
+
- Pytorch 1.11.0
|
76 |
+
- Datasets 2.2.1
|
77 |
+
- Tokenizers 0.12.1
|