ahmed792002
commited on
Commit
•
60d8ec3
1
Parent(s):
dae7251
gpt-2-alzh
Browse files- README.md +57 -9
- config.json +1 -1
- generation_config.json +1 -1
- model.safetensors +1 -1
- training_args.bin +2 -2
README.md
CHANGED
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- Loss: 1.
|
19 |
|
20 |
## Model description
|
21 |
|
@@ -40,19 +40,67 @@ The following hyperparameters were used during training:
|
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
43 |
-
- num_epochs:
|
44 |
|
45 |
### Training results
|
46 |
|
47 |
-
| Training Loss | Epoch | Step
|
48 |
-
|
49 |
-
| 1.
|
50 |
-
| 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
|
53 |
### Framework versions
|
54 |
|
55 |
-
- Transformers 4.
|
56 |
- Pytorch 2.1.2
|
57 |
-
- Datasets 2.
|
58 |
-
- Tokenizers 0.15.
|
|
|
15 |
|
16 |
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 1.7420
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
40 |
- seed: 42
|
41 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 50
|
44 |
|
45 |
### Training results
|
46 |
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
49 |
+
| 1.4865 | 1.0 | 369 | 1.3129 |
|
50 |
+
| 1.2021 | 2.0 | 738 | 1.1809 |
|
51 |
+
| 1.0322 | 3.0 | 1107 | 1.1234 |
|
52 |
+
| 0.9008 | 4.0 | 1476 | 1.0991 |
|
53 |
+
| 0.8134 | 5.0 | 1845 | 1.0827 |
|
54 |
+
| 0.7293 | 6.0 | 2214 | 1.0923 |
|
55 |
+
| 0.6539 | 7.0 | 2583 | 1.0942 |
|
56 |
+
| 0.5962 | 8.0 | 2952 | 1.1175 |
|
57 |
+
| 0.546 | 9.0 | 3321 | 1.1365 |
|
58 |
+
| 0.4915 | 10.0 | 3690 | 1.1490 |
|
59 |
+
| 0.4523 | 11.0 | 4059 | 1.1860 |
|
60 |
+
| 0.4204 | 12.0 | 4428 | 1.1977 |
|
61 |
+
| 0.3831 | 13.0 | 4797 | 1.2311 |
|
62 |
+
| 0.357 | 14.0 | 5166 | 1.2499 |
|
63 |
+
| 0.3378 | 15.0 | 5535 | 1.2674 |
|
64 |
+
| 0.3203 | 16.0 | 5904 | 1.2902 |
|
65 |
+
| 0.2943 | 17.0 | 6273 | 1.3226 |
|
66 |
+
| 0.2796 | 18.0 | 6642 | 1.3355 |
|
67 |
+
| 0.2679 | 19.0 | 7011 | 1.3618 |
|
68 |
+
| 0.2479 | 20.0 | 7380 | 1.3775 |
|
69 |
+
| 0.2361 | 21.0 | 7749 | 1.3995 |
|
70 |
+
| 0.2274 | 22.0 | 8118 | 1.4151 |
|
71 |
+
| 0.2102 | 23.0 | 8487 | 1.4315 |
|
72 |
+
| 0.1994 | 24.0 | 8856 | 1.4490 |
|
73 |
+
| 0.1943 | 25.0 | 9225 | 1.4714 |
|
74 |
+
| 0.1777 | 26.0 | 9594 | 1.4906 |
|
75 |
+
| 0.1697 | 27.0 | 9963 | 1.5078 |
|
76 |
+
| 0.1602 | 28.0 | 10332 | 1.5293 |
|
77 |
+
| 0.1497 | 29.0 | 10701 | 1.5457 |
|
78 |
+
| 0.1403 | 30.0 | 11070 | 1.5652 |
|
79 |
+
| 0.1315 | 31.0 | 11439 | 1.5814 |
|
80 |
+
| 0.124 | 32.0 | 11808 | 1.5987 |
|
81 |
+
| 0.1142 | 33.0 | 12177 | 1.6151 |
|
82 |
+
| 0.1057 | 34.0 | 12546 | 1.6354 |
|
83 |
+
| 0.1002 | 35.0 | 12915 | 1.6508 |
|
84 |
+
| 0.093 | 36.0 | 13284 | 1.6641 |
|
85 |
+
| 0.0867 | 37.0 | 13653 | 1.6808 |
|
86 |
+
| 0.081 | 38.0 | 14022 | 1.6866 |
|
87 |
+
| 0.076 | 39.0 | 14391 | 1.7061 |
|
88 |
+
| 0.0716 | 40.0 | 14760 | 1.7150 |
|
89 |
+
| 0.067 | 41.0 | 15129 | 1.7232 |
|
90 |
+
| 0.0638 | 42.0 | 15498 | 1.7322 |
|
91 |
+
| 0.0598 | 43.0 | 15867 | 1.7388 |
|
92 |
+
| 0.0575 | 44.0 | 16236 | 1.7446 |
|
93 |
+
| 0.0539 | 45.0 | 16605 | 1.7524 |
|
94 |
+
| 0.0525 | 46.0 | 16974 | 1.7580 |
|
95 |
+
| 0.0505 | 47.0 | 17343 | 1.7609 |
|
96 |
+
| 0.0479 | 48.0 | 17712 | 1.7612 |
|
97 |
+
| 0.0473 | 49.0 | 18081 | 1.7642 |
|
98 |
+
| 0.0462 | 50.0 | 18450 | 1.7644 |
|
99 |
|
100 |
|
101 |
### Framework versions
|
102 |
|
103 |
+
- Transformers 4.39.3
|
104 |
- Pytorch 2.1.2
|
105 |
+
- Datasets 2.18.0
|
106 |
+
- Tokenizers 0.15.2
|
config.json
CHANGED
@@ -33,7 +33,7 @@
|
|
33 |
}
|
34 |
},
|
35 |
"torch_dtype": "float32",
|
36 |
-
"transformers_version": "4.
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 50257
|
39 |
}
|
|
|
33 |
}
|
34 |
},
|
35 |
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.39.3",
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 50257
|
39 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 50256,
|
4 |
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.39.3"
|
6 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497774208
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f1e28a20237453ddfcac78916d6b97bc6e59448b5048098b8f4f5a9b73d2300
|
3 |
size 497774208
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa52722d878ca47f8b442f69f1f13f02a1e8481426a8e672200be73a9a8755d8
|
3 |
+
size 4856
|