qqplot23 commited on
Commit
f2fd797
·
1 Parent(s): 1a7436d

Model save

Browse files
Files changed (2) hide show
  1. README.md +65 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: BASE_long
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_long
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.1674
19
+ - Ppl: 24.5740
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
+ - gradient_accumulation_steps: 16
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
+ | 3.6608 | 2.51 | 4000 | 3.5106 | 34.6847 |
56
+ | 3.3438 | 5.01 | 8000 | 3.2666 | 27.1444 |
57
+ | 3.178 | 7.52 | 12000 | 3.1674 | 24.5740 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.35.0.dev0
63
+ - Pytorch 1.13.1+cu117
64
+ - Datasets 2.14.6
65
+ - 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
+ }