Commit
·
eef976f
1
Parent(s):
2f3762f
End of training
Browse files- README.md +79 -0
- generation_config.json +5 -0
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: bert-base-uncased
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
datasets:
|
| 7 |
+
- wikitext
|
| 8 |
+
model-index:
|
| 9 |
+
- name: run_opt
|
| 10 |
+
results: []
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
+
|
| 16 |
+
# run_opt
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the wikitext dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 0.2727
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 0.0001
|
| 40 |
+
- train_batch_size: 64
|
| 41 |
+
- eval_batch_size: 64
|
| 42 |
+
- seed: 42
|
| 43 |
+
- gradient_accumulation_steps: 8
|
| 44 |
+
- total_train_batch_size: 512
|
| 45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
+
- lr_scheduler_type: cosine
|
| 47 |
+
- lr_scheduler_warmup_steps: 100
|
| 48 |
+
- num_epochs: 10
|
| 49 |
+
|
| 50 |
+
### Training results
|
| 51 |
+
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 53 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 54 |
+
| 9.1471 | 0.55 | 50 | 7.9703 |
|
| 55 |
+
| 7.1714 | 1.1 | 100 | 6.6558 |
|
| 56 |
+
| 6.4707 | 1.65 | 150 | 6.2924 |
|
| 57 |
+
| 6.072 | 2.19 | 200 | 5.8048 |
|
| 58 |
+
| 5.1389 | 2.74 | 250 | 3.8826 |
|
| 59 |
+
| 3.1897 | 3.29 | 300 | 2.3133 |
|
| 60 |
+
| 1.9697 | 3.84 | 350 | 1.4230 |
|
| 61 |
+
| 1.2783 | 4.39 | 400 | 0.9488 |
|
| 62 |
+
| 0.8952 | 4.94 | 450 | 0.6810 |
|
| 63 |
+
| 0.6593 | 5.49 | 500 | 0.5228 |
|
| 64 |
+
| 0.5278 | 6.04 | 550 | 0.4249 |
|
| 65 |
+
| 0.4339 | 6.58 | 600 | 0.3630 |
|
| 66 |
+
| 0.3809 | 7.13 | 650 | 0.3237 |
|
| 67 |
+
| 0.3443 | 7.68 | 700 | 0.2991 |
|
| 68 |
+
| 0.3212 | 8.23 | 750 | 0.2843 |
|
| 69 |
+
| 0.3094 | 8.78 | 800 | 0.2765 |
|
| 70 |
+
| 0.3033 | 9.33 | 850 | 0.2734 |
|
| 71 |
+
| 0.3 | 9.88 | 900 | 0.2727 |
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
### Framework versions
|
| 75 |
+
|
| 76 |
+
- Transformers 4.33.1
|
| 77 |
+
- Pytorch 1.12.1
|
| 78 |
+
- Datasets 2.14.6
|
| 79 |
+
- Tokenizers 0.13.3
|
generation_config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"pad_token_id": 0,
|
| 4 |
+
"transformers_version": "4.33.1"
|
| 5 |
+
}
|