osanseviero HF staff commited on
Commit
e3306ed
1 Parent(s): e847eed

End of training

Browse files
Files changed (3) hide show
  1. README.md +61 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - ag_news
8
+ model-index:
9
+ - name: sft_cml4
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # sft_cml4
17
+
18
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the ag_news dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 3.6075
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.0005
40
+ - train_batch_size: 8
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: cosine
45
+ - num_epochs: 2
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 3.1508 | 0.53 | 200 | 3.5989 |
52
+ | 2.6464 | 1.07 | 400 | 3.6581 |
53
+ | 1.74 | 1.6 | 600 | 3.6075 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.34.0.dev0
59
+ - Pytorch 2.0.1+cu118
60
+ - Datasets 2.14.4
61
+ - Tokenizers 0.14.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.34.0.dev0"
6
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c7fc7674a7942b67a0dd1eaca4e88c3521d7856791ce0b52800dc318900e740
3
  size 497807197
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c002bc128c5287bb109b739072e41599ba2c725cfaa28ada4ac401838925b2f
3
  size 497807197