qqplot23 commited on
Commit
9cf0431
1 Parent(s): ba14669

Model save

Browse files
Files changed (2) hide show
  1. README.md +69 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: BASE_short
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
+ # BASE_short
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: 3.3241
19
+ - Ppl: 28.7555
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: 0.0001
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 4
41
+ - seed: 22554
42
+ - distributed_type: multi-GPU
43
+ - gradient_accumulation_steps: 8
44
+ - total_train_batch_size: 32
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: cosine
47
+ - lr_scheduler_warmup_steps: 2000
48
+ - num_epochs: 10
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Ppl |
54
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|
55
+ | 4.4673 | 1.25 | 4000 | 4.2416 | 71.9939 |
56
+ | 3.8603 | 2.5 | 8000 | 3.7253 | 43.0163 |
57
+ | 3.638 | 3.75 | 12000 | 3.5322 | 35.4396 |
58
+ | 3.5229 | 5.01 | 16000 | 3.4322 | 32.0556 |
59
+ | 3.4377 | 6.26 | 20000 | 3.3749 | 30.2611 |
60
+ | 3.3972 | 7.51 | 24000 | 3.3411 | 29.2534 |
61
+ | 3.3688 | 8.76 | 28000 | 3.3241 | 28.7555 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.35.0.dev0
67
+ - Pytorch 1.13.1+cu117
68
+ - Datasets 2.14.6
69
+ - Tokenizers 0.14.1
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.35.0.dev0"
6
+ }