srsawant34 commited on
Commit
f0ebdbb
1 Parent(s): 118dc11

End of training

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilgpt2
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 [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.9628
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: 32
39
+ - eval_batch_size: 32
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 8
42
+ - total_train_batch_size: 256
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: cosine
45
+ - lr_scheduler_warmup_steps: 100
46
+ - num_epochs: 1
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 3.8291 | 0.09 | 500 | 3.1048 |
54
+ | 2.7568 | 0.19 | 1000 | 2.6598 |
55
+ | 2.4536 | 0.28 | 1500 | 2.4579 |
56
+ | 2.284 | 0.38 | 2000 | 2.3267 |
57
+ | 2.1605 | 0.47 | 2500 | 2.2221 |
58
+ | 2.0615 | 0.56 | 3000 | 2.1385 |
59
+ | 1.9799 | 0.66 | 3500 | 2.0642 |
60
+ | 1.9192 | 0.75 | 4000 | 2.0100 |
61
+ | 1.8725 | 0.84 | 4500 | 1.9766 |
62
+ | 1.8484 | 0.94 | 5000 | 1.9628 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.38.2
68
+ - Pytorch 2.1.0+cu121
69
+ - Datasets 2.18.0
70
+ - Tokenizers 0.15.2
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.38.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:725db72fac57d02462b133b8c5fda885abdf199e22347fc32f0caba116db7524
3
  size 326868424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:593532568132fd2027425395a93b9c587fb4e86ce5652b826110175dca999a9f
3
  size 326868424
runs/Mar09_18-28-32_13aa317ff46a/events.out.tfevents.1710008920.13aa317ff46a.367.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9fc26370a5e2f3547ba11a1d4606f859c610e7568f00e64544c30248dfee912c
3
- size 9703
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:353b076fabfd438298b0afbb99a16932940fe7a3d89325fd3dee6885e025646e
3
+ size 10057