cxbn12 commited on
Commit
874d17b
·
verified ·
1 Parent(s): 8ab9401

End of training

Browse files
Files changed (4) hide show
  1. README.md +73 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
  4. tokenizer.json +1 -6
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
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 [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.0623
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: 1000
46
+ - num_epochs: 1
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:-----:|:---------------:|
53
+ | 2.5658 | 0.08 | 5000 | 1.7437 |
54
+ | 1.6804 | 0.15 | 10000 | 1.5257 |
55
+ | 1.5334 | 0.23 | 15000 | 1.4223 |
56
+ | 1.4536 | 0.31 | 20000 | 1.3574 |
57
+ | 1.3961 | 0.38 | 25000 | 1.3052 |
58
+ | 1.344 | 0.46 | 30000 | 1.2570 |
59
+ | 1.2992 | 0.54 | 35000 | 1.2137 |
60
+ | 1.2533 | 0.61 | 40000 | 1.1730 |
61
+ | 1.2106 | 0.69 | 45000 | 1.1339 |
62
+ | 1.1755 | 0.77 | 50000 | 1.1004 |
63
+ | 1.1442 | 0.84 | 55000 | 1.0772 |
64
+ | 1.1259 | 0.92 | 60000 | 1.0651 |
65
+ | 1.1159 | 1.0 | 65000 | 1.0623 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.37.2
71
+ - Pytorch 2.2.0+cu118
72
+ - Datasets 2.17.0
73
+ - Tokenizers 0.15.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.37.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ecc6585236b28e2fdfb8bf8402ed46d816a7d4dba1c446e2f17f3e4caa2c9ff4
3
  size 496984704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:725706416b4f9e08e7d70ea67f27de96ef82252f40550effb8e7b4279fd0e645
3
  size 496984704
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 128,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {