betteib commited on
Commit
c199d62
·
verified ·
1 Parent(s): 7d9fb9b

Model save

Browse files
Files changed (2) hide show
  1. README.md +62 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: gp2_basemodel_v10
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
+ # gp2_basemodel_v10
16
+
17
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 5.4118
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: 10
40
+ - eval_batch_size: 10
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 40
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_steps: 500
47
+ - num_epochs: 7
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:----:|:---------------:|
53
+ | 7.69 | 2.3557 | 500 | 5.8845 |
54
+ | 5.3927 | 4.7114 | 1000 | 5.4118 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.45.1
60
+ - Pytorch 2.4.0
61
+ - Datasets 3.0.1
62
+ - Tokenizers 0.20.0
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.45.1"
6
+ }