stojchet commited on
Commit
f45e842
·
verified ·
1 Parent(s): 7670e22

End of training

Browse files
Files changed (2) hide show
  1. README.md +22 -10
  2. generation_config.json +6 -0
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
- base_model: deepseek-ai/deepseek-coder-1.3b-base
3
- library_name: peft
4
  license: other
 
5
  tags:
6
  - trl
7
  - kto
@@ -14,10 +14,17 @@ model-index:
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
  should probably proofread and complete it, then remove this comment. -->
16
 
17
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/stojchets/huggingface/runs/kto1)
18
  # kto1
19
 
20
  This model is a fine-tuned version of [deepseek-ai/deepseek-coder-1.3b-base](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base) on the None dataset.
 
 
 
 
 
 
 
 
21
 
22
  ## Model description
23
 
@@ -36,25 +43,30 @@ More information needed
36
  ### Training hyperparameters
37
 
38
  The following hyperparameters were used during training:
39
- - learning_rate: 1.41e-05
40
  - train_batch_size: 8
41
  - eval_batch_size: 8
42
  - seed: 42
43
  - gradient_accumulation_steps: 16
44
  - total_train_batch_size: 128
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
- - lr_scheduler_type: cosine
47
  - lr_scheduler_warmup_ratio: 0.1
48
- - num_epochs: 1
 
 
49
 
50
  ### Training results
51
 
 
 
 
 
52
 
53
 
54
  ### Framework versions
55
 
56
- - PEFT 0.10.0
57
- - Transformers 4.43.0.dev0
58
- - Pytorch 2.2.2+cu121
59
  - Datasets 2.19.2
60
- - Tokenizers 0.19.1
 
1
  ---
2
+ library_name: transformers
 
3
  license: other
4
+ base_model: deepseek-ai/deepseek-coder-1.3b-base
5
  tags:
6
  - trl
7
  - kto
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
  should probably proofread and complete it, then remove this comment. -->
16
 
 
17
  # kto1
18
 
19
  This model is a fine-tuned version of [deepseek-ai/deepseek-coder-1.3b-base](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.5
22
+ - Eval/rewards/chosen: -872.5376
23
+ - Eval/logps/chosen: -8762.7562
24
+ - Eval/rewards/rejected: -843.8035
25
+ - Eval/logps/rejected: -8512.4876
26
+ - Eval/rewards/margins: -28.7341
27
+ - Eval/kl: 0.0
28
 
29
  ## Model description
30
 
 
43
  ### Training hyperparameters
44
 
45
  The following hyperparameters were used during training:
46
+ - learning_rate: 0.1
47
  - train_batch_size: 8
48
  - eval_batch_size: 8
49
  - seed: 42
50
  - gradient_accumulation_steps: 16
51
  - total_train_batch_size: 128
52
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: linear
54
  - lr_scheduler_warmup_ratio: 0.1
55
+ - lr_scheduler_warmup_steps: 200
56
+ - num_epochs: 3
57
+ - mixed_precision_training: Native AMP
58
 
59
  ### Training results
60
 
61
+ | Training Loss | Epoch | Step | Validation Loss | |
62
+ |:-------------:|:------:|:----:|:---------------:|:---:|
63
+ | 0.5017 | 1.1552 | 100 | 0.5 | 0.0 |
64
+ | 0.4999 | 2.3105 | 200 | 0.5 | 0.0 |
65
 
66
 
67
  ### Framework versions
68
 
69
+ - Transformers 4.45.0
70
+ - Pytorch 2.5.1+cu124
 
71
  - Datasets 2.19.2
72
+ - Tokenizers 0.20.3
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 32013,
4
+ "eos_token_id": 32014,
5
+ "transformers_version": "4.45.0"
6
+ }