stojchet commited on
Commit
5ba15bf
·
verified ·
1 Parent(s): efc6aee

End of training

Browse files
Files changed (2) hide show
  1. README.md +24 -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/kto2)
18
  # kto2
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,32 @@ 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: 3
 
 
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
  # kto2
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: -1151.2938
23
+ - Eval/logps/chosen: -11550.3197
24
+ - Eval/rewards/rejected: -1115.2082
25
+ - Eval/logps/rejected: -11226.5358
26
+ - Eval/rewards/margins: -36.0856
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.07
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: 5
57
+ - mixed_precision_training: Native AMP
58
 
59
  ### Training results
60
 
61
+ | Training Loss | Epoch | Step | Validation Loss | |
62
+ |:-------------:|:------:|:----:|:---------------:|:---:|
63
+ | 0.498 | 1.1552 | 100 | 0.5 | 0.0 |
64
+ | 0.4992 | 2.3105 | 200 | 0.5 | 0.0 |
65
+ | 0.4982 | 3.4657 | 300 | 0.5 | 0.0 |
66
+ | 0.5001 | 4.6209 | 400 | 0.5 | 0.0 |
67
 
68
 
69
  ### Framework versions
70
 
71
+ - Transformers 4.45.0
72
+ - Pytorch 2.5.1+cu124
 
73
  - Datasets 2.19.2
74
+ - 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
+ }