van-ng commited on
Commit
31afbc0
1 Parent(s): b00267e

Model save

Browse files
Files changed (3) hide show
  1. README.md +67 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: gpt2-XYZCompany-500-steps
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-XYZCompany-500-steps
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.3300
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: 1e-05
38
+ - train_batch_size: 8
39
+ - eval_batch_size: 4
40
+ - seed: 42
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - lr_scheduler_warmup_steps: 1
44
+ - training_steps: 500
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 0.471 | 0.32 | 50 | 0.4135 |
51
+ | 0.4572 | 0.63 | 100 | 0.3736 |
52
+ | 0.3903 | 0.95 | 150 | 0.3574 |
53
+ | 0.3748 | 1.27 | 200 | 0.3474 |
54
+ | 0.3639 | 1.58 | 250 | 0.3413 |
55
+ | 0.3515 | 1.9 | 300 | 0.3366 |
56
+ | 0.3539 | 2.22 | 350 | 0.3337 |
57
+ | 0.3604 | 2.53 | 400 | 0.3319 |
58
+ | 0.3579 | 2.85 | 450 | 0.3305 |
59
+ | 0.3176 | 3.16 | 500 | 0.3300 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.32.1
65
+ - Pytorch 2.1.2
66
+ - Datasets 2.17.1
67
+ - Tokenizers 0.13.2
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.32.1"
6
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:365e81135b12388afa48ee06a17bf20144d834dd8566f4709dd1a38fbf0c0c04
3
  size 497807706
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fd3d60e3762d10dc129237f9ea7a93828e0c8619fc10700ca77f025bb5ddb2
3
  size 497807706