BraylonDash
commited on
Commit
•
6f885d6
1
Parent(s):
a7b33aa
Model save
Browse files- README.md +74 -0
- adapter_config.json +28 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +40 -0
- all_results.json +21 -0
- eval_results.json +16 -0
- merges.txt +0 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +325 -0
- train_results.json +8 -0
- trainer_state.json +412 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: microsoft/phi-2
|
9 |
+
model-index:
|
10 |
+
- name: phi-2-gpo-test-longest-iter-random2-1
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
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 |
+
# phi-2-gpo-test-longest-iter-random2-1
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0019
|
22 |
+
- Rewards/chosen: -0.0069
|
23 |
+
- Rewards/rejected: -0.0057
|
24 |
+
- Rewards/accuracies: 0.4870
|
25 |
+
- Rewards/margins: -0.0013
|
26 |
+
- Logps/rejected: -279.4207
|
27 |
+
- Logps/chosen: -307.2596
|
28 |
+
- Logits/rejected: 0.0397
|
29 |
+
- Logits/chosen: -0.0578
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 5e-06
|
49 |
+
- train_batch_size: 4
|
50 |
+
- eval_batch_size: 4
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- gradient_accumulation_steps: 4
|
54 |
+
- total_train_batch_size: 16
|
55 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
56 |
+
- lr_scheduler_type: cosine
|
57 |
+
- lr_scheduler_warmup_ratio: 0.1
|
58 |
+
- num_epochs: 4
|
59 |
+
|
60 |
+
### Training results
|
61 |
+
|
62 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
63 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
64 |
+
| 0.0012 | 1.6 | 100 | 0.0018 | -0.0023 | -0.0010 | 0.4940 | -0.0012 | -278.9591 | -306.7935 | 0.0183 | -0.0784 |
|
65 |
+
| 0.001 | 3.2 | 200 | 0.0019 | -0.0046 | -0.0029 | 0.4775 | -0.0017 | -279.1457 | -307.0229 | 0.0539 | -0.0452 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- PEFT 0.7.1
|
71 |
+
- Transformers 4.36.2
|
72 |
+
- Pytorch 2.2.1+cu121
|
73 |
+
- Datasets 2.14.6
|
74 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "microsoft/phi-2",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 16,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 32,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"dense",
|
23 |
+
"v_proj",
|
24 |
+
"k_proj",
|
25 |
+
"q_proj"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM"
|
28 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:35ccd5632562ea24cc90138c5e7d9b7575b70c4bdf92d58ba7654fa7cb757064
|
3 |
+
size 41977616
|
added_tokens.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"\t\t": 50294,
|
3 |
+
"\t\t\t": 50293,
|
4 |
+
"\t\t\t\t": 50292,
|
5 |
+
"\t\t\t\t\t": 50291,
|
6 |
+
"\t\t\t\t\t\t": 50290,
|
7 |
+
"\t\t\t\t\t\t\t": 50289,
|
8 |
+
"\t\t\t\t\t\t\t\t": 50288,
|
9 |
+
"\t\t\t\t\t\t\t\t\t": 50287,
|
10 |
+
" ": 50286,
|
11 |
+
" ": 50285,
|
12 |
+
" ": 50284,
|
13 |
+
" ": 50283,
|
14 |
+
" ": 50282,
|
15 |
+
" ": 50281,
|
16 |
+
" ": 50280,
|
17 |
+
" ": 50279,
|
18 |
+
" ": 50278,
|
19 |
+
" ": 50277,
|
20 |
+
" ": 50276,
|
21 |
+
" ": 50275,
|
22 |
+
" ": 50274,
|
23 |
+
" ": 50273,
|
24 |
+
" ": 50272,
|
25 |
+
" ": 50271,
|
26 |
+
" ": 50270,
|
27 |
+
" ": 50269,
|
28 |
+
" ": 50268,
|
29 |
+
" ": 50267,
|
30 |
+
" ": 50266,
|
31 |
+
" ": 50265,
|
32 |
+
" ": 50264,
|
33 |
+
" ": 50263,
|
34 |
+
" ": 50262,
|
35 |
+
" ": 50261,
|
36 |
+
" ": 50260,
|
37 |
+
" ": 50259,
|
38 |
+
" ": 50258,
|
39 |
+
" ": 50257
|
40 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.97,
|
3 |
+
"eval_logits/chosen": -0.05778733268380165,
|
4 |
+
"eval_logits/rejected": 0.0396571010351181,
|
5 |
+
"eval_logps/chosen": -307.2596130371094,
|
6 |
+
"eval_logps/rejected": -279.42071533203125,
|
7 |
+
"eval_loss": 0.0018671295838430524,
|
8 |
+
"eval_rewards/accuracies": 0.4869999885559082,
|
9 |
+
"eval_rewards/chosen": -0.006934665143489838,
|
10 |
+
"eval_rewards/margins": -0.0012784178834408522,
|
11 |
+
"eval_rewards/rejected": -0.0056562479585409164,
|
12 |
+
"eval_runtime": 412.8752,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 4.844,
|
15 |
+
"eval_steps_per_second": 1.211,
|
16 |
+
"train_loss": 0.00108777264728316,
|
17 |
+
"train_runtime": 2657.7329,
|
18 |
+
"train_samples": 61135,
|
19 |
+
"train_samples_per_second": 1.505,
|
20 |
+
"train_steps_per_second": 0.093
|
21 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.97,
|
3 |
+
"eval_logits/chosen": -0.05778733268380165,
|
4 |
+
"eval_logits/rejected": 0.0396571010351181,
|
5 |
+
"eval_logps/chosen": -307.2596130371094,
|
6 |
+
"eval_logps/rejected": -279.42071533203125,
|
7 |
+
"eval_loss": 0.0018671295838430524,
|
8 |
+
"eval_rewards/accuracies": 0.4869999885559082,
|
9 |
+
"eval_rewards/chosen": -0.006934665143489838,
|
10 |
+
"eval_rewards/margins": -0.0012784178834408522,
|
11 |
+
"eval_rewards/rejected": -0.0056562479585409164,
|
12 |
+
"eval_runtime": 412.8752,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 4.844,
|
15 |
+
"eval_steps_per_second": 1.211
|
16 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"50256": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"50257": {
|
13 |
+
"content": " ",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": false
|
19 |
+
},
|
20 |
+
"50258": {
|
21 |
+
"content": " ",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": false
|
27 |
+
},
|
28 |
+
"50259": {
|
29 |
+
"content": " ",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": false
|
35 |
+
},
|
36 |
+
"50260": {
|
37 |
+
"content": " ",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": false
|
43 |
+
},
|
44 |
+
"50261": {
|
45 |
+
"content": " ",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": false
|
51 |
+
},
|
52 |
+
"50262": {
|
53 |
+
"content": " ",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": true,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": false
|
59 |
+
},
|
60 |
+
"50263": {
|
61 |
+
"content": " ",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": true,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": false
|
67 |
+
},
|
68 |
+
"50264": {
|
69 |
+
"content": " ",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": true,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": false
|
75 |
+
},
|
76 |
+
"50265": {
|
77 |
+
"content": " ",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": true,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": false
|
83 |
+
},
|
84 |
+
"50266": {
|
85 |
+
"content": " ",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": true,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": false
|
91 |
+
},
|
92 |
+
"50267": {
|
93 |
+
"content": " ",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": true,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": false
|
99 |
+
},
|
100 |
+
"50268": {
|
101 |
+
"content": " ",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": true,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": false
|
107 |
+
},
|
108 |
+
"50269": {
|
109 |
+
"content": " ",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": true,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": false
|
115 |
+
},
|
116 |
+
"50270": {
|
117 |
+
"content": " ",
|
118 |
+
"lstrip": false,
|
119 |
+
"normalized": true,
|
120 |
+
"rstrip": false,
|
121 |
+
"single_word": false,
|
122 |
+
"special": false
|
123 |
+
},
|
124 |
+
"50271": {
|
125 |
+
"content": " ",
|
126 |
+
"lstrip": false,
|
127 |
+
"normalized": true,
|
128 |
+
"rstrip": false,
|
129 |
+
"single_word": false,
|
130 |
+
"special": false
|
131 |
+
},
|
132 |
+
"50272": {
|
133 |
+
"content": " ",
|
134 |
+
"lstrip": false,
|
135 |
+
"normalized": true,
|
136 |
+
"rstrip": false,
|
137 |
+
"single_word": false,
|
138 |
+
"special": false
|
139 |
+
},
|
140 |
+
"50273": {
|
141 |
+
"content": " ",
|
142 |
+
"lstrip": false,
|
143 |
+
"normalized": true,
|
144 |
+
"rstrip": false,
|
145 |
+
"single_word": false,
|
146 |
+
"special": false
|
147 |
+
},
|
148 |
+
"50274": {
|
149 |
+
"content": " ",
|
150 |
+
"lstrip": false,
|
151 |
+
"normalized": true,
|
152 |
+
"rstrip": false,
|
153 |
+
"single_word": false,
|
154 |
+
"special": false
|
155 |
+
},
|
156 |
+
"50275": {
|
157 |
+
"content": " ",
|
158 |
+
"lstrip": false,
|
159 |
+
"normalized": true,
|
160 |
+
"rstrip": false,
|
161 |
+
"single_word": false,
|
162 |
+
"special": false
|
163 |
+
},
|
164 |
+
"50276": {
|
165 |
+
"content": " ",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": true,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false,
|
170 |
+
"special": false
|
171 |
+
},
|
172 |
+
"50277": {
|
173 |
+
"content": " ",
|
174 |
+
"lstrip": false,
|
175 |
+
"normalized": true,
|
176 |
+
"rstrip": false,
|
177 |
+
"single_word": false,
|
178 |
+
"special": false
|
179 |
+
},
|
180 |
+
"50278": {
|
181 |
+
"content": " ",
|
182 |
+
"lstrip": false,
|
183 |
+
"normalized": true,
|
184 |
+
"rstrip": false,
|
185 |
+
"single_word": false,
|
186 |
+
"special": false
|
187 |
+
},
|
188 |
+
"50279": {
|
189 |
+
"content": " ",
|
190 |
+
"lstrip": false,
|
191 |
+
"normalized": true,
|
192 |
+
"rstrip": false,
|
193 |
+
"single_word": false,
|
194 |
+
"special": false
|
195 |
+
},
|
196 |
+
"50280": {
|
197 |
+
"content": " ",
|
198 |
+
"lstrip": false,
|
199 |
+
"normalized": true,
|
200 |
+
"rstrip": false,
|
201 |
+
"single_word": false,
|
202 |
+
"special": false
|
203 |
+
},
|
204 |
+
"50281": {
|
205 |
+
"content": " ",
|
206 |
+
"lstrip": false,
|
207 |
+
"normalized": true,
|
208 |
+
"rstrip": false,
|
209 |
+
"single_word": false,
|
210 |
+
"special": false
|
211 |
+
},
|
212 |
+
"50282": {
|
213 |
+
"content": " ",
|
214 |
+
"lstrip": false,
|
215 |
+
"normalized": true,
|
216 |
+
"rstrip": false,
|
217 |
+
"single_word": false,
|
218 |
+
"special": false
|
219 |
+
},
|
220 |
+
"50283": {
|
221 |
+
"content": " ",
|
222 |
+
"lstrip": false,
|
223 |
+
"normalized": true,
|
224 |
+
"rstrip": false,
|
225 |
+
"single_word": false,
|
226 |
+
"special": false
|
227 |
+
},
|
228 |
+
"50284": {
|
229 |
+
"content": " ",
|
230 |
+
"lstrip": false,
|
231 |
+
"normalized": true,
|
232 |
+
"rstrip": false,
|
233 |
+
"single_word": false,
|
234 |
+
"special": false
|
235 |
+
},
|
236 |
+
"50285": {
|
237 |
+
"content": " ",
|
238 |
+
"lstrip": false,
|
239 |
+
"normalized": true,
|
240 |
+
"rstrip": false,
|
241 |
+
"single_word": false,
|
242 |
+
"special": false
|
243 |
+
},
|
244 |
+
"50286": {
|
245 |
+
"content": " ",
|
246 |
+
"lstrip": false,
|
247 |
+
"normalized": true,
|
248 |
+
"rstrip": false,
|
249 |
+
"single_word": false,
|
250 |
+
"special": false
|
251 |
+
},
|
252 |
+
"50287": {
|
253 |
+
"content": "\t\t\t\t\t\t\t\t\t",
|
254 |
+
"lstrip": false,
|
255 |
+
"normalized": true,
|
256 |
+
"rstrip": false,
|
257 |
+
"single_word": false,
|
258 |
+
"special": false
|
259 |
+
},
|
260 |
+
"50288": {
|
261 |
+
"content": "\t\t\t\t\t\t\t\t",
|
262 |
+
"lstrip": false,
|
263 |
+
"normalized": true,
|
264 |
+
"rstrip": false,
|
265 |
+
"single_word": false,
|
266 |
+
"special": false
|
267 |
+
},
|
268 |
+
"50289": {
|
269 |
+
"content": "\t\t\t\t\t\t\t",
|
270 |
+
"lstrip": false,
|
271 |
+
"normalized": true,
|
272 |
+
"rstrip": false,
|
273 |
+
"single_word": false,
|
274 |
+
"special": false
|
275 |
+
},
|
276 |
+
"50290": {
|
277 |
+
"content": "\t\t\t\t\t\t",
|
278 |
+
"lstrip": false,
|
279 |
+
"normalized": true,
|
280 |
+
"rstrip": false,
|
281 |
+
"single_word": false,
|
282 |
+
"special": false
|
283 |
+
},
|
284 |
+
"50291": {
|
285 |
+
"content": "\t\t\t\t\t",
|
286 |
+
"lstrip": false,
|
287 |
+
"normalized": true,
|
288 |
+
"rstrip": false,
|
289 |
+
"single_word": false,
|
290 |
+
"special": false
|
291 |
+
},
|
292 |
+
"50292": {
|
293 |
+
"content": "\t\t\t\t",
|
294 |
+
"lstrip": false,
|
295 |
+
"normalized": true,
|
296 |
+
"rstrip": false,
|
297 |
+
"single_word": false,
|
298 |
+
"special": false
|
299 |
+
},
|
300 |
+
"50293": {
|
301 |
+
"content": "\t\t\t",
|
302 |
+
"lstrip": false,
|
303 |
+
"normalized": true,
|
304 |
+
"rstrip": false,
|
305 |
+
"single_word": false,
|
306 |
+
"special": false
|
307 |
+
},
|
308 |
+
"50294": {
|
309 |
+
"content": "\t\t",
|
310 |
+
"lstrip": false,
|
311 |
+
"normalized": true,
|
312 |
+
"rstrip": false,
|
313 |
+
"single_word": false,
|
314 |
+
"special": false
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"bos_token": "<|endoftext|>",
|
318 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
319 |
+
"clean_up_tokenization_spaces": true,
|
320 |
+
"eos_token": "<|endoftext|>",
|
321 |
+
"model_max_length": 2048,
|
322 |
+
"pad_token": "<|endoftext|>",
|
323 |
+
"tokenizer_class": "CodeGenTokenizer",
|
324 |
+
"unk_token": "<|endoftext|>"
|
325 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.97,
|
3 |
+
"train_loss": 0.00108777264728316,
|
4 |
+
"train_runtime": 2657.7329,
|
5 |
+
"train_samples": 61135,
|
6 |
+
"train_samples_per_second": 1.505,
|
7 |
+
"train_steps_per_second": 0.093
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,412 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.968,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 248,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.02,
|
13 |
+
"learning_rate": 2.0000000000000002e-07,
|
14 |
+
"logits/chosen": 0.23443643748760223,
|
15 |
+
"logits/rejected": 0.22047671675682068,
|
16 |
+
"logps/chosen": -156.2631072998047,
|
17 |
+
"logps/rejected": -63.140926361083984,
|
18 |
+
"loss": 0.0011,
|
19 |
+
"rewards/accuracies": 0.0,
|
20 |
+
"rewards/chosen": 0.0,
|
21 |
+
"rewards/margins": 0.0,
|
22 |
+
"rewards/rejected": 0.0,
|
23 |
+
"step": 1
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.16,
|
27 |
+
"learning_rate": 2.0000000000000003e-06,
|
28 |
+
"logits/chosen": -0.1701306700706482,
|
29 |
+
"logits/rejected": 0.23002521693706512,
|
30 |
+
"logps/chosen": -134.1260223388672,
|
31 |
+
"logps/rejected": -77.3587417602539,
|
32 |
+
"loss": 0.0013,
|
33 |
+
"rewards/accuracies": 0.3611111044883728,
|
34 |
+
"rewards/chosen": -0.0012936631683260202,
|
35 |
+
"rewards/margins": -0.001161300460807979,
|
36 |
+
"rewards/rejected": -0.0001323625911027193,
|
37 |
+
"step": 10
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.32,
|
41 |
+
"learning_rate": 4.000000000000001e-06,
|
42 |
+
"logits/chosen": -0.1295575499534607,
|
43 |
+
"logits/rejected": 0.013991622254252434,
|
44 |
+
"logps/chosen": -158.0836181640625,
|
45 |
+
"logps/rejected": -93.96044158935547,
|
46 |
+
"loss": 0.0014,
|
47 |
+
"rewards/accuracies": 0.44999998807907104,
|
48 |
+
"rewards/chosen": -0.0005890157772228122,
|
49 |
+
"rewards/margins": -0.0010765515035018325,
|
50 |
+
"rewards/rejected": 0.0004875357262790203,
|
51 |
+
"step": 20
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.48,
|
55 |
+
"learning_rate": 4.993800445762451e-06,
|
56 |
+
"logits/chosen": -0.055564045906066895,
|
57 |
+
"logits/rejected": 0.03296099230647087,
|
58 |
+
"logps/chosen": -152.33218383789062,
|
59 |
+
"logps/rejected": -95.81327819824219,
|
60 |
+
"loss": 0.0014,
|
61 |
+
"rewards/accuracies": 0.4437499940395355,
|
62 |
+
"rewards/chosen": -0.0007998603396117687,
|
63 |
+
"rewards/margins": -0.0010081109357997775,
|
64 |
+
"rewards/rejected": 0.00020825063984375447,
|
65 |
+
"step": 30
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.64,
|
69 |
+
"learning_rate": 4.944388344834205e-06,
|
70 |
+
"logits/chosen": -0.07261649519205093,
|
71 |
+
"logits/rejected": 0.052390582859516144,
|
72 |
+
"logps/chosen": -139.1942901611328,
|
73 |
+
"logps/rejected": -90.42237854003906,
|
74 |
+
"loss": 0.0013,
|
75 |
+
"rewards/accuracies": 0.4124999940395355,
|
76 |
+
"rewards/chosen": 0.0016054753214120865,
|
77 |
+
"rewards/margins": -0.0004346861387602985,
|
78 |
+
"rewards/rejected": 0.002040161518380046,
|
79 |
+
"step": 40
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.8,
|
83 |
+
"learning_rate": 4.8465431931347904e-06,
|
84 |
+
"logits/chosen": -0.18433263897895813,
|
85 |
+
"logits/rejected": 0.1357397437095642,
|
86 |
+
"logps/chosen": -134.5174560546875,
|
87 |
+
"logps/rejected": -78.68228912353516,
|
88 |
+
"loss": 0.0012,
|
89 |
+
"rewards/accuracies": 0.4937500059604645,
|
90 |
+
"rewards/chosen": 0.0027162893675267696,
|
91 |
+
"rewards/margins": 0.0013110730797052383,
|
92 |
+
"rewards/rejected": 0.0014052166370674968,
|
93 |
+
"step": 50
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.96,
|
97 |
+
"learning_rate": 4.702203692102539e-06,
|
98 |
+
"logits/chosen": -0.13251043856143951,
|
99 |
+
"logits/rejected": 0.08991677314043045,
|
100 |
+
"logps/chosen": -131.57760620117188,
|
101 |
+
"logps/rejected": -75.83609771728516,
|
102 |
+
"loss": 0.0012,
|
103 |
+
"rewards/accuracies": 0.5062500238418579,
|
104 |
+
"rewards/chosen": 0.0032040614169090986,
|
105 |
+
"rewards/margins": 0.00045879706158302724,
|
106 |
+
"rewards/rejected": 0.0027452646754682064,
|
107 |
+
"step": 60
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.12,
|
111 |
+
"learning_rate": 4.514229781074239e-06,
|
112 |
+
"logits/chosen": -0.0031040043104439974,
|
113 |
+
"logits/rejected": 0.02582806721329689,
|
114 |
+
"logps/chosen": -146.350830078125,
|
115 |
+
"logps/rejected": -91.60733795166016,
|
116 |
+
"loss": 0.0012,
|
117 |
+
"rewards/accuracies": 0.4375,
|
118 |
+
"rewards/chosen": 0.002755067078396678,
|
119 |
+
"rewards/margins": 0.0003604464582167566,
|
120 |
+
"rewards/rejected": 0.002394620794802904,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.28,
|
125 |
+
"learning_rate": 4.286345970517195e-06,
|
126 |
+
"logits/chosen": -0.14322714507579803,
|
127 |
+
"logits/rejected": 0.1631973534822464,
|
128 |
+
"logps/chosen": -147.42727661132812,
|
129 |
+
"logps/rejected": -78.87086486816406,
|
130 |
+
"loss": 0.0011,
|
131 |
+
"rewards/accuracies": 0.550000011920929,
|
132 |
+
"rewards/chosen": 0.0060631753876805305,
|
133 |
+
"rewards/margins": 0.003673513885587454,
|
134 |
+
"rewards/rejected": 0.0023896615020930767,
|
135 |
+
"step": 80
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.44,
|
139 |
+
"learning_rate": 4.023067544670082e-06,
|
140 |
+
"logits/chosen": -0.13109929859638214,
|
141 |
+
"logits/rejected": 0.06961780786514282,
|
142 |
+
"logps/chosen": -156.49757385253906,
|
143 |
+
"logps/rejected": -77.63360595703125,
|
144 |
+
"loss": 0.001,
|
145 |
+
"rewards/accuracies": 0.6000000238418579,
|
146 |
+
"rewards/chosen": 0.0063803596422076225,
|
147 |
+
"rewards/margins": 0.003957846201956272,
|
148 |
+
"rewards/rejected": 0.0024225139059126377,
|
149 |
+
"step": 90
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.6,
|
153 |
+
"learning_rate": 3.7296110958116845e-06,
|
154 |
+
"logits/chosen": -0.14412106573581696,
|
155 |
+
"logits/rejected": 0.08511891216039658,
|
156 |
+
"logps/chosen": -135.07821655273438,
|
157 |
+
"logps/rejected": -80.14738464355469,
|
158 |
+
"loss": 0.0012,
|
159 |
+
"rewards/accuracies": 0.5874999761581421,
|
160 |
+
"rewards/chosen": 0.006507501006126404,
|
161 |
+
"rewards/margins": 0.0025544913951307535,
|
162 |
+
"rewards/rejected": 0.003953009843826294,
|
163 |
+
"step": 100
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.6,
|
167 |
+
"eval_logits/chosen": -0.0783870667219162,
|
168 |
+
"eval_logits/rejected": 0.018332112580537796,
|
169 |
+
"eval_logps/chosen": -306.7934875488281,
|
170 |
+
"eval_logps/rejected": -278.9591064453125,
|
171 |
+
"eval_loss": 0.0017850365256890655,
|
172 |
+
"eval_rewards/accuracies": 0.49399998784065247,
|
173 |
+
"eval_rewards/chosen": -0.0022730445489287376,
|
174 |
+
"eval_rewards/margins": -0.0012333833146840334,
|
175 |
+
"eval_rewards/rejected": -0.0010396612342447042,
|
176 |
+
"eval_runtime": 412.8211,
|
177 |
+
"eval_samples_per_second": 4.845,
|
178 |
+
"eval_steps_per_second": 1.211,
|
179 |
+
"step": 100
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 1.76,
|
183 |
+
"learning_rate": 3.4117911628292944e-06,
|
184 |
+
"logits/chosen": -0.10137580335140228,
|
185 |
+
"logits/rejected": 0.1050504595041275,
|
186 |
+
"logps/chosen": -142.63235473632812,
|
187 |
+
"logps/rejected": -90.01012420654297,
|
188 |
+
"loss": 0.0012,
|
189 |
+
"rewards/accuracies": 0.5,
|
190 |
+
"rewards/chosen": 0.006990297231823206,
|
191 |
+
"rewards/margins": 0.0029323671478778124,
|
192 |
+
"rewards/rejected": 0.00405792985111475,
|
193 |
+
"step": 110
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"epoch": 1.92,
|
197 |
+
"learning_rate": 3.075905022087675e-06,
|
198 |
+
"logits/chosen": -0.20957832038402557,
|
199 |
+
"logits/rejected": 0.0603378526866436,
|
200 |
+
"logps/chosen": -126.7168960571289,
|
201 |
+
"logps/rejected": -94.3608169555664,
|
202 |
+
"loss": 0.0011,
|
203 |
+
"rewards/accuracies": 0.543749988079071,
|
204 |
+
"rewards/chosen": 0.009139289148151875,
|
205 |
+
"rewards/margins": 0.004026611801236868,
|
206 |
+
"rewards/rejected": 0.005112676881253719,
|
207 |
+
"step": 120
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 2.08,
|
211 |
+
"learning_rate": 2.728607913349464e-06,
|
212 |
+
"logits/chosen": -0.14207085967063904,
|
213 |
+
"logits/rejected": 0.05692986398935318,
|
214 |
+
"logps/chosen": -135.62109375,
|
215 |
+
"logps/rejected": -73.44181823730469,
|
216 |
+
"loss": 0.0009,
|
217 |
+
"rewards/accuracies": 0.637499988079071,
|
218 |
+
"rewards/chosen": 0.010310354642570019,
|
219 |
+
"rewards/margins": 0.0062768300995230675,
|
220 |
+
"rewards/rejected": 0.004033524077385664,
|
221 |
+
"step": 130
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 2.24,
|
225 |
+
"learning_rate": 2.376781173017589e-06,
|
226 |
+
"logits/chosen": -0.07452885806560516,
|
227 |
+
"logits/rejected": 0.008148658089339733,
|
228 |
+
"logps/chosen": -135.99551391601562,
|
229 |
+
"logps/rejected": -86.43684387207031,
|
230 |
+
"loss": 0.0011,
|
231 |
+
"rewards/accuracies": 0.5249999761581421,
|
232 |
+
"rewards/chosen": 0.00757336150854826,
|
233 |
+
"rewards/margins": 0.0026444164104759693,
|
234 |
+
"rewards/rejected": 0.004928944632411003,
|
235 |
+
"step": 140
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 2.4,
|
239 |
+
"learning_rate": 2.0273958875043877e-06,
|
240 |
+
"logits/chosen": -0.2039242684841156,
|
241 |
+
"logits/rejected": 0.03630978241562843,
|
242 |
+
"logps/chosen": -122.752685546875,
|
243 |
+
"logps/rejected": -77.11092376708984,
|
244 |
+
"loss": 0.0011,
|
245 |
+
"rewards/accuracies": 0.5687500238418579,
|
246 |
+
"rewards/chosen": 0.009455384686589241,
|
247 |
+
"rewards/margins": 0.003300786018371582,
|
248 |
+
"rewards/rejected": 0.006154598668217659,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 2.56,
|
253 |
+
"learning_rate": 1.6873747682962393e-06,
|
254 |
+
"logits/chosen": -0.13353724777698517,
|
255 |
+
"logits/rejected": 0.028349420055747032,
|
256 |
+
"logps/chosen": -155.1117706298828,
|
257 |
+
"logps/rejected": -95.18585968017578,
|
258 |
+
"loss": 0.001,
|
259 |
+
"rewards/accuracies": 0.612500011920929,
|
260 |
+
"rewards/chosen": 0.012836555950343609,
|
261 |
+
"rewards/margins": 0.007292959839105606,
|
262 |
+
"rewards/rejected": 0.005543597042560577,
|
263 |
+
"step": 160
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"epoch": 2.72,
|
267 |
+
"learning_rate": 1.363454985517803e-06,
|
268 |
+
"logits/chosen": -0.1304449737071991,
|
269 |
+
"logits/rejected": 0.12869992852210999,
|
270 |
+
"logps/chosen": -150.98422241210938,
|
271 |
+
"logps/rejected": -95.78520965576172,
|
272 |
+
"loss": 0.0009,
|
273 |
+
"rewards/accuracies": 0.606249988079071,
|
274 |
+
"rewards/chosen": 0.012216785922646523,
|
275 |
+
"rewards/margins": 0.007924379780888557,
|
276 |
+
"rewards/rejected": 0.0042924038134515285,
|
277 |
+
"step": 170
|
278 |
+
},
|
279 |
+
{
|
280 |
+
"epoch": 2.88,
|
281 |
+
"learning_rate": 1.062054677808238e-06,
|
282 |
+
"logits/chosen": -0.2121671438217163,
|
283 |
+
"logits/rejected": 0.03771474212408066,
|
284 |
+
"logps/chosen": -137.01478576660156,
|
285 |
+
"logps/rejected": -77.85432434082031,
|
286 |
+
"loss": 0.0009,
|
287 |
+
"rewards/accuracies": 0.6499999761581421,
|
288 |
+
"rewards/chosen": 0.015273104421794415,
|
289 |
+
"rewards/margins": 0.008995559997856617,
|
290 |
+
"rewards/rejected": 0.006277543492615223,
|
291 |
+
"step": 180
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 3.04,
|
295 |
+
"learning_rate": 7.891457834794711e-07,
|
296 |
+
"logits/chosen": -0.12489555776119232,
|
297 |
+
"logits/rejected": 0.01580502651631832,
|
298 |
+
"logps/chosen": -139.43597412109375,
|
299 |
+
"logps/rejected": -76.32955932617188,
|
300 |
+
"loss": 0.0009,
|
301 |
+
"rewards/accuracies": 0.6312500238418579,
|
302 |
+
"rewards/chosen": 0.012240779586136341,
|
303 |
+
"rewards/margins": 0.006818818859755993,
|
304 |
+
"rewards/rejected": 0.005421961657702923,
|
305 |
+
"step": 190
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"epoch": 3.2,
|
309 |
+
"learning_rate": 5.501357126768117e-07,
|
310 |
+
"logits/chosen": -0.11466995626688004,
|
311 |
+
"logits/rejected": 0.03905560448765755,
|
312 |
+
"logps/chosen": -135.41317749023438,
|
313 |
+
"logps/rejected": -85.0548324584961,
|
314 |
+
"loss": 0.001,
|
315 |
+
"rewards/accuracies": 0.637499988079071,
|
316 |
+
"rewards/chosen": 0.011853891424834728,
|
317 |
+
"rewards/margins": 0.006260283291339874,
|
318 |
+
"rewards/rejected": 0.005593608133494854,
|
319 |
+
"step": 200
|
320 |
+
},
|
321 |
+
{
|
322 |
+
"epoch": 3.2,
|
323 |
+
"eval_logits/chosen": -0.04515805095434189,
|
324 |
+
"eval_logits/rejected": 0.05387289822101593,
|
325 |
+
"eval_logps/chosen": -307.02294921875,
|
326 |
+
"eval_logps/rejected": -279.1457214355469,
|
327 |
+
"eval_loss": 0.0018913293024525046,
|
328 |
+
"eval_rewards/accuracies": 0.47749999165534973,
|
329 |
+
"eval_rewards/chosen": -0.004567304626107216,
|
330 |
+
"eval_rewards/margins": -0.001661244546994567,
|
331 |
+
"eval_rewards/rejected": -0.002906060079112649,
|
332 |
+
"eval_runtime": 413.2351,
|
333 |
+
"eval_samples_per_second": 4.84,
|
334 |
+
"eval_steps_per_second": 1.21,
|
335 |
+
"step": 200
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 3.36,
|
339 |
+
"learning_rate": 3.4976020508682345e-07,
|
340 |
+
"logits/chosen": -0.14853140711784363,
|
341 |
+
"logits/rejected": 0.11701055616140366,
|
342 |
+
"logps/chosen": -154.20809936523438,
|
343 |
+
"logps/rejected": -87.95806884765625,
|
344 |
+
"loss": 0.0009,
|
345 |
+
"rewards/accuracies": 0.6499999761581421,
|
346 |
+
"rewards/chosen": 0.014176271855831146,
|
347 |
+
"rewards/margins": 0.007768501993268728,
|
348 |
+
"rewards/rejected": 0.006407769862562418,
|
349 |
+
"step": 210
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"epoch": 3.52,
|
353 |
+
"learning_rate": 1.9198949610721273e-07,
|
354 |
+
"logits/chosen": -0.16965876519680023,
|
355 |
+
"logits/rejected": 0.030850818380713463,
|
356 |
+
"logps/chosen": -149.52610778808594,
|
357 |
+
"logps/rejected": -90.52479553222656,
|
358 |
+
"loss": 0.001,
|
359 |
+
"rewards/accuracies": 0.581250011920929,
|
360 |
+
"rewards/chosen": 0.011471603065729141,
|
361 |
+
"rewards/margins": 0.0050462381914258,
|
362 |
+
"rewards/rejected": 0.006425364408642054,
|
363 |
+
"step": 220
|
364 |
+
},
|
365 |
+
{
|
366 |
+
"epoch": 3.68,
|
367 |
+
"learning_rate": 7.994965069994143e-08,
|
368 |
+
"logits/chosen": -0.1932154893875122,
|
369 |
+
"logits/rejected": 0.003398424480110407,
|
370 |
+
"logps/chosen": -119.58354187011719,
|
371 |
+
"logps/rejected": -80.70613098144531,
|
372 |
+
"loss": 0.0009,
|
373 |
+
"rewards/accuracies": 0.637499988079071,
|
374 |
+
"rewards/chosen": 0.013346564956009388,
|
375 |
+
"rewards/margins": 0.006659118924289942,
|
376 |
+
"rewards/rejected": 0.006687444634735584,
|
377 |
+
"step": 230
|
378 |
+
},
|
379 |
+
{
|
380 |
+
"epoch": 3.84,
|
381 |
+
"learning_rate": 1.5860623616664183e-08,
|
382 |
+
"logits/chosen": -0.054938964545726776,
|
383 |
+
"logits/rejected": 0.11343282461166382,
|
384 |
+
"logps/chosen": -149.49655151367188,
|
385 |
+
"logps/rejected": -88.27520751953125,
|
386 |
+
"loss": 0.001,
|
387 |
+
"rewards/accuracies": 0.5375000238418579,
|
388 |
+
"rewards/chosen": 0.010542812757194042,
|
389 |
+
"rewards/margins": 0.005555021110922098,
|
390 |
+
"rewards/rejected": 0.004987792111933231,
|
391 |
+
"step": 240
|
392 |
+
},
|
393 |
+
{
|
394 |
+
"epoch": 3.97,
|
395 |
+
"step": 248,
|
396 |
+
"total_flos": 0.0,
|
397 |
+
"train_loss": 0.00108777264728316,
|
398 |
+
"train_runtime": 2657.7329,
|
399 |
+
"train_samples_per_second": 1.505,
|
400 |
+
"train_steps_per_second": 0.093
|
401 |
+
}
|
402 |
+
],
|
403 |
+
"logging_steps": 10,
|
404 |
+
"max_steps": 248,
|
405 |
+
"num_input_tokens_seen": 0,
|
406 |
+
"num_train_epochs": 4,
|
407 |
+
"save_steps": 100,
|
408 |
+
"total_flos": 0.0,
|
409 |
+
"train_batch_size": 4,
|
410 |
+
"trial_name": null,
|
411 |
+
"trial_params": null
|
412 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3314d0043a2755c2cfc6f229a62fc7bea43872006deb7a72fee7c29fc522aa2e
|
3 |
+
size 5880
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|