Model save
Browse files- README.md +75 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- all_results.json +8 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- train_results.json +8 -0
- trainer_state.json +270 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- dpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
9 |
+
model-index:
|
10 |
+
- name: vanilla_dpo_iter_4
|
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 |
+
# vanilla_dpo_iter_4
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5941
|
22 |
+
- Rewards/chosen: -0.4399
|
23 |
+
- Rewards/rejected: -0.7506
|
24 |
+
- Rewards/accuracies: 0.7020
|
25 |
+
- Rewards/margins: 0.3107
|
26 |
+
- Logps/rejected: -356.7067
|
27 |
+
- Logps/chosen: -337.8192
|
28 |
+
- Logits/rejected: -2.0692
|
29 |
+
- Logits/chosen: -2.2237
|
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: 2
|
50 |
+
- eval_batch_size: 2
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- num_devices: 4
|
54 |
+
- gradient_accumulation_steps: 16
|
55 |
+
- total_train_batch_size: 128
|
56 |
+
- total_eval_batch_size: 8
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: cosine
|
59 |
+
- lr_scheduler_warmup_ratio: 0.1
|
60 |
+
- num_epochs: 1
|
61 |
+
|
62 |
+
### Training results
|
63 |
+
|
64 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
65 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
66 |
+
| 0.5962 | 0.64 | 100 | 0.5941 | -0.4399 | -0.7506 | 0.7020 | 0.3107 | -356.7067 | -337.8192 | -2.0692 | -2.2237 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- PEFT 0.7.1
|
72 |
+
- Transformers 4.36.2
|
73 |
+
- Pytorch 2.3.0+cu121
|
74 |
+
- Datasets 2.14.6
|
75 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "alignment-handbook/zephyr-7b-sft-full",
|
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": 128,
|
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": 64,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"gate_proj",
|
23 |
+
"q_proj",
|
24 |
+
"o_proj",
|
25 |
+
"k_proj",
|
26 |
+
"up_proj",
|
27 |
+
"down_proj",
|
28 |
+
"v_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM"
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6361badc843c3bf248600f7ca1421bfbbc044eafdacac80e01d60516fa7e8248
|
3 |
+
size 335605144
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.6200787784197391,
|
4 |
+
"train_runtime": 14536.4272,
|
5 |
+
"train_samples": 20000,
|
6 |
+
"train_samples_per_second": 1.376,
|
7 |
+
"train_steps_per_second": 0.011
|
8 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
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,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"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 %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"legacy": true,
|
36 |
+
"model_max_length": 2048,
|
37 |
+
"pad_token": "</s>",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"tokenizer_class": "LlamaTokenizer",
|
41 |
+
"unk_token": "<unk>",
|
42 |
+
"use_default_system_prompt": false
|
43 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.6200787784197391,
|
4 |
+
"train_runtime": 14536.4272,
|
5 |
+
"train_samples": 20000,
|
6 |
+
"train_samples_per_second": 1.376,
|
7 |
+
"train_steps_per_second": 0.011
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9984,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 156,
|
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.01,
|
13 |
+
"learning_rate": 3.125e-07,
|
14 |
+
"logits/chosen": -2.749149799346924,
|
15 |
+
"logits/rejected": -2.5982635021209717,
|
16 |
+
"logps/chosen": -351.88592529296875,
|
17 |
+
"logps/rejected": -339.1416931152344,
|
18 |
+
"loss": 0.6931,
|
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.06,
|
27 |
+
"learning_rate": 3.125e-06,
|
28 |
+
"logits/chosen": -2.634215831756592,
|
29 |
+
"logits/rejected": -2.565009593963623,
|
30 |
+
"logps/chosen": -264.03338623046875,
|
31 |
+
"logps/rejected": -276.0550842285156,
|
32 |
+
"loss": 0.6919,
|
33 |
+
"rewards/accuracies": 0.5277777910232544,
|
34 |
+
"rewards/chosen": -0.004038373474031687,
|
35 |
+
"rewards/margins": 0.00274546816945076,
|
36 |
+
"rewards/rejected": -0.006783841177821159,
|
37 |
+
"step": 10
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.13,
|
41 |
+
"learning_rate": 4.989935734988098e-06,
|
42 |
+
"logits/chosen": -2.6059346199035645,
|
43 |
+
"logits/rejected": -2.5347509384155273,
|
44 |
+
"logps/chosen": -289.2115173339844,
|
45 |
+
"logps/rejected": -285.11651611328125,
|
46 |
+
"loss": 0.6797,
|
47 |
+
"rewards/accuracies": 0.5687500238418579,
|
48 |
+
"rewards/chosen": -0.030138880014419556,
|
49 |
+
"rewards/margins": 0.022945497184991837,
|
50 |
+
"rewards/rejected": -0.05308438092470169,
|
51 |
+
"step": 20
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.19,
|
55 |
+
"learning_rate": 4.8776412907378845e-06,
|
56 |
+
"logits/chosen": -2.549204111099243,
|
57 |
+
"logits/rejected": -2.4668586254119873,
|
58 |
+
"logps/chosen": -296.6357727050781,
|
59 |
+
"logps/rejected": -286.880615234375,
|
60 |
+
"loss": 0.6602,
|
61 |
+
"rewards/accuracies": 0.671875,
|
62 |
+
"rewards/chosen": -0.08948583900928497,
|
63 |
+
"rewards/margins": 0.06929855048656464,
|
64 |
+
"rewards/rejected": -0.1587844043970108,
|
65 |
+
"step": 30
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.26,
|
69 |
+
"learning_rate": 4.646121984004666e-06,
|
70 |
+
"logits/chosen": -2.607750177383423,
|
71 |
+
"logits/rejected": -2.4750921726226807,
|
72 |
+
"logps/chosen": -298.0829162597656,
|
73 |
+
"logps/rejected": -306.82696533203125,
|
74 |
+
"loss": 0.6514,
|
75 |
+
"rewards/accuracies": 0.659375011920929,
|
76 |
+
"rewards/chosen": -0.19320181012153625,
|
77 |
+
"rewards/margins": 0.12534096837043762,
|
78 |
+
"rewards/rejected": -0.3185427784919739,
|
79 |
+
"step": 40
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.32,
|
83 |
+
"learning_rate": 4.3069871595684795e-06,
|
84 |
+
"logits/chosen": -2.520982265472412,
|
85 |
+
"logits/rejected": -2.4599428176879883,
|
86 |
+
"logps/chosen": -296.30560302734375,
|
87 |
+
"logps/rejected": -325.0945129394531,
|
88 |
+
"loss": 0.6459,
|
89 |
+
"rewards/accuracies": 0.6625000238418579,
|
90 |
+
"rewards/chosen": -0.12883062660694122,
|
91 |
+
"rewards/margins": 0.13393087685108185,
|
92 |
+
"rewards/rejected": -0.26276153326034546,
|
93 |
+
"step": 50
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.38,
|
97 |
+
"learning_rate": 3.8772424536302565e-06,
|
98 |
+
"logits/chosen": -2.5419609546661377,
|
99 |
+
"logits/rejected": -2.4526138305664062,
|
100 |
+
"logps/chosen": -303.03753662109375,
|
101 |
+
"logps/rejected": -309.76702880859375,
|
102 |
+
"loss": 0.6405,
|
103 |
+
"rewards/accuracies": 0.668749988079071,
|
104 |
+
"rewards/chosen": -0.13351231813430786,
|
105 |
+
"rewards/margins": 0.12426233291625977,
|
106 |
+
"rewards/rejected": -0.2577746510505676,
|
107 |
+
"step": 60
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.45,
|
111 |
+
"learning_rate": 3.3784370602033572e-06,
|
112 |
+
"logits/chosen": -2.4560115337371826,
|
113 |
+
"logits/rejected": -2.3811163902282715,
|
114 |
+
"logps/chosen": -344.1382141113281,
|
115 |
+
"logps/rejected": -355.2807922363281,
|
116 |
+
"loss": 0.6231,
|
117 |
+
"rewards/accuracies": 0.6812499761581421,
|
118 |
+
"rewards/chosen": -0.3589150905609131,
|
119 |
+
"rewards/margins": 0.1809873878955841,
|
120 |
+
"rewards/rejected": -0.5399025678634644,
|
121 |
+
"step": 70
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.51,
|
125 |
+
"learning_rate": 2.835583164544139e-06,
|
126 |
+
"logits/chosen": -2.4101650714874268,
|
127 |
+
"logits/rejected": -2.2786593437194824,
|
128 |
+
"logps/chosen": -342.35260009765625,
|
129 |
+
"logps/rejected": -337.49755859375,
|
130 |
+
"loss": 0.6147,
|
131 |
+
"rewards/accuracies": 0.653124988079071,
|
132 |
+
"rewards/chosen": -0.3759569525718689,
|
133 |
+
"rewards/margins": 0.1979154795408249,
|
134 |
+
"rewards/rejected": -0.573872447013855,
|
135 |
+
"step": 80
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.58,
|
139 |
+
"learning_rate": 2.2759017277414165e-06,
|
140 |
+
"logits/chosen": -2.2483856678009033,
|
141 |
+
"logits/rejected": -2.258373260498047,
|
142 |
+
"logps/chosen": -337.4295959472656,
|
143 |
+
"logps/rejected": -386.83465576171875,
|
144 |
+
"loss": 0.5889,
|
145 |
+
"rewards/accuracies": 0.6968749761581421,
|
146 |
+
"rewards/chosen": -0.4705071449279785,
|
147 |
+
"rewards/margins": 0.3142710328102112,
|
148 |
+
"rewards/rejected": -0.7847781181335449,
|
149 |
+
"step": 90
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.64,
|
153 |
+
"learning_rate": 1.7274575140626318e-06,
|
154 |
+
"logits/chosen": -2.268360137939453,
|
155 |
+
"logits/rejected": -2.165742874145508,
|
156 |
+
"logps/chosen": -334.42974853515625,
|
157 |
+
"logps/rejected": -348.5438232421875,
|
158 |
+
"loss": 0.5962,
|
159 |
+
"rewards/accuracies": 0.684374988079071,
|
160 |
+
"rewards/chosen": -0.475590318441391,
|
161 |
+
"rewards/margins": 0.3093096613883972,
|
162 |
+
"rewards/rejected": -0.7849000692367554,
|
163 |
+
"step": 100
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.64,
|
167 |
+
"eval_logits/chosen": -2.2236928939819336,
|
168 |
+
"eval_logits/rejected": -2.0692262649536133,
|
169 |
+
"eval_logps/chosen": -337.8192443847656,
|
170 |
+
"eval_logps/rejected": -356.7066955566406,
|
171 |
+
"eval_loss": 0.594050407409668,
|
172 |
+
"eval_rewards/accuracies": 0.7020000219345093,
|
173 |
+
"eval_rewards/chosen": -0.43988561630249023,
|
174 |
+
"eval_rewards/margins": 0.31074145436286926,
|
175 |
+
"eval_rewards/rejected": -0.7506271600723267,
|
176 |
+
"eval_runtime": 690.4847,
|
177 |
+
"eval_samples_per_second": 2.897,
|
178 |
+
"eval_steps_per_second": 0.362,
|
179 |
+
"step": 100
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 0.7,
|
183 |
+
"learning_rate": 1.217751806485235e-06,
|
184 |
+
"logits/chosen": -2.207293748855591,
|
185 |
+
"logits/rejected": -1.979222059249878,
|
186 |
+
"logps/chosen": -342.3262634277344,
|
187 |
+
"logps/rejected": -362.3468933105469,
|
188 |
+
"loss": 0.5798,
|
189 |
+
"rewards/accuracies": 0.7250000238418579,
|
190 |
+
"rewards/chosen": -0.526713490486145,
|
191 |
+
"rewards/margins": 0.35861119627952576,
|
192 |
+
"rewards/rejected": -0.8853246569633484,
|
193 |
+
"step": 110
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"epoch": 0.77,
|
197 |
+
"learning_rate": 7.723433775328385e-07,
|
198 |
+
"logits/chosen": -2.0455784797668457,
|
199 |
+
"logits/rejected": -1.9951608180999756,
|
200 |
+
"logps/chosen": -329.8724670410156,
|
201 |
+
"logps/rejected": -370.48577880859375,
|
202 |
+
"loss": 0.5914,
|
203 |
+
"rewards/accuracies": 0.671875,
|
204 |
+
"rewards/chosen": -0.56132572889328,
|
205 |
+
"rewards/margins": 0.291836678981781,
|
206 |
+
"rewards/rejected": -0.853162407875061,
|
207 |
+
"step": 120
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 0.83,
|
211 |
+
"learning_rate": 4.1356686569674344e-07,
|
212 |
+
"logits/chosen": -2.083890438079834,
|
213 |
+
"logits/rejected": -1.9531793594360352,
|
214 |
+
"logps/chosen": -333.07171630859375,
|
215 |
+
"logps/rejected": -376.0746765136719,
|
216 |
+
"loss": 0.5891,
|
217 |
+
"rewards/accuracies": 0.715624988079071,
|
218 |
+
"rewards/chosen": -0.44948244094848633,
|
219 |
+
"rewards/margins": 0.361866295337677,
|
220 |
+
"rewards/rejected": -0.8113487362861633,
|
221 |
+
"step": 130
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 0.9,
|
225 |
+
"learning_rate": 1.59412823400657e-07,
|
226 |
+
"logits/chosen": -2.076089382171631,
|
227 |
+
"logits/rejected": -1.8212101459503174,
|
228 |
+
"logps/chosen": -350.77374267578125,
|
229 |
+
"logps/rejected": -360.770263671875,
|
230 |
+
"loss": 0.5677,
|
231 |
+
"rewards/accuracies": 0.71875,
|
232 |
+
"rewards/chosen": -0.4118824005126953,
|
233 |
+
"rewards/margins": 0.38872456550598145,
|
234 |
+
"rewards/rejected": -0.8006070256233215,
|
235 |
+
"step": 140
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"epoch": 0.96,
|
239 |
+
"learning_rate": 2.262559558016325e-08,
|
240 |
+
"logits/chosen": -2.0566818714141846,
|
241 |
+
"logits/rejected": -1.8309047222137451,
|
242 |
+
"logps/chosen": -340.4973449707031,
|
243 |
+
"logps/rejected": -353.11956787109375,
|
244 |
+
"loss": 0.5863,
|
245 |
+
"rewards/accuracies": 0.721875011920929,
|
246 |
+
"rewards/chosen": -0.43235865235328674,
|
247 |
+
"rewards/margins": 0.37298649549484253,
|
248 |
+
"rewards/rejected": -0.8053451776504517,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 1.0,
|
253 |
+
"step": 156,
|
254 |
+
"total_flos": 0.0,
|
255 |
+
"train_loss": 0.6200787784197391,
|
256 |
+
"train_runtime": 14536.4272,
|
257 |
+
"train_samples_per_second": 1.376,
|
258 |
+
"train_steps_per_second": 0.011
|
259 |
+
}
|
260 |
+
],
|
261 |
+
"logging_steps": 10,
|
262 |
+
"max_steps": 156,
|
263 |
+
"num_input_tokens_seen": 0,
|
264 |
+
"num_train_epochs": 1,
|
265 |
+
"save_steps": 100,
|
266 |
+
"total_flos": 0.0,
|
267 |
+
"train_batch_size": 2,
|
268 |
+
"trial_name": null,
|
269 |
+
"trial_params": null
|
270 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0efbcff010eb24c0174d914a8887d7a5a7bd79e2b7f39002ddef20dd9bcfeb57
|
3 |
+
size 4856
|