Tanysha commited on
Commit
f6e98f6
1 Parent(s): a4d53c4

Model save

Browse files
Files changed (2) hide show
  1. README.md +15 -6
  2. model.safetensors +1 -1
README.md CHANGED
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
15
  # GPT2-medium
16
 
17
  This model is a fine-tuned version of [openai-community/gpt2-medium](https://huggingface.co/openai-community/gpt2-medium) on the None dataset.
 
 
18
 
19
  ## Model description
20
 
@@ -33,20 +35,27 @@ More information needed
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
- - learning_rate: 3e-05
37
  - train_batch_size: 8
38
  - eval_batch_size: 8
39
  - seed: 42
40
- - gradient_accumulation_steps: 16
41
- - total_train_batch_size: 128
42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
- - lr_scheduler_type: linear
44
- - lr_scheduler_warmup_steps: 500
45
- - num_epochs: 5
46
  - mixed_precision_training: Native AMP
47
 
48
  ### Training results
49
 
 
 
 
 
 
 
 
50
 
51
 
52
  ### Framework versions
 
15
  # GPT2-medium
16
 
17
  This model is a fine-tuned version of [openai-community/gpt2-medium](https://huggingface.co/openai-community/gpt2-medium) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.5613
20
 
21
  ## Model description
22
 
 
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
+ - learning_rate: 0.0001
39
  - train_batch_size: 8
40
  - eval_batch_size: 8
41
  - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 64
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.15
47
+ - num_epochs: 10
48
  - mixed_precision_training: Native AMP
49
 
50
  ### Training results
51
 
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:----:|:---------------:|
54
+ | 0.4653 | 1.7937 | 50 | 0.5613 |
55
+ | 0.3154 | 3.5874 | 100 | 0.5657 |
56
+ | 0.2436 | 5.3812 | 150 | 0.5961 |
57
+ | 0.2138 | 7.1749 | 200 | 0.6012 |
58
+ | 0.197 | 8.9686 | 250 | 0.6177 |
59
 
60
 
61
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:301d8b46aa00632f79007fbad87e90ec09c97aaad2b053f85846a1e60ed636a3
3
  size 1419322880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40133434c95cc4a343bb36a23d2346b02939a49ce1d15b27735b7108f7110a65
3
  size 1419322880