SaviAnna commited on
Commit
1ced258
·
verified ·
1 Parent(s): 9f4395e

Model save

Browse files
Files changed (2) hide show
  1. README.md +66 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: rus_gpt2_2_epoch
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
+ # rus_gpt2_2_epoch
15
+
16
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.7019
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.005
38
+ - train_batch_size: 128
39
+ - eval_batch_size: 128
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: cosine
43
+ - lr_scheduler_warmup_steps: 50
44
+ - num_epochs: 2
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:------:|:-----:|:---------------:|
51
+ | 4.2111 | 0.2411 | 2000 | 3.5603 |
52
+ | 3.5259 | 0.4821 | 4000 | 3.3412 |
53
+ | 3.3625 | 0.7232 | 6000 | 3.2120 |
54
+ | 3.2367 | 0.9642 | 8000 | 3.0991 |
55
+ | 3.1018 | 1.2053 | 10000 | 2.9778 |
56
+ | 2.9743 | 1.4463 | 12000 | 2.8497 |
57
+ | 2.8518 | 1.6874 | 14000 | 2.7453 |
58
+ | 2.7705 | 1.9284 | 16000 | 2.7019 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.42.4
64
+ - Pytorch 2.3.1+cu121
65
+ - Datasets 2.20.0
66
+ - Tokenizers 0.19.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.42.4"
6
+ }