End of training
Browse files- README.md +88 -0
- config.json +32 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Karzan/gpt2-walamakan
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: gpt2-walamakan-2
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# gpt2-walamakan-2
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [Karzan/gpt2-walamakan](https://huggingface.co/Karzan/gpt2-walamakan) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 6.4828
|
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: 3e-05
|
38 |
+
- train_batch_size: 8
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- gradient_accumulation_steps: 4
|
42 |
+
- total_train_batch_size: 32
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: linear
|
45 |
+
- num_epochs: 30
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
51 |
+
| 1.1881 | 1.0 | 94 | 6.0972 |
|
52 |
+
| 1.2034 | 2.0 | 188 | 6.0652 |
|
53 |
+
| 1.1824 | 3.0 | 282 | 6.0496 |
|
54 |
+
| 1.1121 | 4.0 | 376 | 6.0788 |
|
55 |
+
| 1.0076 | 5.0 | 470 | 6.1131 |
|
56 |
+
| 0.9701 | 6.0 | 564 | 6.1266 |
|
57 |
+
| 0.9139 | 7.0 | 658 | 6.1638 |
|
58 |
+
| 0.853 | 8.0 | 752 | 6.1843 |
|
59 |
+
| 0.8127 | 9.0 | 846 | 6.2386 |
|
60 |
+
| 0.7804 | 10.0 | 940 | 6.2518 |
|
61 |
+
| 0.7446 | 11.0 | 1034 | 6.2697 |
|
62 |
+
| 0.6978 | 12.0 | 1128 | 6.2918 |
|
63 |
+
| 0.6735 | 13.0 | 1222 | 6.3343 |
|
64 |
+
| 0.6361 | 14.0 | 1316 | 6.3382 |
|
65 |
+
| 0.613 | 15.0 | 1410 | 6.3714 |
|
66 |
+
| 0.5922 | 16.0 | 1504 | 6.3673 |
|
67 |
+
| 0.5547 | 17.0 | 1598 | 6.3919 |
|
68 |
+
| 0.5458 | 18.0 | 1692 | 6.3803 |
|
69 |
+
| 0.5256 | 19.0 | 1786 | 6.4164 |
|
70 |
+
| 0.5317 | 20.0 | 1880 | 6.4344 |
|
71 |
+
| 0.4977 | 21.0 | 1974 | 6.4412 |
|
72 |
+
| 0.4871 | 22.0 | 2068 | 6.4548 |
|
73 |
+
| 0.4763 | 23.0 | 2162 | 6.4629 |
|
74 |
+
| 0.4673 | 24.0 | 2256 | 6.4557 |
|
75 |
+
| 0.4664 | 25.0 | 2350 | 6.4701 |
|
76 |
+
| 0.4452 | 26.0 | 2444 | 6.4636 |
|
77 |
+
| 0.4361 | 27.0 | 2538 | 6.4771 |
|
78 |
+
| 0.428 | 28.0 | 2632 | 6.4834 |
|
79 |
+
| 0.4253 | 29.0 | 2726 | 6.4825 |
|
80 |
+
| 0.4287 | 30.0 | 2820 | 6.4828 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.32.0
|
86 |
+
- Pytorch 2.0.1+cu118
|
87 |
+
- Datasets 2.14.4
|
88 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Karzan/gpt2-walamakan",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 0,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-06,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_embd": 768,
|
15 |
+
"n_head": 8,
|
16 |
+
"n_inner": null,
|
17 |
+
"n_layer": 10,
|
18 |
+
"n_positions": 1024,
|
19 |
+
"reorder_and_upcast_attn": false,
|
20 |
+
"resid_pdrop": 0.1,
|
21 |
+
"scale_attn_by_inverse_layer_idx": false,
|
22 |
+
"scale_attn_weights": true,
|
23 |
+
"summary_activation": "tanh",
|
24 |
+
"summary_first_dropout": 0.1,
|
25 |
+
"summary_proj_to_labels": true,
|
26 |
+
"summary_type": "cls_index",
|
27 |
+
"summary_use_proj": true,
|
28 |
+
"torch_dtype": "float32",
|
29 |
+
"transformers_version": "4.32.0",
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 184789
|
32 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 0,
|
5 |
+
"transformers_version": "4.32.0"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:093981cc77cc90a315b8475f0555f9e78802f334d1e6e04ed6e8a76612f3fa39
|
3 |
+
size 854378685
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f49e5cda68555b21fa025a8c78120db88623fcf293cb3d669e4e5093398c7db
|
3 |
+
size 4027
|