HachiML commited on
Commit
580192d
·
verified ·
1 Parent(s): a0f9936

End of training

Browse files
Files changed (3) hide show
  1. README.md +69 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: codeparrot-ds
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
+ # codeparrot-ds
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: 2.5232
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: 152
39
+ - eval_batch_size: 152
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: 1000
44
+ - num_epochs: 1
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 5.1382 | 0.09 | 100 | 5.0409 |
52
+ | 4.6763 | 0.18 | 200 | 4.5291 |
53
+ | 4.1844 | 0.27 | 300 | 4.0911 |
54
+ | 3.7959 | 0.36 | 400 | 3.7670 |
55
+ | 3.4769 | 0.45 | 500 | 3.4760 |
56
+ | 3.2109 | 0.54 | 600 | 3.2396 |
57
+ | 2.9961 | 0.63 | 700 | 3.0584 |
58
+ | 2.8295 | 0.73 | 800 | 2.9007 |
59
+ | 2.6731 | 0.82 | 900 | 2.7664 |
60
+ | 2.565 | 0.91 | 1000 | 2.6825 |
61
+ | 2.4186 | 1.0 | 1100 | 2.5232 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.38.1
67
+ - Pytorch 2.1.0+cu121
68
+ - Datasets 2.18.0
69
+ - Tokenizers 0.15.2
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.38.1"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f29a09026e5cddc347a7e68b7524eba18ad368f24922a400c443fc3244e7281
3
  size 476021376
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:064340abddd59f1566abaab4eb692f5f54a86fb2fa5cabbc581d2287eb898790
3
  size 476021376