yufulin commited on
Commit
2462441
1 Parent(s): b2cd62b

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
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.0616
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.5686 | 0.08 | 5000 | 1.7434 |
53
+ | 1.6823 | 0.15 | 10000 | 1.5212 |
54
+ | 1.5348 | 0.23 | 15000 | 1.4221 |
55
+ | 1.4546 | 0.31 | 20000 | 1.3565 |
56
+ | 1.3952 | 0.38 | 25000 | 1.3059 |
57
+ | 1.344 | 0.46 | 30000 | 1.2581 |
58
+ | 1.2978 | 0.54 | 35000 | 1.2138 |
59
+ | 1.2525 | 0.61 | 40000 | 1.1716 |
60
+ | 1.2109 | 0.69 | 45000 | 1.1324 |
61
+ | 1.1737 | 0.77 | 50000 | 1.0998 |
62
+ | 1.1441 | 0.84 | 55000 | 1.0769 |
63
+ | 1.1234 | 0.92 | 60000 | 1.0644 |
64
+ | 1.1155 | 1.0 | 65000 | 1.0616 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.29.2
70
+ - Pytorch 1.7.1
71
+ - Datasets 2.12.0
72
+ - Tokenizers 0.13.3