ljb0967 commited on
Commit
42a0f1e
1 Parent(s): 1dfa558

Training complete

Browse files
Files changed (2) hide show
  1. README.md +75 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2
5
+ tags:
6
+ - Text generation
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: codeparrot-ds-2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # codeparrot-ds-2
17
+
18
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.0614
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.0005
40
+ - train_batch_size: 32
41
+ - eval_batch_size: 32
42
+ - seed: 42
43
+ - gradient_accumulation_steps: 8
44
+ - total_train_batch_size: 256
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: cosine
47
+ - lr_scheduler_warmup_steps: 1000
48
+ - num_epochs: 1
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:------:|:-----:|:---------------:|
55
+ | 2.5681 | 0.0766 | 5000 | 1.7468 |
56
+ | 1.6828 | 0.1533 | 10000 | 1.5245 |
57
+ | 1.5337 | 0.2299 | 15000 | 1.4208 |
58
+ | 1.4542 | 0.3065 | 20000 | 1.3556 |
59
+ | 1.3941 | 0.3832 | 25000 | 1.3040 |
60
+ | 1.3429 | 0.4598 | 30000 | 1.2564 |
61
+ | 1.2972 | 0.5365 | 35000 | 1.2130 |
62
+ | 1.2508 | 0.6131 | 40000 | 1.1707 |
63
+ | 1.21 | 0.6897 | 45000 | 1.1323 |
64
+ | 1.1723 | 0.7664 | 50000 | 1.0998 |
65
+ | 1.1453 | 0.8430 | 55000 | 1.0765 |
66
+ | 1.1239 | 0.9196 | 60000 | 1.0645 |
67
+ | 1.1165 | 0.9963 | 65000 | 1.0614 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.44.1
73
+ - Pytorch 2.4.0+cu118
74
+ - Datasets 2.21.0
75
+ - Tokenizers 0.19.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.44.1"
6
+ }