Model save
Browse files- README.md +79 -0
- generation_config.json +7 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- bleu
|
8 |
+
model-index:
|
9 |
+
- name: gpt2-wikitext
|
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 |
+
# gpt2-wikitext
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 3.1672
|
21 |
+
- Accuracy: 0.4214
|
22 |
+
- Perplexity: 23.7410
|
23 |
+
- Bleu: 0.1474
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0001
|
43 |
+
- train_batch_size: 64
|
44 |
+
- eval_batch_size: 64
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_ratio: 0.1
|
49 |
+
- num_epochs: 5
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Perplexity | Bleu |
|
54 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:----------:|:------:|
|
55 |
+
| 6.0797 | 0.2806 | 500 | 5.9513 | 0.1886 | 384.2374 | 0.0328 |
|
56 |
+
| 5.0682 | 0.5612 | 1000 | 4.9243 | 0.2616 | 137.5896 | 0.0640 |
|
57 |
+
| 4.3376 | 0.8418 | 1500 | 4.2176 | 0.3220 | 67.8687 | 0.0837 |
|
58 |
+
| 3.946 | 1.1223 | 2000 | 3.8835 | 0.3531 | 48.5917 | 0.1062 |
|
59 |
+
| 3.7578 | 1.4029 | 2500 | 3.7072 | 0.3683 | 40.7404 | 0.1239 |
|
60 |
+
| 3.6484 | 1.6835 | 3000 | 3.5824 | 0.3790 | 35.9600 | 0.1312 |
|
61 |
+
| 3.5434 | 1.9641 | 3500 | 3.4942 | 0.3874 | 32.9255 | 0.1354 |
|
62 |
+
| 3.4228 | 2.2447 | 4000 | 3.4280 | 0.3938 | 30.8151 | 0.1332 |
|
63 |
+
| 3.3604 | 2.5253 | 4500 | 3.3732 | 0.3989 | 29.1719 | 0.1409 |
|
64 |
+
| 3.3288 | 2.8058 | 5000 | 3.3268 | 0.4039 | 27.8495 | 0.1396 |
|
65 |
+
| 3.2073 | 3.0864 | 5500 | 3.2888 | 0.4079 | 26.8096 | 0.1410 |
|
66 |
+
| 3.2009 | 3.3670 | 6000 | 3.2614 | 0.4109 | 26.0870 | 0.1426 |
|
67 |
+
| 3.1787 | 3.6476 | 6500 | 3.2330 | 0.4141 | 25.3543 | 0.1394 |
|
68 |
+
| 3.1528 | 3.9282 | 7000 | 3.2094 | 0.4164 | 24.7635 | 0.1459 |
|
69 |
+
| 3.0849 | 4.2088 | 7500 | 3.1927 | 0.4182 | 24.3547 | 0.1420 |
|
70 |
+
| 3.0471 | 4.4893 | 8000 | 3.1799 | 0.4200 | 24.0448 | 0.1476 |
|
71 |
+
| 3.0571 | 4.7699 | 8500 | 3.1672 | 0.4214 | 23.7410 | 0.1474 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.49.0
|
77 |
+
- Pytorch 2.6.0+cu124
|
78 |
+
- Datasets 3.3.2
|
79 |
+
- Tokenizers 0.21.0
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.49.0",
|
6 |
+
"use_cache": false
|
7 |
+
}
|