Nbeau commited on
Commit
0f2496e
·
verified ·
1 Parent(s): 53c3276

End of training

Browse files
Files changed (3) hide show
  1. README.md +64 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: GPT2-arithmetic-3digits
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
+ # GPT2-arithmetic-3digits
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: 0.0723
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.0005
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 8
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 8
42
+ - total_train_batch_size: 64
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: cosine
45
+ - num_epochs: 5
46
+ - mixed_precision_training: Native AMP
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | 0.4536 | 1.0 | 125 | 0.2966 |
53
+ | 0.0921 | 2.0 | 250 | 0.0877 |
54
+ | 0.0806 | 3.0 | 375 | 0.0744 |
55
+ | 0.0762 | 4.0 | 500 | 0.0727 |
56
+ | 0.0752 | 5.0 | 625 | 0.0723 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.40.2
62
+ - Pytorch 2.3.0
63
+ - Datasets 2.19.1
64
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.40.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:edbe23f138ef3076ff3d6edc614a7510d9e01b5eaf431ce140ca748e1ad9758b
3
  size 441688704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3797dd4f2288c12781407274eabf7a57c4008ebdab691920f5f3c4933aa4e29f
3
  size 441688704