schubertcarvalho commited on
Commit
ce66bac
1 Parent(s): 5031c43

Training complete

Browse files
Files changed (3) hide show
  1. README.md +66 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - code-completion
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: codeparrot-ds
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # codeparrot-ds
16
+
17
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.9622
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0005
39
+ - train_batch_size: 128
40
+ - eval_batch_size: 128
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 1024
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_steps: 1000
47
+ - num_epochs: 1
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 6.5115 | 0.15 | 200 | 4.8032 |
54
+ | 4.3012 | 0.3 | 400 | 3.6027 |
55
+ | 3.3162 | 0.45 | 600 | 2.8147 |
56
+ | 2.742 | 0.6 | 800 | 2.4321 |
57
+ | 2.4234 | 0.75 | 1000 | 2.2029 |
58
+ | 2.1911 | 0.9 | 1200 | 1.9622 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.34.0
64
+ - Pytorch 2.1.0a0+29c30b1
65
+ - Datasets 2.14.5
66
+ - Tokenizers 0.14.1
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.34.0"
6
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a48a08c8914604c6da35d63df1b7248f2a8814af407a7740e589971ac4b2bb9
3
  size 497018202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f6fa539f832100e5c2a4008f2f52b32bacd083c59ad4573ca6ca76b421a455
3
  size 497018202