polaris314 commited on
Commit
740ed5f
·
verified ·
1 Parent(s): e6ee52d

Model save

Browse files
Files changed (2) hide show
  1. README.md +97 -0
  2. generation_config.json +9 -0
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: cadgpt-gpt2-train
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # cadgpt-gpt2-train
16
+
17
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0298
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 8
44
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_steps: 500
47
+ - num_epochs: 2
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:----:|:---------------:|
54
+ | 0.2987 | 0.0544 | 200 | 0.1816 |
55
+ | 0.1236 | 0.1088 | 400 | 0.0997 |
56
+ | 0.0876 | 0.1633 | 600 | 0.0692 |
57
+ | 0.0703 | 0.2177 | 800 | 0.0554 |
58
+ | 0.0601 | 0.2721 | 1000 | 0.0531 |
59
+ | 0.0553 | 0.3265 | 1200 | 0.0453 |
60
+ | 0.0514 | 0.3810 | 1400 | 0.0427 |
61
+ | 0.0473 | 0.4354 | 1600 | 0.0403 |
62
+ | 0.0463 | 0.4898 | 1800 | 0.0404 |
63
+ | 0.0461 | 0.5442 | 2000 | 0.0386 |
64
+ | 0.0428 | 0.5986 | 2200 | 0.0376 |
65
+ | 0.0428 | 0.6531 | 2400 | 0.0367 |
66
+ | 0.0395 | 0.7075 | 2600 | 0.0353 |
67
+ | 0.0396 | 0.7619 | 2800 | 0.0351 |
68
+ | 0.0388 | 0.8163 | 3000 | 0.0347 |
69
+ | 0.0383 | 0.8707 | 3200 | 0.0350 |
70
+ | 0.038 | 0.9252 | 3400 | 0.0359 |
71
+ | 0.0371 | 0.9796 | 3600 | 0.0343 |
72
+ | 0.0364 | 1.0340 | 3800 | 0.0328 |
73
+ | 0.0372 | 1.0884 | 4000 | 0.0331 |
74
+ | 0.0363 | 1.1429 | 4200 | 0.0324 |
75
+ | 0.0351 | 1.1973 | 4400 | 0.0334 |
76
+ | 0.0347 | 1.2517 | 4600 | 0.0317 |
77
+ | 0.0342 | 1.3061 | 4800 | 0.0315 |
78
+ | 0.0344 | 1.3605 | 5000 | 0.0314 |
79
+ | 0.0337 | 1.4150 | 5200 | 0.0309 |
80
+ | 0.0338 | 1.4694 | 5400 | 0.0310 |
81
+ | 0.0334 | 1.5238 | 5600 | 0.0308 |
82
+ | 0.0341 | 1.5782 | 5800 | 0.0306 |
83
+ | 0.033 | 1.6327 | 6000 | 0.0319 |
84
+ | 0.0335 | 1.6871 | 6200 | 0.0304 |
85
+ | 0.0322 | 1.7415 | 6400 | 0.0302 |
86
+ | 0.0329 | 1.7959 | 6600 | 0.0301 |
87
+ | 0.0336 | 1.8503 | 6800 | 0.0300 |
88
+ | 0.0328 | 1.9048 | 7000 | 0.0300 |
89
+ | 0.0331 | 1.9592 | 7200 | 0.0298 |
90
+
91
+
92
+ ### Framework versions
93
+
94
+ - Transformers 4.56.1
95
+ - Pytorch 2.8.0+cu128
96
+ - Datasets 4.0.0
97
+ - Tokenizers 0.22.0
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": [
5
+ 50256
6
+ ],
7
+ "pad_token_id": 50256,
8
+ "transformers_version": "4.56.1"
9
+ }