spokkazo commited on
Commit
9c35be2
1 Parent(s): 72d754a

End of training

Browse files
Files changed (3) hide show
  1. README.md +72 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: gpt2
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: codeparrot-ds
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # codeparrot-ds
14
+
15
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 1.0625
18
+
19
+ ## Model description
20
+
21
+ More information needed
22
+
23
+ ## Intended uses & limitations
24
+
25
+ More information needed
26
+
27
+ ## Training and evaluation data
28
+
29
+ More information needed
30
+
31
+ ## Training procedure
32
+
33
+ ### Training hyperparameters
34
+
35
+ The following hyperparameters were used during training:
36
+ - learning_rate: 0.0005
37
+ - train_batch_size: 32
38
+ - eval_batch_size: 32
39
+ - seed: 42
40
+ - gradient_accumulation_steps: 8
41
+ - total_train_batch_size: 256
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: cosine
44
+ - lr_scheduler_warmup_steps: 1000
45
+ - num_epochs: 1
46
+ - mixed_precision_training: Native AMP
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:-----:|:---------------:|
52
+ | 2.5676 | 0.08 | 5000 | 1.7415 |
53
+ | 1.6815 | 0.15 | 10000 | 1.5287 |
54
+ | 1.5345 | 0.23 | 15000 | 1.4235 |
55
+ | 1.4547 | 0.31 | 20000 | 1.3586 |
56
+ | 1.3972 | 0.38 | 25000 | 1.3040 |
57
+ | 1.3449 | 0.46 | 30000 | 1.2580 |
58
+ | 1.3003 | 0.54 | 35000 | 1.2138 |
59
+ | 1.2541 | 0.61 | 40000 | 1.1734 |
60
+ | 1.2114 | 0.69 | 45000 | 1.1337 |
61
+ | 1.1762 | 0.77 | 50000 | 1.1006 |
62
+ | 1.145 | 0.84 | 55000 | 1.0776 |
63
+ | 1.1265 | 0.92 | 60000 | 1.0654 |
64
+ | 1.1164 | 1.0 | 65000 | 1.0625 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.35.2
70
+ - Pytorch 2.1.1+cu121
71
+ - Datasets 2.15.0
72
+ - Tokenizers 0.15.0
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.35.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6cc063a67606bd36f53d5fe51be9b8c60a3bb2755fe829e927c4a74afa45de3d
3
  size 496984704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8523fe9aad247f28b31d0ee72bbfd8a4ece86b74be77e8b18c841306a1fb567d
3
  size 496984704