qqplot23 commited on
Commit
b2ecdb7
1 Parent(s): d4010ba

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: xsum-gpt2-long-pegasus
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
+ # xsum-gpt2-long-pegasus
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.2524
19
+ - Ppl: 26.6834
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.0005
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 2
41
+ - seed: 22554
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 2
44
+ - gradient_accumulation_steps: 8
45
+ - total_train_batch_size: 32
46
+ - total_eval_batch_size: 4
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_steps: 2000
50
+ - num_epochs: 15
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Ppl |
56
+ |:-------------:|:-----:|:-----:|:---------------:|:-------:|
57
+ | 3.7921 | 2.67 | 4000 | 3.6382 | 39.1940 |
58
+ | 3.4486 | 5.34 | 8000 | 3.4164 | 31.3953 |
59
+ | 3.299 | 8.01 | 12000 | 3.3291 | 28.7823 |
60
+ | 3.2019 | 10.68 | 16000 | 3.2769 | 27.3369 |
61
+ | 3.1403 | 13.36 | 20000 | 3.2524 | 26.6834 |
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
+ }