Upload folder using huggingface_hub
Browse files- mistral7b_dpo_baseline/README.md +64 -0
- mistral7b_dpo_baseline/adapter_config.json +42 -0
- mistral7b_dpo_baseline/adapter_model.safetensors +3 -0
- mistral7b_dpo_baseline/all_results.json +8 -0
- mistral7b_dpo_baseline/chat_template.jinja +3 -0
- mistral7b_dpo_baseline/checkpoint-196/README.md +208 -0
- mistral7b_dpo_baseline/checkpoint-196/adapter_config.json +42 -0
- mistral7b_dpo_baseline/checkpoint-196/adapter_model.safetensors +3 -0
- mistral7b_dpo_baseline/checkpoint-196/chat_template.jinja +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/global_step196/mp_rank_00_model_states.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/latest +1 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_0.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_1.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_2.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_3.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_4.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_5.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_6.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/rng_state_7.pth +3 -0
- mistral7b_dpo_baseline/checkpoint-196/scheduler.pt +3 -0
- mistral7b_dpo_baseline/checkpoint-196/special_tokens_map.json +24 -0
- mistral7b_dpo_baseline/checkpoint-196/tokenizer.json +0 -0
- mistral7b_dpo_baseline/checkpoint-196/tokenizer.model +3 -0
- mistral7b_dpo_baseline/checkpoint-196/tokenizer_config.json +46 -0
- mistral7b_dpo_baseline/checkpoint-196/trainer_state.json +809 -0
- mistral7b_dpo_baseline/checkpoint-196/training_args.bin +3 -0
- mistral7b_dpo_baseline/checkpoint-196/zero_to_fp32.py +760 -0
- mistral7b_dpo_baseline/special_tokens_map.json +24 -0
- mistral7b_dpo_baseline/tokenizer.json +0 -0
- mistral7b_dpo_baseline/tokenizer.model +3 -0
- mistral7b_dpo_baseline/tokenizer_config.json +46 -0
- mistral7b_dpo_baseline/train_results.json +8 -0
- mistral7b_dpo_baseline/trainer_log.jsonl +40 -0
- mistral7b_dpo_baseline/trainer_state.json +818 -0
- mistral7b_dpo_baseline/training_args.bin +3 -0
- mistral7b_dpo_baseline/training_loss.png +0 -0
- mistral7b_dpo_baseline/training_rewards_accuracies.png +0 -0
- mistral7b_dpo_baseline/training_rewards_chosen.png +0 -0
- mistral7b_dpo_baseline/training_rewards_margins.png +0 -0
- mistral7b_dpo_baseline/training_rewards_rejected.png +0 -0
mistral7b_dpo_baseline/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: mistralai/Mistral-7B-v0.1
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:mistralai/Mistral-7B-v0.1
|
| 7 |
+
- llama-factory
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
model-index:
|
| 12 |
+
- name: mistral7b_dpo_baseline
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# mistral7b_dpo_baseline
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the shp_dpo_train dataset.
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 1e-06
|
| 41 |
+
- train_batch_size: 8
|
| 42 |
+
- eval_batch_size: 8
|
| 43 |
+
- seed: 42
|
| 44 |
+
- distributed_type: multi-GPU
|
| 45 |
+
- num_devices: 8
|
| 46 |
+
- gradient_accumulation_steps: 8
|
| 47 |
+
- total_train_batch_size: 512
|
| 48 |
+
- total_eval_batch_size: 64
|
| 49 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 50 |
+
- lr_scheduler_type: cosine
|
| 51 |
+
- lr_scheduler_warmup_steps: 100
|
| 52 |
+
- num_epochs: 1.0
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
### Framework versions
|
| 59 |
+
|
| 60 |
+
- PEFT 0.17.1
|
| 61 |
+
- Transformers 4.57.1
|
| 62 |
+
- Pytorch 2.10.0+cu128
|
| 63 |
+
- Datasets 4.0.0
|
| 64 |
+
- Tokenizers 0.22.2
|
mistral7b_dpo_baseline/adapter_config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"qalora_group_size": 16,
|
| 24 |
+
"r": 8,
|
| 25 |
+
"rank_pattern": {},
|
| 26 |
+
"revision": null,
|
| 27 |
+
"target_modules": [
|
| 28 |
+
"down_proj",
|
| 29 |
+
"v_proj",
|
| 30 |
+
"k_proj",
|
| 31 |
+
"up_proj",
|
| 32 |
+
"q_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"gate_proj"
|
| 35 |
+
],
|
| 36 |
+
"target_parameters": null,
|
| 37 |
+
"task_type": "CAUSAL_LM",
|
| 38 |
+
"trainable_token_indices": null,
|
| 39 |
+
"use_dora": false,
|
| 40 |
+
"use_qalora": false,
|
| 41 |
+
"use_rslora": false
|
| 42 |
+
}
|
mistral7b_dpo_baseline/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb08bf36b7c4c22c2a271042abc4374e96b79bb94961046f1199a0fd2b826a92
|
| 3 |
+
size 42002584
|
mistral7b_dpo_baseline/all_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.0,
|
| 3 |
+
"total_flos": 7.072674331683193e+18,
|
| 4 |
+
"train_loss": 0.6730708850889789,
|
| 5 |
+
"train_runtime": 4328.1955,
|
| 6 |
+
"train_samples_per_second": 23.104,
|
| 7 |
+
"train_steps_per_second": 0.045
|
| 8 |
+
}
|
mistral7b_dpo_baseline/chat_template.jinja
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ '<s>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 and system_message is defined %}{% set content = system_message + '
|
| 2 |
+
|
| 3 |
+
' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + content + '[/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content + '</s>' }}{% endif %}{% endfor %}
|
mistral7b_dpo_baseline/checkpoint-196/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: mistralai/Mistral-7B-v0.1
|
| 3 |
+
library_name: peft
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
tags:
|
| 6 |
+
- base_model:adapter:mistralai/Mistral-7B-v0.1
|
| 7 |
+
- llama-factory
|
| 8 |
+
- lora
|
| 9 |
+
- transformers
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Model Card for Model ID
|
| 13 |
+
|
| 14 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Model Details
|
| 19 |
+
|
| 20 |
+
### Model Description
|
| 21 |
+
|
| 22 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
- **Developed by:** [More Information Needed]
|
| 27 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 28 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 29 |
+
- **Model type:** [More Information Needed]
|
| 30 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 31 |
+
- **License:** [More Information Needed]
|
| 32 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 33 |
+
|
| 34 |
+
### Model Sources [optional]
|
| 35 |
+
|
| 36 |
+
<!-- Provide the basic links for the model. -->
|
| 37 |
+
|
| 38 |
+
- **Repository:** [More Information Needed]
|
| 39 |
+
- **Paper [optional]:** [More Information Needed]
|
| 40 |
+
- **Demo [optional]:** [More Information Needed]
|
| 41 |
+
|
| 42 |
+
## Uses
|
| 43 |
+
|
| 44 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 45 |
+
|
| 46 |
+
### Direct Use
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Downstream Use [optional]
|
| 53 |
+
|
| 54 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
### Out-of-Scope Use
|
| 59 |
+
|
| 60 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
## Bias, Risks, and Limitations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 67 |
+
|
| 68 |
+
[More Information Needed]
|
| 69 |
+
|
| 70 |
+
### Recommendations
|
| 71 |
+
|
| 72 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 73 |
+
|
| 74 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 75 |
+
|
| 76 |
+
## How to Get Started with the Model
|
| 77 |
+
|
| 78 |
+
Use the code below to get started with the model.
|
| 79 |
+
|
| 80 |
+
[More Information Needed]
|
| 81 |
+
|
| 82 |
+
## Training Details
|
| 83 |
+
|
| 84 |
+
### Training Data
|
| 85 |
+
|
| 86 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 87 |
+
|
| 88 |
+
[More Information Needed]
|
| 89 |
+
|
| 90 |
+
### Training Procedure
|
| 91 |
+
|
| 92 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 93 |
+
|
| 94 |
+
#### Preprocessing [optional]
|
| 95 |
+
|
| 96 |
+
[More Information Needed]
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
#### Training Hyperparameters
|
| 100 |
+
|
| 101 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 102 |
+
|
| 103 |
+
#### Speeds, Sizes, Times [optional]
|
| 104 |
+
|
| 105 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 106 |
+
|
| 107 |
+
[More Information Needed]
|
| 108 |
+
|
| 109 |
+
## Evaluation
|
| 110 |
+
|
| 111 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 112 |
+
|
| 113 |
+
### Testing Data, Factors & Metrics
|
| 114 |
+
|
| 115 |
+
#### Testing Data
|
| 116 |
+
|
| 117 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Factors
|
| 122 |
+
|
| 123 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
#### Metrics
|
| 128 |
+
|
| 129 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 130 |
+
|
| 131 |
+
[More Information Needed]
|
| 132 |
+
|
| 133 |
+
### Results
|
| 134 |
+
|
| 135 |
+
[More Information Needed]
|
| 136 |
+
|
| 137 |
+
#### Summary
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## Model Examination [optional]
|
| 142 |
+
|
| 143 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 144 |
+
|
| 145 |
+
[More Information Needed]
|
| 146 |
+
|
| 147 |
+
## Environmental Impact
|
| 148 |
+
|
| 149 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 150 |
+
|
| 151 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 152 |
+
|
| 153 |
+
- **Hardware Type:** [More Information Needed]
|
| 154 |
+
- **Hours used:** [More Information Needed]
|
| 155 |
+
- **Cloud Provider:** [More Information Needed]
|
| 156 |
+
- **Compute Region:** [More Information Needed]
|
| 157 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 158 |
+
|
| 159 |
+
## Technical Specifications [optional]
|
| 160 |
+
|
| 161 |
+
### Model Architecture and Objective
|
| 162 |
+
|
| 163 |
+
[More Information Needed]
|
| 164 |
+
|
| 165 |
+
### Compute Infrastructure
|
| 166 |
+
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
|
| 169 |
+
#### Hardware
|
| 170 |
+
|
| 171 |
+
[More Information Needed]
|
| 172 |
+
|
| 173 |
+
#### Software
|
| 174 |
+
|
| 175 |
+
[More Information Needed]
|
| 176 |
+
|
| 177 |
+
## Citation [optional]
|
| 178 |
+
|
| 179 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 180 |
+
|
| 181 |
+
**BibTeX:**
|
| 182 |
+
|
| 183 |
+
[More Information Needed]
|
| 184 |
+
|
| 185 |
+
**APA:**
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## Glossary [optional]
|
| 190 |
+
|
| 191 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 192 |
+
|
| 193 |
+
[More Information Needed]
|
| 194 |
+
|
| 195 |
+
## More Information [optional]
|
| 196 |
+
|
| 197 |
+
[More Information Needed]
|
| 198 |
+
|
| 199 |
+
## Model Card Authors [optional]
|
| 200 |
+
|
| 201 |
+
[More Information Needed]
|
| 202 |
+
|
| 203 |
+
## Model Card Contact
|
| 204 |
+
|
| 205 |
+
[More Information Needed]
|
| 206 |
+
### Framework versions
|
| 207 |
+
|
| 208 |
+
- PEFT 0.17.1
|
mistral7b_dpo_baseline/checkpoint-196/adapter_config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0.0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"qalora_group_size": 16,
|
| 24 |
+
"r": 8,
|
| 25 |
+
"rank_pattern": {},
|
| 26 |
+
"revision": null,
|
| 27 |
+
"target_modules": [
|
| 28 |
+
"down_proj",
|
| 29 |
+
"v_proj",
|
| 30 |
+
"k_proj",
|
| 31 |
+
"up_proj",
|
| 32 |
+
"q_proj",
|
| 33 |
+
"o_proj",
|
| 34 |
+
"gate_proj"
|
| 35 |
+
],
|
| 36 |
+
"target_parameters": null,
|
| 37 |
+
"task_type": "CAUSAL_LM",
|
| 38 |
+
"trainable_token_indices": null,
|
| 39 |
+
"use_dora": false,
|
| 40 |
+
"use_qalora": false,
|
| 41 |
+
"use_rslora": false
|
| 42 |
+
}
|
mistral7b_dpo_baseline/checkpoint-196/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb08bf36b7c4c22c2a271042abc4374e96b79bb94961046f1199a0fd2b826a92
|
| 3 |
+
size 42002584
|
mistral7b_dpo_baseline/checkpoint-196/chat_template.jinja
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ '<s>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 and system_message is defined %}{% set content = system_message + '
|
| 2 |
+
|
| 3 |
+
' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + content + '[/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content + '</s>' }}{% endif %}{% endfor %}
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_0_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3412bfdde07e8ccf6ee2c7a6e1013a77897179bd8d87fd1c0151d672fbe6f51
|
| 3 |
+
size 31467333
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_1_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef0b9c0fb09709cbb0aa2a2bce03029535ba57f2cbad89db5c10bcbe612b87e5
|
| 3 |
+
size 31467333
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_2_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95d9fb085f3cd871d003937efad16763bdce2391e4fd3f73bd041d3edd03cbef
|
| 3 |
+
size 31467333
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_3_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1fc05b69463faeeff9a036941984b5294c80fcdf446c0d7a15e278131f3d764e
|
| 3 |
+
size 31467397
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_4_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adffb6efc08ea80b66ec41b88bb00c41bc3c709ef1b413c847a0f24976d12e91
|
| 3 |
+
size 31467397
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_5_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48f16a737fc4da5c39205c1ac838aaf36ce81483ba38bddbbdc55d7ee028aef3
|
| 3 |
+
size 31467397
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_6_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90ec802fe879331461fd52e833a64dd8f8b4be0931e5ae4ce081cc8bcfbe0dc0
|
| 3 |
+
size 31467397
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/bf16_zero_pp_rank_7_mp_rank_00_optim_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53a28de969dcc56420659a48fc2236e12a3a6b1097741c78a3d5ca6d598a7328
|
| 3 |
+
size 31467397
|
mistral7b_dpo_baseline/checkpoint-196/global_step196/mp_rank_00_model_states.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e127229070dfd66bdda8267978c980385dd0d845e366ced2838eb74062130772
|
| 3 |
+
size 42288409
|
mistral7b_dpo_baseline/checkpoint-196/latest
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
global_step196
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21d297146ab677fd643661f63c3b273b50343b968f3faa199a7fa80366501310
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ed40a0a4e9f365d2c6cc004d97e6705894eba46c8be4c160c1455bc3062dee1
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_2.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d688b304d19c260b5cfa471535ed51d7e1d60b3a0d0159dfd1a04b87904a9f42
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_3.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9967425ebcaee80d9b518fa0244d52f739b1b983d87cda71d5fede0c073e9d3b
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_4.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:469900fd39c667ffbd49c3c407c0ba317a1e9f5f9339a99b5d38423b7d0ce6d4
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_5.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:124688471ff2a6e80f2fcefedbf741fb18d08dd539d5bd07a52e81be545142a5
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_6.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e69f1ced9f992a72c948698e5eb06088610788988cdb2fdbdd624e064319d60
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/rng_state_7.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a376268a55d6ee10c371c06aa952334c4c6a1af9ea2d71b1951a57367a0c6722
|
| 3 |
+
size 16389
|
mistral7b_dpo_baseline/checkpoint-196/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83820952e8eb59075696a2d6e1f7ef27d70c5576cb2781806606f38f86685d3e
|
| 3 |
+
size 1401
|
mistral7b_dpo_baseline/checkpoint-196/special_tokens_map.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "</s>",
|
| 17 |
+
"unk_token": {
|
| 18 |
+
"content": "<unk>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
}
|
| 24 |
+
}
|
mistral7b_dpo_baseline/checkpoint-196/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
mistral7b_dpo_baseline/checkpoint-196/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
| 3 |
+
size 493443
|
mistral7b_dpo_baseline/checkpoint-196/tokenizer_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"additional_special_tokens": [],
|
| 32 |
+
"bos_token": "<s>",
|
| 33 |
+
"clean_up_tokenization_spaces": false,
|
| 34 |
+
"eos_token": "</s>",
|
| 35 |
+
"extra_special_tokens": {},
|
| 36 |
+
"legacy": false,
|
| 37 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 38 |
+
"pad_token": "</s>",
|
| 39 |
+
"padding_side": "right",
|
| 40 |
+
"sp_model_kwargs": {},
|
| 41 |
+
"spaces_between_special_tokens": false,
|
| 42 |
+
"split_special_tokens": false,
|
| 43 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 44 |
+
"unk_token": "<unk>",
|
| 45 |
+
"use_default_system_prompt": false
|
| 46 |
+
}
|
mistral7b_dpo_baseline/checkpoint-196/trainer_state.json
ADDED
|
@@ -0,0 +1,809 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 196,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.025591810620601407,
|
| 14 |
+
"grad_norm": 1.705037236213684,
|
| 15 |
+
"learning_rate": 4e-08,
|
| 16 |
+
"logits/chosen": -2.273033380508423,
|
| 17 |
+
"logits/rejected": -2.1234283447265625,
|
| 18 |
+
"logps/chosen": -375.063232421875,
|
| 19 |
+
"logps/rejected": -210.8657684326172,
|
| 20 |
+
"loss": 0.6931,
|
| 21 |
+
"rewards/accuracies": 0.3062500059604645,
|
| 22 |
+
"rewards/chosen": 0.0012258010683581233,
|
| 23 |
+
"rewards/margins": 0.0003632208681665361,
|
| 24 |
+
"rewards/rejected": 0.0008625800255686045,
|
| 25 |
+
"step": 5
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 0.05118362124120281,
|
| 29 |
+
"grad_norm": 1.766357421875,
|
| 30 |
+
"learning_rate": 9e-08,
|
| 31 |
+
"logits/chosen": -2.2679283618927,
|
| 32 |
+
"logits/rejected": -2.116572141647339,
|
| 33 |
+
"logps/chosen": -382.0296325683594,
|
| 34 |
+
"logps/rejected": -202.4493408203125,
|
| 35 |
+
"loss": 0.6931,
|
| 36 |
+
"rewards/accuracies": 0.5082031488418579,
|
| 37 |
+
"rewards/chosen": 0.0013576988130807877,
|
| 38 |
+
"rewards/margins": 0.0005467134760692716,
|
| 39 |
+
"rewards/rejected": 0.0008109854534268379,
|
| 40 |
+
"stability/repetition_rate_mean": 0.9135147929191589,
|
| 41 |
+
"stability/response_length_mean": 602.7999877929688,
|
| 42 |
+
"stability/response_length_std": 295.1842346191406,
|
| 43 |
+
"stability/response_length_var": 87133.734375,
|
| 44 |
+
"stability/token_entropy_mean": 6.959374904632568,
|
| 45 |
+
"step": 10
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.07677543186180422,
|
| 49 |
+
"grad_norm": 1.8122901916503906,
|
| 50 |
+
"learning_rate": 1.4e-07,
|
| 51 |
+
"logits/chosen": -2.260676860809326,
|
| 52 |
+
"logits/rejected": -2.0991530418395996,
|
| 53 |
+
"logps/chosen": -389.2082214355469,
|
| 54 |
+
"logps/rejected": -207.0491180419922,
|
| 55 |
+
"loss": 0.6932,
|
| 56 |
+
"rewards/accuracies": 0.5082031488418579,
|
| 57 |
+
"rewards/chosen": 0.0017401383956894279,
|
| 58 |
+
"rewards/margins": 0.00028905909857712686,
|
| 59 |
+
"rewards/rejected": 0.0014510790351778269,
|
| 60 |
+
"stability/repetition_rate_mean": 0.8363126516342163,
|
| 61 |
+
"stability/response_length_mean": 345.70001220703125,
|
| 62 |
+
"stability/response_length_std": 212.67974853515625,
|
| 63 |
+
"stability/response_length_var": 45232.6796875,
|
| 64 |
+
"stability/token_entropy_mean": 6.342187404632568,
|
| 65 |
+
"step": 15
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.10236724248240563,
|
| 69 |
+
"grad_norm": 1.7545065879821777,
|
| 70 |
+
"learning_rate": 1.8999999999999998e-07,
|
| 71 |
+
"logits/chosen": -2.2613608837127686,
|
| 72 |
+
"logits/rejected": -2.1145310401916504,
|
| 73 |
+
"logps/chosen": -368.71954345703125,
|
| 74 |
+
"logps/rejected": -198.5596160888672,
|
| 75 |
+
"loss": 0.6939,
|
| 76 |
+
"rewards/accuracies": 0.49140626192092896,
|
| 77 |
+
"rewards/chosen": 0.0004601169202942401,
|
| 78 |
+
"rewards/margins": -0.0010562256211414933,
|
| 79 |
+
"rewards/rejected": 0.0015163427451625466,
|
| 80 |
+
"stability/repetition_rate_mean": 0.9317001104354858,
|
| 81 |
+
"stability/response_length_mean": 739.4000244140625,
|
| 82 |
+
"stability/response_length_std": 281.282470703125,
|
| 83 |
+
"stability/response_length_var": 79119.8203125,
|
| 84 |
+
"stability/token_entropy_mean": 6.931250095367432,
|
| 85 |
+
"step": 20
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"epoch": 0.12795905310300704,
|
| 89 |
+
"grad_norm": 1.731654167175293,
|
| 90 |
+
"learning_rate": 2.4e-07,
|
| 91 |
+
"logits/chosen": -2.277377128601074,
|
| 92 |
+
"logits/rejected": -2.125220775604248,
|
| 93 |
+
"logps/chosen": -378.1647033691406,
|
| 94 |
+
"logps/rejected": -205.86363220214844,
|
| 95 |
+
"loss": 0.693,
|
| 96 |
+
"rewards/accuracies": 0.5082031488418579,
|
| 97 |
+
"rewards/chosen": 0.002021136460825801,
|
| 98 |
+
"rewards/margins": 0.0006010310025885701,
|
| 99 |
+
"rewards/rejected": 0.0014201054582372308,
|
| 100 |
+
"stability/repetition_rate_mean": 0.8950179815292358,
|
| 101 |
+
"stability/response_length_mean": 658.5999755859375,
|
| 102 |
+
"stability/response_length_std": 288.0155029296875,
|
| 103 |
+
"stability/response_length_var": 82952.9296875,
|
| 104 |
+
"stability/token_entropy_mean": 6.821875095367432,
|
| 105 |
+
"step": 25
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 0.15355086372360843,
|
| 109 |
+
"grad_norm": 1.8716338872909546,
|
| 110 |
+
"learning_rate": 2.9e-07,
|
| 111 |
+
"logits/chosen": -2.2701575756073,
|
| 112 |
+
"logits/rejected": -2.1229705810546875,
|
| 113 |
+
"logps/chosen": -373.9202575683594,
|
| 114 |
+
"logps/rejected": -208.93287658691406,
|
| 115 |
+
"loss": 0.6935,
|
| 116 |
+
"rewards/accuracies": 0.490234375,
|
| 117 |
+
"rewards/chosen": 0.0010083412053063512,
|
| 118 |
+
"rewards/margins": -0.0003178715705871582,
|
| 119 |
+
"rewards/rejected": 0.0013262125430628657,
|
| 120 |
+
"stability/repetition_rate_mean": 0.8135284185409546,
|
| 121 |
+
"stability/response_length_mean": 356.0,
|
| 122 |
+
"stability/response_length_std": 249.6766815185547,
|
| 123 |
+
"stability/response_length_var": 62338.4453125,
|
| 124 |
+
"stability/token_entropy_mean": 6.199999809265137,
|
| 125 |
+
"step": 30
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"epoch": 0.17914267434420986,
|
| 129 |
+
"grad_norm": 1.733734369277954,
|
| 130 |
+
"learning_rate": 3.4000000000000003e-07,
|
| 131 |
+
"logits/chosen": -2.2612318992614746,
|
| 132 |
+
"logits/rejected": -2.120094060897827,
|
| 133 |
+
"logps/chosen": -366.3136901855469,
|
| 134 |
+
"logps/rejected": -203.98719787597656,
|
| 135 |
+
"loss": 0.6928,
|
| 136 |
+
"rewards/accuracies": 0.5265624523162842,
|
| 137 |
+
"rewards/chosen": 0.0032140661496669054,
|
| 138 |
+
"rewards/margins": 0.0011429906589910388,
|
| 139 |
+
"rewards/rejected": 0.0020710753742605448,
|
| 140 |
+
"stability/repetition_rate_mean": 0.9289250373840332,
|
| 141 |
+
"stability/response_length_mean": 606.2000122070312,
|
| 142 |
+
"stability/response_length_std": 394.1366882324219,
|
| 143 |
+
"stability/response_length_var": 155343.734375,
|
| 144 |
+
"stability/token_entropy_mean": 7.112500190734863,
|
| 145 |
+
"step": 35
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 0.20473448496481125,
|
| 149 |
+
"grad_norm": 1.8034971952438354,
|
| 150 |
+
"learning_rate": 3.8999999999999997e-07,
|
| 151 |
+
"logits/chosen": -2.2764394283294678,
|
| 152 |
+
"logits/rejected": -2.122685432434082,
|
| 153 |
+
"logps/chosen": -369.1784973144531,
|
| 154 |
+
"logps/rejected": -197.37686157226562,
|
| 155 |
+
"loss": 0.6928,
|
| 156 |
+
"rewards/accuracies": 0.5144531726837158,
|
| 157 |
+
"rewards/chosen": 0.004107568878680468,
|
| 158 |
+
"rewards/margins": 0.0011615146650001407,
|
| 159 |
+
"rewards/rejected": 0.0029460543300956488,
|
| 160 |
+
"stability/repetition_rate_mean": 0.8629743456840515,
|
| 161 |
+
"stability/response_length_mean": 547.2000122070312,
|
| 162 |
+
"stability/response_length_std": 290.8897399902344,
|
| 163 |
+
"stability/response_length_var": 84616.84375,
|
| 164 |
+
"stability/token_entropy_mean": 6.557812690734863,
|
| 165 |
+
"step": 40
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"epoch": 0.23032629558541268,
|
| 169 |
+
"grad_norm": 1.8129643201828003,
|
| 170 |
+
"learning_rate": 4.3999999999999997e-07,
|
| 171 |
+
"logits/chosen": -2.257107734680176,
|
| 172 |
+
"logits/rejected": -2.1072099208831787,
|
| 173 |
+
"logps/chosen": -385.1796569824219,
|
| 174 |
+
"logps/rejected": -212.56887817382812,
|
| 175 |
+
"loss": 0.6933,
|
| 176 |
+
"rewards/accuracies": 0.512890636920929,
|
| 177 |
+
"rewards/chosen": 0.0039331079460680485,
|
| 178 |
+
"rewards/margins": 3.291945904493332e-05,
|
| 179 |
+
"rewards/rejected": 0.003900188487023115,
|
| 180 |
+
"stability/repetition_rate_mean": 0.8764154314994812,
|
| 181 |
+
"stability/response_length_mean": 366.5,
|
| 182 |
+
"stability/response_length_std": 118.86243438720703,
|
| 183 |
+
"stability/response_length_var": 14128.27734375,
|
| 184 |
+
"stability/token_entropy_mean": 6.640625,
|
| 185 |
+
"step": 45
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.2559181062060141,
|
| 189 |
+
"grad_norm": 1.8471362590789795,
|
| 190 |
+
"learning_rate": 4.9e-07,
|
| 191 |
+
"logits/chosen": -2.264720916748047,
|
| 192 |
+
"logits/rejected": -2.109816312789917,
|
| 193 |
+
"logps/chosen": -378.2891540527344,
|
| 194 |
+
"logps/rejected": -207.4978790283203,
|
| 195 |
+
"loss": 0.6916,
|
| 196 |
+
"rewards/accuracies": 0.5316406488418579,
|
| 197 |
+
"rewards/chosen": 0.0068646748550236225,
|
| 198 |
+
"rewards/margins": 0.0035711233504116535,
|
| 199 |
+
"rewards/rejected": 0.003293551504611969,
|
| 200 |
+
"stability/repetition_rate_mean": 0.8785834312438965,
|
| 201 |
+
"stability/response_length_mean": 384.1000061035156,
|
| 202 |
+
"stability/response_length_std": 178.4809112548828,
|
| 203 |
+
"stability/response_length_var": 31855.43359375,
|
| 204 |
+
"stability/token_entropy_mean": 6.543749809265137,
|
| 205 |
+
"step": 50
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"epoch": 0.28150991682661547,
|
| 209 |
+
"grad_norm": 1.940763235092163,
|
| 210 |
+
"learning_rate": 5.4e-07,
|
| 211 |
+
"logits/chosen": -2.2527079582214355,
|
| 212 |
+
"logits/rejected": -2.094048261642456,
|
| 213 |
+
"logps/chosen": -393.7845764160156,
|
| 214 |
+
"logps/rejected": -210.35861206054688,
|
| 215 |
+
"loss": 0.6911,
|
| 216 |
+
"rewards/accuracies": 0.536328136920929,
|
| 217 |
+
"rewards/chosen": 0.009546511806547642,
|
| 218 |
+
"rewards/margins": 0.004484717734158039,
|
| 219 |
+
"rewards/rejected": 0.005061793606728315,
|
| 220 |
+
"stability/repetition_rate_mean": 0.9481571912765503,
|
| 221 |
+
"stability/response_length_mean": 332.8999938964844,
|
| 222 |
+
"stability/response_length_std": 137.39193725585938,
|
| 223 |
+
"stability/response_length_var": 18876.544921875,
|
| 224 |
+
"stability/token_entropy_mean": 7.009375095367432,
|
| 225 |
+
"step": 55
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"epoch": 0.30710172744721687,
|
| 229 |
+
"grad_norm": 1.8226360082626343,
|
| 230 |
+
"learning_rate": 5.9e-07,
|
| 231 |
+
"logits/chosen": -2.272801160812378,
|
| 232 |
+
"logits/rejected": -2.111156463623047,
|
| 233 |
+
"logps/chosen": -387.7115173339844,
|
| 234 |
+
"logps/rejected": -206.819580078125,
|
| 235 |
+
"loss": 0.6915,
|
| 236 |
+
"rewards/accuracies": 0.5328124761581421,
|
| 237 |
+
"rewards/chosen": 0.009509808383882046,
|
| 238 |
+
"rewards/margins": 0.00375912943854928,
|
| 239 |
+
"rewards/rejected": 0.005750678479671478,
|
| 240 |
+
"stability/repetition_rate_mean": 0.8699707984924316,
|
| 241 |
+
"stability/response_length_mean": 655.2999877929688,
|
| 242 |
+
"stability/response_length_std": 282.005126953125,
|
| 243 |
+
"stability/response_length_var": 79526.8984375,
|
| 244 |
+
"stability/token_entropy_mean": 6.559374809265137,
|
| 245 |
+
"step": 60
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"epoch": 0.3326935380678183,
|
| 249 |
+
"grad_norm": 1.6994986534118652,
|
| 250 |
+
"learning_rate": 6.4e-07,
|
| 251 |
+
"logits/chosen": -2.2521181106567383,
|
| 252 |
+
"logits/rejected": -2.098989963531494,
|
| 253 |
+
"logps/chosen": -377.4696960449219,
|
| 254 |
+
"logps/rejected": -204.3833465576172,
|
| 255 |
+
"loss": 0.6908,
|
| 256 |
+
"rewards/accuracies": 0.5625000596046448,
|
| 257 |
+
"rewards/chosen": 0.012991372495889664,
|
| 258 |
+
"rewards/margins": 0.00506935128942132,
|
| 259 |
+
"rewards/rejected": 0.007922019809484482,
|
| 260 |
+
"stability/repetition_rate_mean": 0.9148252606391907,
|
| 261 |
+
"stability/response_length_mean": 306.3999938964844,
|
| 262 |
+
"stability/response_length_std": 141.7236785888672,
|
| 263 |
+
"stability/response_length_var": 20085.599609375,
|
| 264 |
+
"stability/token_entropy_mean": 6.840624809265137,
|
| 265 |
+
"step": 65
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 0.3582853486884197,
|
| 269 |
+
"grad_norm": 2.000992774963379,
|
| 270 |
+
"learning_rate": 6.9e-07,
|
| 271 |
+
"logits/chosen": -2.2713451385498047,
|
| 272 |
+
"logits/rejected": -2.106651782989502,
|
| 273 |
+
"logps/chosen": -393.73406982421875,
|
| 274 |
+
"logps/rejected": -206.1870574951172,
|
| 275 |
+
"loss": 0.6888,
|
| 276 |
+
"rewards/accuracies": 0.5777344107627869,
|
| 277 |
+
"rewards/chosen": 0.017473159357905388,
|
| 278 |
+
"rewards/margins": 0.009205814450979233,
|
| 279 |
+
"rewards/rejected": 0.008267344906926155,
|
| 280 |
+
"stability/repetition_rate_mean": 0.9625760316848755,
|
| 281 |
+
"stability/response_length_mean": 472.70001220703125,
|
| 282 |
+
"stability/response_length_std": 159.89791870117188,
|
| 283 |
+
"stability/response_length_var": 25567.34375,
|
| 284 |
+
"stability/token_entropy_mean": 7.162499904632568,
|
| 285 |
+
"step": 70
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"epoch": 0.3838771593090211,
|
| 289 |
+
"grad_norm": 1.8905284404754639,
|
| 290 |
+
"learning_rate": 7.4e-07,
|
| 291 |
+
"logits/chosen": -2.275454521179199,
|
| 292 |
+
"logits/rejected": -2.116396903991699,
|
| 293 |
+
"logps/chosen": -381.0571594238281,
|
| 294 |
+
"logps/rejected": -207.9349365234375,
|
| 295 |
+
"loss": 0.689,
|
| 296 |
+
"rewards/accuracies": 0.577343761920929,
|
| 297 |
+
"rewards/chosen": 0.018993159756064415,
|
| 298 |
+
"rewards/margins": 0.008799022994935513,
|
| 299 |
+
"rewards/rejected": 0.010194134898483753,
|
| 300 |
+
"stability/repetition_rate_mean": 0.9068478345870972,
|
| 301 |
+
"stability/response_length_mean": 527.0,
|
| 302 |
+
"stability/response_length_std": 293.7500915527344,
|
| 303 |
+
"stability/response_length_var": 86289.109375,
|
| 304 |
+
"stability/token_entropy_mean": 6.139062404632568,
|
| 305 |
+
"step": 75
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"epoch": 0.4094689699296225,
|
| 309 |
+
"grad_norm": 1.8269047737121582,
|
| 310 |
+
"learning_rate": 7.9e-07,
|
| 311 |
+
"logits/chosen": -2.2604687213897705,
|
| 312 |
+
"logits/rejected": -2.1025872230529785,
|
| 313 |
+
"logps/chosen": -382.4193420410156,
|
| 314 |
+
"logps/rejected": -208.97756958007812,
|
| 315 |
+
"loss": 0.6886,
|
| 316 |
+
"rewards/accuracies": 0.5726562738418579,
|
| 317 |
+
"rewards/chosen": 0.021377386525273323,
|
| 318 |
+
"rewards/margins": 0.009593295864760876,
|
| 319 |
+
"rewards/rejected": 0.011784089729189873,
|
| 320 |
+
"stability/repetition_rate_mean": 0.9464001655578613,
|
| 321 |
+
"stability/response_length_mean": 635.5,
|
| 322 |
+
"stability/response_length_std": 262.53900146484375,
|
| 323 |
+
"stability/response_length_var": 68926.71875,
|
| 324 |
+
"stability/token_entropy_mean": 7.199999809265137,
|
| 325 |
+
"step": 80
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.4350607805502239,
|
| 329 |
+
"grad_norm": 1.8734734058380127,
|
| 330 |
+
"learning_rate": 8.399999999999999e-07,
|
| 331 |
+
"logits/chosen": -2.258051872253418,
|
| 332 |
+
"logits/rejected": -2.100944757461548,
|
| 333 |
+
"logps/chosen": -387.3235778808594,
|
| 334 |
+
"logps/rejected": -208.6320343017578,
|
| 335 |
+
"loss": 0.6875,
|
| 336 |
+
"rewards/accuracies": 0.5863280892372131,
|
| 337 |
+
"rewards/chosen": 0.026788339018821716,
|
| 338 |
+
"rewards/margins": 0.012103421613574028,
|
| 339 |
+
"rewards/rejected": 0.014684918336570263,
|
| 340 |
+
"stability/repetition_rate_mean": 0.9034587144851685,
|
| 341 |
+
"stability/response_length_mean": 600.0999755859375,
|
| 342 |
+
"stability/response_length_std": 349.2030334472656,
|
| 343 |
+
"stability/response_length_var": 121942.765625,
|
| 344 |
+
"stability/token_entropy_mean": 6.737500190734863,
|
| 345 |
+
"step": 85
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"epoch": 0.46065259117082535,
|
| 349 |
+
"grad_norm": 1.8927897214889526,
|
| 350 |
+
"learning_rate": 8.9e-07,
|
| 351 |
+
"logits/chosen": -2.261427164077759,
|
| 352 |
+
"logits/rejected": -2.1134793758392334,
|
| 353 |
+
"logps/chosen": -375.204345703125,
|
| 354 |
+
"logps/rejected": -206.2209930419922,
|
| 355 |
+
"loss": 0.6859,
|
| 356 |
+
"rewards/accuracies": 0.608593761920929,
|
| 357 |
+
"rewards/chosen": 0.032174669206142426,
|
| 358 |
+
"rewards/margins": 0.015198366716504097,
|
| 359 |
+
"rewards/rejected": 0.01697630062699318,
|
| 360 |
+
"stability/repetition_rate_mean": 0.9765706062316895,
|
| 361 |
+
"stability/response_length_mean": 692.9000244140625,
|
| 362 |
+
"stability/response_length_std": 127.31452941894531,
|
| 363 |
+
"stability/response_length_var": 16208.9892578125,
|
| 364 |
+
"stability/token_entropy_mean": 7.109375,
|
| 365 |
+
"step": 90
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"epoch": 0.48624440179142675,
|
| 369 |
+
"grad_norm": 1.8181637525558472,
|
| 370 |
+
"learning_rate": 9.399999999999999e-07,
|
| 371 |
+
"logits/chosen": -2.2588284015655518,
|
| 372 |
+
"logits/rejected": -2.112243175506592,
|
| 373 |
+
"logps/chosen": -366.8333740234375,
|
| 374 |
+
"logps/rejected": -203.4322967529297,
|
| 375 |
+
"loss": 0.6838,
|
| 376 |
+
"rewards/accuracies": 0.6300780773162842,
|
| 377 |
+
"rewards/chosen": 0.03762410953640938,
|
| 378 |
+
"rewards/margins": 0.01969875767827034,
|
| 379 |
+
"rewards/rejected": 0.01792534813284874,
|
| 380 |
+
"stability/repetition_rate_mean": 0.9483324289321899,
|
| 381 |
+
"stability/response_length_mean": 727.0,
|
| 382 |
+
"stability/response_length_std": 335.0764465332031,
|
| 383 |
+
"stability/response_length_var": 112276.21875,
|
| 384 |
+
"stability/token_entropy_mean": 7.3125,
|
| 385 |
+
"step": 95
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"epoch": 0.5118362124120281,
|
| 389 |
+
"grad_norm": 1.8130452632904053,
|
| 390 |
+
"learning_rate": 9.9e-07,
|
| 391 |
+
"logits/chosen": -2.27445387840271,
|
| 392 |
+
"logits/rejected": -2.11898136138916,
|
| 393 |
+
"logps/chosen": -384.503662109375,
|
| 394 |
+
"logps/rejected": -210.62109375,
|
| 395 |
+
"loss": 0.6821,
|
| 396 |
+
"rewards/accuracies": 0.6527343988418579,
|
| 397 |
+
"rewards/chosen": 0.045418523252010345,
|
| 398 |
+
"rewards/margins": 0.02338458225131035,
|
| 399 |
+
"rewards/rejected": 0.0220339372754097,
|
| 400 |
+
"stability/repetition_rate_mean": 0.9498335123062134,
|
| 401 |
+
"stability/response_length_mean": 419.0,
|
| 402 |
+
"stability/response_length_std": 232.0225067138672,
|
| 403 |
+
"stability/response_length_var": 53834.4453125,
|
| 404 |
+
"stability/token_entropy_mean": 7.074999809265137,
|
| 405 |
+
"step": 100
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"epoch": 0.5374280230326296,
|
| 409 |
+
"grad_norm": 1.743505597114563,
|
| 410 |
+
"learning_rate": 9.999815554351224e-07,
|
| 411 |
+
"logits/chosen": -2.258531093597412,
|
| 412 |
+
"logits/rejected": -2.108144998550415,
|
| 413 |
+
"logps/chosen": -378.0056457519531,
|
| 414 |
+
"logps/rejected": -209.6881103515625,
|
| 415 |
+
"loss": 0.6811,
|
| 416 |
+
"rewards/accuracies": 0.626953125,
|
| 417 |
+
"rewards/chosen": 0.052092913538217545,
|
| 418 |
+
"rewards/margins": 0.025670701637864113,
|
| 419 |
+
"rewards/rejected": 0.02642221562564373,
|
| 420 |
+
"stability/repetition_rate_mean": 0.901488184928894,
|
| 421 |
+
"stability/response_length_mean": 669.5,
|
| 422 |
+
"stability/response_length_std": 271.60888671875,
|
| 423 |
+
"stability/response_length_var": 73771.390625,
|
| 424 |
+
"stability/token_entropy_mean": 6.564843654632568,
|
| 425 |
+
"step": 105
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"epoch": 0.5630198336532309,
|
| 429 |
+
"grad_norm": 1.6861857175827026,
|
| 430 |
+
"learning_rate": 9.999066267225444e-07,
|
| 431 |
+
"logits/chosen": -2.2750279903411865,
|
| 432 |
+
"logits/rejected": -2.117339611053467,
|
| 433 |
+
"logps/chosen": -385.2655029296875,
|
| 434 |
+
"logps/rejected": -206.72357177734375,
|
| 435 |
+
"loss": 0.6795,
|
| 436 |
+
"rewards/accuracies": 0.6519531607627869,
|
| 437 |
+
"rewards/chosen": 0.059595055878162384,
|
| 438 |
+
"rewards/margins": 0.029159152880311012,
|
| 439 |
+
"rewards/rejected": 0.03043590858578682,
|
| 440 |
+
"stability/repetition_rate_mean": 0.9347068071365356,
|
| 441 |
+
"stability/response_length_mean": 255.60000610351562,
|
| 442 |
+
"stability/response_length_std": 114.30874633789062,
|
| 443 |
+
"stability/response_length_var": 13066.4892578125,
|
| 444 |
+
"stability/token_entropy_mean": 7.015625,
|
| 445 |
+
"step": 110
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"epoch": 0.5886116442738324,
|
| 449 |
+
"grad_norm": 1.7960835695266724,
|
| 450 |
+
"learning_rate": 9.997740697079592e-07,
|
| 451 |
+
"logits/chosen": -2.251587390899658,
|
| 452 |
+
"logits/rejected": -2.110828399658203,
|
| 453 |
+
"logps/chosen": -372.7311096191406,
|
| 454 |
+
"logps/rejected": -213.94320678710938,
|
| 455 |
+
"loss": 0.6763,
|
| 456 |
+
"rewards/accuracies": 0.6519531607627869,
|
| 457 |
+
"rewards/chosen": 0.07092021405696869,
|
| 458 |
+
"rewards/margins": 0.036303263157606125,
|
| 459 |
+
"rewards/rejected": 0.034616947174072266,
|
| 460 |
+
"stability/repetition_rate_mean": 0.8279488682746887,
|
| 461 |
+
"stability/response_length_mean": 499.29998779296875,
|
| 462 |
+
"stability/response_length_std": 282.31072998046875,
|
| 463 |
+
"stability/response_length_var": 79699.34375,
|
| 464 |
+
"stability/token_entropy_mean": 6.553124904632568,
|
| 465 |
+
"step": 115
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"epoch": 0.6142034548944337,
|
| 469 |
+
"grad_norm": 1.773605227470398,
|
| 470 |
+
"learning_rate": 9.995838996722914e-07,
|
| 471 |
+
"logits/chosen": -2.2482666969299316,
|
| 472 |
+
"logits/rejected": -2.102483034133911,
|
| 473 |
+
"logps/chosen": -367.7881164550781,
|
| 474 |
+
"logps/rejected": -207.59573364257812,
|
| 475 |
+
"loss": 0.6733,
|
| 476 |
+
"rewards/accuracies": 0.6703125238418579,
|
| 477 |
+
"rewards/chosen": 0.08155383914709091,
|
| 478 |
+
"rewards/margins": 0.04288302734494209,
|
| 479 |
+
"rewards/rejected": 0.03867081552743912,
|
| 480 |
+
"stability/repetition_rate_mean": 0.9149526357650757,
|
| 481 |
+
"stability/response_length_mean": 363.6000061035156,
|
| 482 |
+
"stability/response_length_std": 146.0701446533203,
|
| 483 |
+
"stability/response_length_var": 21336.48828125,
|
| 484 |
+
"stability/token_entropy_mean": 6.8125,
|
| 485 |
+
"step": 120
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"epoch": 0.6397952655150352,
|
| 489 |
+
"grad_norm": 1.7966293096542358,
|
| 490 |
+
"learning_rate": 9.993361385379874e-07,
|
| 491 |
+
"logits/chosen": -2.253580093383789,
|
| 492 |
+
"logits/rejected": -2.0954601764678955,
|
| 493 |
+
"logps/chosen": -385.7173767089844,
|
| 494 |
+
"logps/rejected": -205.1151123046875,
|
| 495 |
+
"loss": 0.6707,
|
| 496 |
+
"rewards/accuracies": 0.6781249642372131,
|
| 497 |
+
"rewards/chosen": 0.09179403632879257,
|
| 498 |
+
"rewards/margins": 0.04949168488383293,
|
| 499 |
+
"rewards/rejected": 0.04230235144495964,
|
| 500 |
+
"stability/repetition_rate_mean": 0.8946477770805359,
|
| 501 |
+
"stability/response_length_mean": 433.79998779296875,
|
| 502 |
+
"stability/response_length_std": 126.92412567138672,
|
| 503 |
+
"stability/response_length_var": 16109.7333984375,
|
| 504 |
+
"stability/token_entropy_mean": 6.532812595367432,
|
| 505 |
+
"step": 125
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"epoch": 0.6653870761356366,
|
| 509 |
+
"grad_norm": 1.873657464981079,
|
| 510 |
+
"learning_rate": 9.99030814866488e-07,
|
| 511 |
+
"logits/chosen": -2.2453463077545166,
|
| 512 |
+
"logits/rejected": -2.096496105194092,
|
| 513 |
+
"logps/chosen": -375.60565185546875,
|
| 514 |
+
"logps/rejected": -203.76229858398438,
|
| 515 |
+
"loss": 0.6672,
|
| 516 |
+
"rewards/accuracies": 0.682421863079071,
|
| 517 |
+
"rewards/chosen": 0.09893052279949188,
|
| 518 |
+
"rewards/margins": 0.057060565799474716,
|
| 519 |
+
"rewards/rejected": 0.041869960725307465,
|
| 520 |
+
"stability/repetition_rate_mean": 0.8153165578842163,
|
| 521 |
+
"stability/response_length_mean": 296.1000061035156,
|
| 522 |
+
"stability/response_length_std": 167.77593994140625,
|
| 523 |
+
"stability/response_length_var": 28148.767578125,
|
| 524 |
+
"stability/token_entropy_mean": 6.018750190734863,
|
| 525 |
+
"step": 130
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"epoch": 0.690978886756238,
|
| 529 |
+
"grad_norm": 1.7402511835098267,
|
| 530 |
+
"learning_rate": 9.986679638549358e-07,
|
| 531 |
+
"logits/chosen": -2.2670061588287354,
|
| 532 |
+
"logits/rejected": -2.1075525283813477,
|
| 533 |
+
"logps/chosen": -387.3724060058594,
|
| 534 |
+
"logps/rejected": -213.73989868164062,
|
| 535 |
+
"loss": 0.6645,
|
| 536 |
+
"rewards/accuracies": 0.676953136920929,
|
| 537 |
+
"rewards/chosen": 0.11148682981729507,
|
| 538 |
+
"rewards/margins": 0.06334061175584793,
|
| 539 |
+
"rewards/rejected": 0.048146218061447144,
|
| 540 |
+
"stability/repetition_rate_mean": 0.8604398965835571,
|
| 541 |
+
"stability/response_length_mean": 596.4000244140625,
|
| 542 |
+
"stability/response_length_std": 291.9129333496094,
|
| 543 |
+
"stability/response_length_var": 85213.15625,
|
| 544 |
+
"stability/token_entropy_mean": 6.510937690734863,
|
| 545 |
+
"step": 135
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"epoch": 0.7165706973768394,
|
| 549 |
+
"grad_norm": 1.8281584978103638,
|
| 550 |
+
"learning_rate": 9.982476273321175e-07,
|
| 551 |
+
"logits/chosen": -2.25555157661438,
|
| 552 |
+
"logits/rejected": -2.100205898284912,
|
| 553 |
+
"logps/chosen": -389.03497314453125,
|
| 554 |
+
"logps/rejected": -211.17449951171875,
|
| 555 |
+
"loss": 0.6611,
|
| 556 |
+
"rewards/accuracies": 0.6976562738418579,
|
| 557 |
+
"rewards/chosen": 0.11906532198190689,
|
| 558 |
+
"rewards/margins": 0.07203800976276398,
|
| 559 |
+
"rewards/rejected": 0.04702730476856232,
|
| 560 |
+
"stability/repetition_rate_mean": 0.8607560396194458,
|
| 561 |
+
"stability/response_length_mean": 173.89999389648438,
|
| 562 |
+
"stability/response_length_std": 70.74908447265625,
|
| 563 |
+
"stability/response_length_var": 5005.43310546875,
|
| 564 |
+
"stability/token_entropy_mean": 6.612500190734863,
|
| 565 |
+
"step": 140
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"epoch": 0.7421625079974408,
|
| 569 |
+
"grad_norm": 1.7499624490737915,
|
| 570 |
+
"learning_rate": 9.977698537536417e-07,
|
| 571 |
+
"logits/chosen": -2.2664294242858887,
|
| 572 |
+
"logits/rejected": -2.0990548133850098,
|
| 573 |
+
"logps/chosen": -387.792724609375,
|
| 574 |
+
"logps/rejected": -203.63430786132812,
|
| 575 |
+
"loss": 0.6589,
|
| 576 |
+
"rewards/accuracies": 0.678906261920929,
|
| 577 |
+
"rewards/chosen": 0.13202722370624542,
|
| 578 |
+
"rewards/margins": 0.07740288227796555,
|
| 579 |
+
"rewards/rejected": 0.054624345153570175,
|
| 580 |
+
"stability/repetition_rate_mean": 0.9638816714286804,
|
| 581 |
+
"stability/response_length_mean": 720.2000122070312,
|
| 582 |
+
"stability/response_length_std": 284.2842102050781,
|
| 583 |
+
"stability/response_length_var": 80817.5078125,
|
| 584 |
+
"stability/token_entropy_mean": 7.106249809265137,
|
| 585 |
+
"step": 145
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"epoch": 0.7677543186180422,
|
| 589 |
+
"grad_norm": 1.8286625146865845,
|
| 590 |
+
"learning_rate": 9.972346981963546e-07,
|
| 591 |
+
"logits/chosen": -2.2344398498535156,
|
| 592 |
+
"logits/rejected": -2.0921382904052734,
|
| 593 |
+
"logps/chosen": -373.849853515625,
|
| 594 |
+
"logps/rejected": -211.25674438476562,
|
| 595 |
+
"loss": 0.6568,
|
| 596 |
+
"rewards/accuracies": 0.6703124642372131,
|
| 597 |
+
"rewards/chosen": 0.14155012369155884,
|
| 598 |
+
"rewards/margins": 0.08604539185762405,
|
| 599 |
+
"rewards/rejected": 0.05550474300980568,
|
| 600 |
+
"stability/repetition_rate_mean": 0.8590916395187378,
|
| 601 |
+
"stability/response_length_mean": 654.2000122070312,
|
| 602 |
+
"stability/response_length_std": 372.5482177734375,
|
| 603 |
+
"stability/response_length_var": 138792.171875,
|
| 604 |
+
"stability/token_entropy_mean": 6.5859375,
|
| 605 |
+
"step": 150
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"epoch": 0.7933461292386437,
|
| 609 |
+
"grad_norm": 1.8375192880630493,
|
| 610 |
+
"learning_rate": 9.966422223519885e-07,
|
| 611 |
+
"logits/chosen": -2.259735107421875,
|
| 612 |
+
"logits/rejected": -2.108813762664795,
|
| 613 |
+
"logps/chosen": -377.39886474609375,
|
| 614 |
+
"logps/rejected": -206.43038940429688,
|
| 615 |
+
"loss": 0.6528,
|
| 616 |
+
"rewards/accuracies": 0.682421863079071,
|
| 617 |
+
"rewards/chosen": 0.1565590798854828,
|
| 618 |
+
"rewards/margins": 0.09292585402727127,
|
| 619 |
+
"rewards/rejected": 0.06363321840763092,
|
| 620 |
+
"stability/repetition_rate_mean": 0.8765794038772583,
|
| 621 |
+
"stability/response_length_mean": 502.3999938964844,
|
| 622 |
+
"stability/response_length_std": 200.0795440673828,
|
| 623 |
+
"stability/response_length_var": 40031.8203125,
|
| 624 |
+
"stability/token_entropy_mean": 6.557812690734863,
|
| 625 |
+
"step": 155
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"epoch": 0.818937939859245,
|
| 629 |
+
"grad_norm": 1.7681745290756226,
|
| 630 |
+
"learning_rate": 9.959924945200523e-07,
|
| 631 |
+
"logits/chosen": -2.2527999877929688,
|
| 632 |
+
"logits/rejected": -2.086219549179077,
|
| 633 |
+
"logps/chosen": -383.5099182128906,
|
| 634 |
+
"logps/rejected": -207.28614807128906,
|
| 635 |
+
"loss": 0.6491,
|
| 636 |
+
"rewards/accuracies": 0.6898438334465027,
|
| 637 |
+
"rewards/chosen": 0.16489063203334808,
|
| 638 |
+
"rewards/margins": 0.10477059334516525,
|
| 639 |
+
"rewards/rejected": 0.06012001633644104,
|
| 640 |
+
"stability/repetition_rate_mean": 0.9663667678833008,
|
| 641 |
+
"stability/response_length_mean": 870.4000244140625,
|
| 642 |
+
"stability/response_length_std": 147.6581573486328,
|
| 643 |
+
"stability/response_length_var": 21802.93359375,
|
| 644 |
+
"stability/token_entropy_mean": 7.243750095367432,
|
| 645 |
+
"step": 160
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"epoch": 0.8445297504798465,
|
| 649 |
+
"grad_norm": 1.6438355445861816,
|
| 650 |
+
"learning_rate": 9.952855895999568e-07,
|
| 651 |
+
"logits/chosen": -2.23742413520813,
|
| 652 |
+
"logits/rejected": -2.089754104614258,
|
| 653 |
+
"logps/chosen": -362.43914794921875,
|
| 654 |
+
"logps/rejected": -203.66177368164062,
|
| 655 |
+
"loss": 0.6477,
|
| 656 |
+
"rewards/accuracies": 0.684374988079071,
|
| 657 |
+
"rewards/chosen": 0.1636190414428711,
|
| 658 |
+
"rewards/margins": 0.10717189311981201,
|
| 659 |
+
"rewards/rejected": 0.05644712969660759,
|
| 660 |
+
"stability/repetition_rate_mean": 0.8620624542236328,
|
| 661 |
+
"stability/response_length_mean": 547.7000122070312,
|
| 662 |
+
"stability/response_length_std": 249.60325622558594,
|
| 663 |
+
"stability/response_length_var": 62301.7890625,
|
| 664 |
+
"stability/token_entropy_mean": 6.599999904632568,
|
| 665 |
+
"step": 165
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"epoch": 0.8701215611004478,
|
| 669 |
+
"grad_norm": 1.7001264095306396,
|
| 670 |
+
"learning_rate": 9.9452158908238e-07,
|
| 671 |
+
"logits/chosen": -2.2632334232330322,
|
| 672 |
+
"logits/rejected": -2.097275733947754,
|
| 673 |
+
"logps/chosen": -376.97039794921875,
|
| 674 |
+
"logps/rejected": -203.81222534179688,
|
| 675 |
+
"loss": 0.6419,
|
| 676 |
+
"rewards/accuracies": 0.705078125,
|
| 677 |
+
"rewards/chosen": 0.18040212988853455,
|
| 678 |
+
"rewards/margins": 0.12267370522022247,
|
| 679 |
+
"rewards/rejected": 0.057728420943021774,
|
| 680 |
+
"stability/repetition_rate_mean": 0.9189292192459106,
|
| 681 |
+
"stability/response_length_mean": 385.70001220703125,
|
| 682 |
+
"stability/response_length_std": 143.96685791015625,
|
| 683 |
+
"stability/response_length_var": 20726.455078125,
|
| 684 |
+
"stability/token_entropy_mean": 6.831250190734863,
|
| 685 |
+
"step": 170
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"epoch": 0.8957133717210493,
|
| 689 |
+
"grad_norm": 1.804345726966858,
|
| 690 |
+
"learning_rate": 9.937005810398745e-07,
|
| 691 |
+
"logits/chosen": -2.2485477924346924,
|
| 692 |
+
"logits/rejected": -2.0931143760681152,
|
| 693 |
+
"logps/chosen": -380.5006408691406,
|
| 694 |
+
"logps/rejected": -212.2974853515625,
|
| 695 |
+
"loss": 0.6396,
|
| 696 |
+
"rewards/accuracies": 0.6957032084465027,
|
| 697 |
+
"rewards/chosen": 0.18881921470165253,
|
| 698 |
+
"rewards/margins": 0.13226722180843353,
|
| 699 |
+
"rewards/rejected": 0.0565519854426384,
|
| 700 |
+
"stability/repetition_rate_mean": 0.9413634538650513,
|
| 701 |
+
"stability/response_length_mean": 460.6000061035156,
|
| 702 |
+
"stability/response_length_std": 165.9894256591797,
|
| 703 |
+
"stability/response_length_var": 27552.48828125,
|
| 704 |
+
"stability/token_entropy_mean": 6.959374904632568,
|
| 705 |
+
"step": 175
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"epoch": 0.9213051823416507,
|
| 709 |
+
"grad_norm": 1.76821768283844,
|
| 710 |
+
"learning_rate": 9.928226601167138e-07,
|
| 711 |
+
"logits/chosen": -2.2474441528320312,
|
| 712 |
+
"logits/rejected": -2.0858802795410156,
|
| 713 |
+
"logps/chosen": -387.0555419921875,
|
| 714 |
+
"logps/rejected": -212.9912109375,
|
| 715 |
+
"loss": 0.6377,
|
| 716 |
+
"rewards/accuracies": 0.690234363079071,
|
| 717 |
+
"rewards/chosen": 0.20255513489246368,
|
| 718 |
+
"rewards/margins": 0.13533423840999603,
|
| 719 |
+
"rewards/rejected": 0.06722089648246765,
|
| 720 |
+
"stability/repetition_rate_mean": 0.8933365941047668,
|
| 721 |
+
"stability/response_length_mean": 716.2000122070312,
|
| 722 |
+
"stability/response_length_std": 329.3815002441406,
|
| 723 |
+
"stability/response_length_var": 108492.1796875,
|
| 724 |
+
"stability/token_entropy_mean": 6.526562690734863,
|
| 725 |
+
"step": 180
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"epoch": 0.946896992962252,
|
| 729 |
+
"grad_norm": 1.6571131944656372,
|
| 730 |
+
"learning_rate": 9.918879275179817e-07,
|
| 731 |
+
"logits/chosen": -2.249807596206665,
|
| 732 |
+
"logits/rejected": -2.0986175537109375,
|
| 733 |
+
"logps/chosen": -374.5240173339844,
|
| 734 |
+
"logps/rejected": -210.4625244140625,
|
| 735 |
+
"loss": 0.6365,
|
| 736 |
+
"rewards/accuracies": 0.6898437738418579,
|
| 737 |
+
"rewards/chosen": 0.21025450527668,
|
| 738 |
+
"rewards/margins": 0.14256080985069275,
|
| 739 |
+
"rewards/rejected": 0.06769368052482605,
|
| 740 |
+
"stability/repetition_rate_mean": 0.8755763173103333,
|
| 741 |
+
"stability/response_length_mean": 486.3999938964844,
|
| 742 |
+
"stability/response_length_std": 213.8624725341797,
|
| 743 |
+
"stability/response_length_var": 45737.15625,
|
| 744 |
+
"stability/token_entropy_mean": 6.559374809265137,
|
| 745 |
+
"step": 185
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"epoch": 0.9724888035828535,
|
| 749 |
+
"grad_norm": 1.5521091222763062,
|
| 750 |
+
"learning_rate": 9.90896490997906e-07,
|
| 751 |
+
"logits/chosen": -2.233643054962158,
|
| 752 |
+
"logits/rejected": -2.0779027938842773,
|
| 753 |
+
"logps/chosen": -377.6806640625,
|
| 754 |
+
"logps/rejected": -206.34112548828125,
|
| 755 |
+
"loss": 0.6287,
|
| 756 |
+
"rewards/accuracies": 0.701953113079071,
|
| 757 |
+
"rewards/chosen": 0.2152232825756073,
|
| 758 |
+
"rewards/margins": 0.16218551993370056,
|
| 759 |
+
"rewards/rejected": 0.053037747740745544,
|
| 760 |
+
"stability/repetition_rate_mean": 0.8903291821479797,
|
| 761 |
+
"stability/response_length_mean": 736.7999877929688,
|
| 762 |
+
"stability/response_length_std": 246.57106018066406,
|
| 763 |
+
"stability/response_length_var": 60797.2890625,
|
| 764 |
+
"stability/token_entropy_mean": 6.7109375,
|
| 765 |
+
"step": 190
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"epoch": 0.9980806142034548,
|
| 769 |
+
"grad_norm": 1.6728918552398682,
|
| 770 |
+
"learning_rate": 9.898484648474362e-07,
|
| 771 |
+
"logits/chosen": -2.250211477279663,
|
| 772 |
+
"logits/rejected": -2.096865653991699,
|
| 773 |
+
"logps/chosen": -361.8232116699219,
|
| 774 |
+
"logps/rejected": -208.4629364013672,
|
| 775 |
+
"loss": 0.6296,
|
| 776 |
+
"rewards/accuracies": 0.7027343511581421,
|
| 777 |
+
"rewards/chosen": 0.2173018455505371,
|
| 778 |
+
"rewards/margins": 0.16235104203224182,
|
| 779 |
+
"rewards/rejected": 0.054950814694166183,
|
| 780 |
+
"stability/repetition_rate_mean": 0.7688959836959839,
|
| 781 |
+
"stability/response_length_mean": 356.3999938964844,
|
| 782 |
+
"stability/response_length_std": 207.94882202148438,
|
| 783 |
+
"stability/response_length_var": 43242.7109375,
|
| 784 |
+
"stability/token_entropy_mean": 5.928124904632568,
|
| 785 |
+
"step": 195
|
| 786 |
+
}
|
| 787 |
+
],
|
| 788 |
+
"logging_steps": 5,
|
| 789 |
+
"max_steps": 196,
|
| 790 |
+
"num_input_tokens_seen": 0,
|
| 791 |
+
"num_train_epochs": 1,
|
| 792 |
+
"save_steps": 200,
|
| 793 |
+
"stateful_callbacks": {
|
| 794 |
+
"TrainerControl": {
|
| 795 |
+
"args": {
|
| 796 |
+
"should_epoch_stop": false,
|
| 797 |
+
"should_evaluate": false,
|
| 798 |
+
"should_log": false,
|
| 799 |
+
"should_save": true,
|
| 800 |
+
"should_training_stop": true
|
| 801 |
+
},
|
| 802 |
+
"attributes": {}
|
| 803 |
+
}
|
| 804 |
+
},
|
| 805 |
+
"total_flos": 7.072674331683193e+18,
|
| 806 |
+
"train_batch_size": 8,
|
| 807 |
+
"trial_name": null,
|
| 808 |
+
"trial_params": null
|
| 809 |
+
}
|
mistral7b_dpo_baseline/checkpoint-196/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94e6d5df42ddf678581bc105236846c8bb9630da14f49c0e71f40b3a546b04ca
|
| 3 |
+
size 8017
|
mistral7b_dpo_baseline/checkpoint-196/zero_to_fp32.py
ADDED
|
@@ -0,0 +1,760 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python
|
| 2 |
+
|
| 3 |
+
# Copyright (c) Microsoft Corporation.
|
| 4 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 5 |
+
|
| 6 |
+
# DeepSpeed Team
|
| 7 |
+
|
| 8 |
+
# This script extracts fp32 consolidated weights from a zero 1, 2 and 3 DeepSpeed checkpoints. It gets
|
| 9 |
+
# copied into the top level checkpoint dir, so the user can easily do the conversion at any point in
|
| 10 |
+
# the future. Once extracted, the weights don't require DeepSpeed and can be used in any
|
| 11 |
+
# application.
|
| 12 |
+
#
|
| 13 |
+
# example:
|
| 14 |
+
# python zero_to_fp32.py . output_dir/
|
| 15 |
+
# or
|
| 16 |
+
# python zero_to_fp32.py . output_dir/ --safe_serialization
|
| 17 |
+
|
| 18 |
+
import argparse
|
| 19 |
+
import torch
|
| 20 |
+
import glob
|
| 21 |
+
import math
|
| 22 |
+
import os
|
| 23 |
+
import re
|
| 24 |
+
import gc
|
| 25 |
+
import json
|
| 26 |
+
import numpy as np
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
from collections import OrderedDict
|
| 29 |
+
from dataclasses import dataclass
|
| 30 |
+
|
| 31 |
+
# while this script doesn't use deepspeed to recover data, since the checkpoints are pickled with
|
| 32 |
+
# DeepSpeed data structures it has to be available in the current python environment.
|
| 33 |
+
from deepspeed.utils import logger
|
| 34 |
+
from deepspeed.checkpoint.constants import (DS_VERSION, OPTIMIZER_STATE_DICT, SINGLE_PARTITION_OF_FP32_GROUPS,
|
| 35 |
+
FP32_FLAT_GROUPS, ZERO_STAGE, PARTITION_COUNT, PARAM_SHAPES, BUFFER_NAMES,
|
| 36 |
+
FROZEN_PARAM_SHAPES, FROZEN_PARAM_FRAGMENTS)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
@dataclass
|
| 40 |
+
class zero_model_state:
|
| 41 |
+
buffers: dict()
|
| 42 |
+
param_shapes: dict()
|
| 43 |
+
shared_params: list
|
| 44 |
+
ds_version: int
|
| 45 |
+
frozen_param_shapes: dict()
|
| 46 |
+
frozen_param_fragments: dict()
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
debug = 0
|
| 50 |
+
|
| 51 |
+
# load to cpu
|
| 52 |
+
device = torch.device('cpu')
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def atoi(text):
|
| 56 |
+
return int(text) if text.isdigit() else text
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def natural_keys(text):
|
| 60 |
+
'''
|
| 61 |
+
alist.sort(key=natural_keys) sorts in human order
|
| 62 |
+
http://nedbatchelder.com/blog/200712/human_sorting.html
|
| 63 |
+
(See Toothy's implementation in the comments)
|
| 64 |
+
'''
|
| 65 |
+
return [atoi(c) for c in re.split(r'(\d+)', text)]
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def get_model_state_file(checkpoint_dir, zero_stage):
|
| 69 |
+
if not os.path.isdir(checkpoint_dir):
|
| 70 |
+
raise FileNotFoundError(f"Directory '{checkpoint_dir}' doesn't exist")
|
| 71 |
+
|
| 72 |
+
# there should be only one file
|
| 73 |
+
if zero_stage <= 2:
|
| 74 |
+
file = os.path.join(checkpoint_dir, "mp_rank_00_model_states.pt")
|
| 75 |
+
elif zero_stage == 3:
|
| 76 |
+
file = os.path.join(checkpoint_dir, "zero_pp_rank_0_mp_rank_00_model_states.pt")
|
| 77 |
+
|
| 78 |
+
if not os.path.exists(file):
|
| 79 |
+
raise FileNotFoundError(f"can't find model states file at '{file}'")
|
| 80 |
+
|
| 81 |
+
return file
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def get_checkpoint_files(checkpoint_dir, glob_pattern):
|
| 85 |
+
# XXX: need to test that this simple glob rule works for multi-node setup too
|
| 86 |
+
ckpt_files = sorted(glob.glob(os.path.join(checkpoint_dir, glob_pattern)), key=natural_keys)
|
| 87 |
+
|
| 88 |
+
if len(ckpt_files) == 0:
|
| 89 |
+
raise FileNotFoundError(f"can't find {glob_pattern} files in directory '{checkpoint_dir}'")
|
| 90 |
+
|
| 91 |
+
return ckpt_files
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def get_optim_files(checkpoint_dir):
|
| 95 |
+
return get_checkpoint_files(checkpoint_dir, "*_optim_states.pt")
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def get_model_state_files(checkpoint_dir):
|
| 99 |
+
return get_checkpoint_files(checkpoint_dir, "*_model_states.pt")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def parse_model_states(files):
|
| 103 |
+
zero_model_states = []
|
| 104 |
+
for file in files:
|
| 105 |
+
state_dict = torch.load(file, map_location=device, weights_only=False)
|
| 106 |
+
|
| 107 |
+
if BUFFER_NAMES not in state_dict:
|
| 108 |
+
raise ValueError(f"{file} is not a model state checkpoint")
|
| 109 |
+
buffer_names = state_dict[BUFFER_NAMES]
|
| 110 |
+
if debug:
|
| 111 |
+
print("Found buffers:", buffer_names)
|
| 112 |
+
|
| 113 |
+
# recover just the buffers while restoring them to fp32 if they were saved in fp16
|
| 114 |
+
buffers = {k: v.float() for k, v in state_dict["module"].items() if k in buffer_names}
|
| 115 |
+
param_shapes = state_dict[PARAM_SHAPES]
|
| 116 |
+
|
| 117 |
+
# collect parameters that are included in param_shapes
|
| 118 |
+
param_names = []
|
| 119 |
+
for s in param_shapes:
|
| 120 |
+
for name in s.keys():
|
| 121 |
+
param_names.append(name)
|
| 122 |
+
|
| 123 |
+
# update with frozen parameters
|
| 124 |
+
frozen_param_shapes = state_dict.get(FROZEN_PARAM_SHAPES, None)
|
| 125 |
+
if frozen_param_shapes is not None:
|
| 126 |
+
if debug:
|
| 127 |
+
print(f"Found frozen_param_shapes: {frozen_param_shapes}")
|
| 128 |
+
param_names += list(frozen_param_shapes.keys())
|
| 129 |
+
|
| 130 |
+
# handle shared params
|
| 131 |
+
shared_params = [[k, v] for k, v in state_dict["shared_params"].items()]
|
| 132 |
+
|
| 133 |
+
ds_version = state_dict.get(DS_VERSION, None)
|
| 134 |
+
|
| 135 |
+
frozen_param_fragments = state_dict.get(FROZEN_PARAM_FRAGMENTS, None)
|
| 136 |
+
|
| 137 |
+
z_model_state = zero_model_state(buffers=buffers,
|
| 138 |
+
param_shapes=param_shapes,
|
| 139 |
+
shared_params=shared_params,
|
| 140 |
+
ds_version=ds_version,
|
| 141 |
+
frozen_param_shapes=frozen_param_shapes,
|
| 142 |
+
frozen_param_fragments=frozen_param_fragments)
|
| 143 |
+
zero_model_states.append(z_model_state)
|
| 144 |
+
|
| 145 |
+
return zero_model_states
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def parse_optim_states(files, ds_checkpoint_dir):
|
| 149 |
+
total_files = len(files)
|
| 150 |
+
state_dicts = []
|
| 151 |
+
for f in tqdm(files, desc='Loading checkpoint shards'):
|
| 152 |
+
state_dict = torch.load(f, map_location=device, mmap=True, weights_only=False)
|
| 153 |
+
# immediately discard the potentially huge 2 optimizer states as we only care for fp32 master weights
|
| 154 |
+
# and also handle the case where it was already removed by another helper script
|
| 155 |
+
state_dict["optimizer_state_dict"].pop("optimizer_state_dict", None)
|
| 156 |
+
state_dicts.append(state_dict)
|
| 157 |
+
|
| 158 |
+
if not ZERO_STAGE in state_dicts[0][OPTIMIZER_STATE_DICT]:
|
| 159 |
+
raise ValueError(f"{files[0]} is not a zero checkpoint")
|
| 160 |
+
zero_stage = state_dicts[0][OPTIMIZER_STATE_DICT][ZERO_STAGE]
|
| 161 |
+
world_size = state_dicts[0][OPTIMIZER_STATE_DICT][PARTITION_COUNT]
|
| 162 |
+
|
| 163 |
+
# For ZeRO-2 each param group can have different partition_count as data parallelism for expert
|
| 164 |
+
# parameters can be different from data parallelism for non-expert parameters. So we can just
|
| 165 |
+
# use the max of the partition_count to get the dp world_size.
|
| 166 |
+
|
| 167 |
+
if type(world_size) is list:
|
| 168 |
+
world_size = max(world_size)
|
| 169 |
+
|
| 170 |
+
if world_size != total_files:
|
| 171 |
+
raise ValueError(
|
| 172 |
+
f"Expected {world_size} of '*_optim_states.pt' under '{ds_checkpoint_dir}' but found {total_files} files. "
|
| 173 |
+
"Possibly due to an overwrite of an old checkpoint, or a checkpoint didn't get saved by one or more processes."
|
| 174 |
+
)
|
| 175 |
+
|
| 176 |
+
# the groups are named differently in each stage
|
| 177 |
+
if zero_stage <= 2:
|
| 178 |
+
fp32_groups_key = SINGLE_PARTITION_OF_FP32_GROUPS
|
| 179 |
+
elif zero_stage == 3:
|
| 180 |
+
fp32_groups_key = FP32_FLAT_GROUPS
|
| 181 |
+
else:
|
| 182 |
+
raise ValueError(f"unknown zero stage {zero_stage}")
|
| 183 |
+
|
| 184 |
+
fp32_flat_groups = [state_dicts[i][OPTIMIZER_STATE_DICT][fp32_groups_key] for i in range(len(state_dicts))]
|
| 185 |
+
return zero_stage, world_size, fp32_flat_groups
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters):
|
| 189 |
+
"""
|
| 190 |
+
Returns fp32 state_dict reconstructed from ds checkpoint
|
| 191 |
+
|
| 192 |
+
Args:
|
| 193 |
+
- ``ds_checkpoint_dir``: path to the deepspeed checkpoint folder (where the optimizer files are)
|
| 194 |
+
|
| 195 |
+
"""
|
| 196 |
+
print(f"Processing zero checkpoint '{ds_checkpoint_dir}'")
|
| 197 |
+
|
| 198 |
+
optim_files = get_optim_files(ds_checkpoint_dir)
|
| 199 |
+
zero_stage, world_size, fp32_flat_groups = parse_optim_states(optim_files, ds_checkpoint_dir)
|
| 200 |
+
print(f"Detected checkpoint of type zero stage {zero_stage}, world_size: {world_size}")
|
| 201 |
+
|
| 202 |
+
model_files = get_model_state_files(ds_checkpoint_dir)
|
| 203 |
+
|
| 204 |
+
zero_model_states = parse_model_states(model_files)
|
| 205 |
+
print(f'Parsing checkpoint created by deepspeed=={zero_model_states[0].ds_version}')
|
| 206 |
+
|
| 207 |
+
if zero_stage <= 2:
|
| 208 |
+
return _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 209 |
+
exclude_frozen_parameters)
|
| 210 |
+
elif zero_stage == 3:
|
| 211 |
+
return _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 212 |
+
exclude_frozen_parameters)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def _zero2_merge_frozen_params(state_dict, zero_model_states):
|
| 216 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 217 |
+
return
|
| 218 |
+
|
| 219 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 220 |
+
frozen_param_fragments = zero_model_states[0].frozen_param_fragments
|
| 221 |
+
|
| 222 |
+
if debug:
|
| 223 |
+
num_elem = sum(s.numel() for s in frozen_param_shapes.values())
|
| 224 |
+
print(f'rank 0: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 225 |
+
|
| 226 |
+
wanted_params = len(frozen_param_shapes)
|
| 227 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 228 |
+
avail_numel = sum([p.numel() for p in frozen_param_fragments.values()])
|
| 229 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 230 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 231 |
+
|
| 232 |
+
total_params = 0
|
| 233 |
+
total_numel = 0
|
| 234 |
+
for name, shape in frozen_param_shapes.items():
|
| 235 |
+
total_params += 1
|
| 236 |
+
unpartitioned_numel = shape.numel()
|
| 237 |
+
total_numel += unpartitioned_numel
|
| 238 |
+
|
| 239 |
+
state_dict[name] = frozen_param_fragments[name]
|
| 240 |
+
|
| 241 |
+
if debug:
|
| 242 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 243 |
+
|
| 244 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
def _has_callable(obj, fn):
|
| 248 |
+
attr = getattr(obj, fn, None)
|
| 249 |
+
return callable(attr)
|
| 250 |
+
|
| 251 |
+
|
| 252 |
+
def _zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 253 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 254 |
+
|
| 255 |
+
# Reconstruction protocol:
|
| 256 |
+
#
|
| 257 |
+
# XXX: document this
|
| 258 |
+
|
| 259 |
+
if debug:
|
| 260 |
+
for i in range(world_size):
|
| 261 |
+
for j in range(len(fp32_flat_groups[0])):
|
| 262 |
+
print(f"{FP32_FLAT_GROUPS}[{i}][{j}].shape={fp32_flat_groups[i][j].shape}")
|
| 263 |
+
|
| 264 |
+
# XXX: memory usage doubles here (zero2)
|
| 265 |
+
num_param_groups = len(fp32_flat_groups[0])
|
| 266 |
+
merged_single_partition_of_fp32_groups = []
|
| 267 |
+
for i in range(num_param_groups):
|
| 268 |
+
merged_partitions = [sd[i] for sd in fp32_flat_groups]
|
| 269 |
+
full_single_fp32_vector = torch.cat(merged_partitions, 0)
|
| 270 |
+
merged_single_partition_of_fp32_groups.append(full_single_fp32_vector)
|
| 271 |
+
avail_numel = sum(
|
| 272 |
+
[full_single_fp32_vector.numel() for full_single_fp32_vector in merged_single_partition_of_fp32_groups])
|
| 273 |
+
|
| 274 |
+
if debug:
|
| 275 |
+
wanted_params = sum([len(shapes) for shapes in param_shapes])
|
| 276 |
+
wanted_numel = sum([sum(shape.numel() for shape in shapes.values()) for shapes in param_shapes])
|
| 277 |
+
# not asserting if there is a mismatch due to possible padding
|
| 278 |
+
print(f"Have {avail_numel} numels to process.")
|
| 279 |
+
print(f"Need {wanted_numel} numels in {wanted_params} params.")
|
| 280 |
+
|
| 281 |
+
# params
|
| 282 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 283 |
+
# out-of-core computing solution
|
| 284 |
+
total_numel = 0
|
| 285 |
+
total_params = 0
|
| 286 |
+
for shapes, full_single_fp32_vector in zip(param_shapes, merged_single_partition_of_fp32_groups):
|
| 287 |
+
offset = 0
|
| 288 |
+
avail_numel = full_single_fp32_vector.numel()
|
| 289 |
+
for name, shape in shapes.items():
|
| 290 |
+
|
| 291 |
+
unpartitioned_numel = shape.numel() if _has_callable(shape, 'numel') else math.prod(shape)
|
| 292 |
+
total_numel += unpartitioned_numel
|
| 293 |
+
total_params += 1
|
| 294 |
+
|
| 295 |
+
if debug:
|
| 296 |
+
print(f"{name} full shape: {shape} unpartitioned numel {unpartitioned_numel} ")
|
| 297 |
+
state_dict[name] = full_single_fp32_vector.narrow(0, offset, unpartitioned_numel).view(shape)
|
| 298 |
+
offset += unpartitioned_numel
|
| 299 |
+
|
| 300 |
+
# Z2 started to align to 2*world_size to improve nccl performance. Therefore both offset and
|
| 301 |
+
# avail_numel can differ by anywhere between 0..2*world_size. Due to two unrelated complex
|
| 302 |
+
# paddings performed in the code it's almost impossible to predict the exact numbers w/o the
|
| 303 |
+
# live optimizer object, so we are checking that the numbers are within the right range
|
| 304 |
+
align_to = 2 * world_size
|
| 305 |
+
|
| 306 |
+
def zero2_align(x):
|
| 307 |
+
return align_to * math.ceil(x / align_to)
|
| 308 |
+
|
| 309 |
+
if debug:
|
| 310 |
+
print(f"original offset={offset}, avail_numel={avail_numel}")
|
| 311 |
+
|
| 312 |
+
offset = zero2_align(offset)
|
| 313 |
+
avail_numel = zero2_align(avail_numel)
|
| 314 |
+
|
| 315 |
+
if debug:
|
| 316 |
+
print(f"aligned offset={offset}, avail_numel={avail_numel}")
|
| 317 |
+
|
| 318 |
+
# Sanity check
|
| 319 |
+
if offset != avail_numel:
|
| 320 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 321 |
+
|
| 322 |
+
print(f"Reconstructed fp32 state dict with {total_params} params {total_numel} elements")
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
def _get_fp32_state_dict_from_zero2_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 326 |
+
exclude_frozen_parameters):
|
| 327 |
+
state_dict = OrderedDict()
|
| 328 |
+
|
| 329 |
+
# buffers
|
| 330 |
+
buffers = zero_model_states[0].buffers
|
| 331 |
+
state_dict.update(buffers)
|
| 332 |
+
if debug:
|
| 333 |
+
print(f"added {len(buffers)} buffers")
|
| 334 |
+
|
| 335 |
+
if not exclude_frozen_parameters:
|
| 336 |
+
_zero2_merge_frozen_params(state_dict, zero_model_states)
|
| 337 |
+
|
| 338 |
+
_zero2_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 339 |
+
|
| 340 |
+
# recover shared parameters
|
| 341 |
+
for pair in zero_model_states[0].shared_params:
|
| 342 |
+
if pair[1] in state_dict:
|
| 343 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 344 |
+
|
| 345 |
+
return state_dict
|
| 346 |
+
|
| 347 |
+
|
| 348 |
+
def zero3_partitioned_param_info(unpartitioned_numel, world_size):
|
| 349 |
+
remainder = unpartitioned_numel % world_size
|
| 350 |
+
padding_numel = (world_size - remainder) if remainder else 0
|
| 351 |
+
partitioned_numel = math.ceil(unpartitioned_numel / world_size)
|
| 352 |
+
return partitioned_numel, padding_numel
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
def _zero3_merge_frozen_params(state_dict, world_size, zero_model_states):
|
| 356 |
+
if zero_model_states[0].frozen_param_shapes is None or len(zero_model_states[0].frozen_param_shapes) == 0:
|
| 357 |
+
return
|
| 358 |
+
|
| 359 |
+
if debug:
|
| 360 |
+
for i in range(world_size):
|
| 361 |
+
num_elem = sum(s.numel() for s in zero_model_states[i].frozen_param_fragments.values())
|
| 362 |
+
print(f'rank {i}: {FROZEN_PARAM_SHAPES}.numel = {num_elem}')
|
| 363 |
+
|
| 364 |
+
frozen_param_shapes = zero_model_states[0].frozen_param_shapes
|
| 365 |
+
wanted_params = len(frozen_param_shapes)
|
| 366 |
+
wanted_numel = sum(s.numel() for s in frozen_param_shapes.values())
|
| 367 |
+
avail_numel = sum([p.numel() for p in zero_model_states[0].frozen_param_fragments.values()]) * world_size
|
| 368 |
+
print(f'Frozen params: Have {avail_numel} numels to process.')
|
| 369 |
+
print(f'Frozen params: Need {wanted_numel} numels in {wanted_params} params')
|
| 370 |
+
|
| 371 |
+
total_params = 0
|
| 372 |
+
total_numel = 0
|
| 373 |
+
for name, shape in zero_model_states[0].frozen_param_shapes.items():
|
| 374 |
+
total_params += 1
|
| 375 |
+
unpartitioned_numel = shape.numel()
|
| 376 |
+
total_numel += unpartitioned_numel
|
| 377 |
+
|
| 378 |
+
param_frags = tuple(model_state.frozen_param_fragments[name] for model_state in zero_model_states)
|
| 379 |
+
state_dict[name] = torch.cat(param_frags, 0).narrow(0, 0, unpartitioned_numel).view(shape)
|
| 380 |
+
|
| 381 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 382 |
+
|
| 383 |
+
if debug:
|
| 384 |
+
print(
|
| 385 |
+
f"Frozen params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 386 |
+
)
|
| 387 |
+
|
| 388 |
+
print(f"Reconstructed Frozen fp32 state dict with {total_params} params {total_numel} elements")
|
| 389 |
+
|
| 390 |
+
|
| 391 |
+
class GatheredTensor:
|
| 392 |
+
"""
|
| 393 |
+
A pseudo tensor that collects partitioned weights.
|
| 394 |
+
It is more memory efficient when there are multiple groups.
|
| 395 |
+
"""
|
| 396 |
+
|
| 397 |
+
def __init__(self, flat_groups, flat_groups_offset, offset, partitioned_numel, shape):
|
| 398 |
+
self.flat_groups = flat_groups
|
| 399 |
+
self.flat_groups_offset = flat_groups_offset
|
| 400 |
+
self.offset = offset
|
| 401 |
+
self.partitioned_numel = partitioned_numel
|
| 402 |
+
self.shape = shape
|
| 403 |
+
self.dtype = self.flat_groups[0][0].dtype
|
| 404 |
+
|
| 405 |
+
def contiguous(self):
|
| 406 |
+
"""
|
| 407 |
+
Merge partitioned weights from flat_groups into a single tensor.
|
| 408 |
+
"""
|
| 409 |
+
end_idx = self.offset + self.partitioned_numel
|
| 410 |
+
world_size = len(self.flat_groups)
|
| 411 |
+
pad_flat_param_chunks = []
|
| 412 |
+
|
| 413 |
+
for rank_i in range(world_size):
|
| 414 |
+
# for each rank, we need to collect weights from related group/groups
|
| 415 |
+
flat_groups_at_rank_i = self.flat_groups[rank_i]
|
| 416 |
+
start_group_id = None
|
| 417 |
+
end_group_id = None
|
| 418 |
+
for group_id in range(len(self.flat_groups_offset)):
|
| 419 |
+
if self.flat_groups_offset[group_id] <= self.offset < self.flat_groups_offset[group_id + 1]:
|
| 420 |
+
start_group_id = group_id
|
| 421 |
+
if self.flat_groups_offset[group_id] < end_idx <= self.flat_groups_offset[group_id + 1]:
|
| 422 |
+
end_group_id = group_id
|
| 423 |
+
break
|
| 424 |
+
# collect weights from related group/groups
|
| 425 |
+
for group_id in range(start_group_id, end_group_id + 1):
|
| 426 |
+
flat_tensor = flat_groups_at_rank_i[group_id]
|
| 427 |
+
start_offset = self.offset - self.flat_groups_offset[group_id]
|
| 428 |
+
end_offset = min(end_idx, self.flat_groups_offset[group_id + 1]) - self.flat_groups_offset[group_id]
|
| 429 |
+
pad_flat_param_chunks.append(flat_tensor[start_offset:end_offset])
|
| 430 |
+
|
| 431 |
+
# collect weights from all ranks
|
| 432 |
+
pad_flat_param = torch.cat(pad_flat_param_chunks, dim=0)
|
| 433 |
+
param = pad_flat_param[:self.shape.numel()].view(self.shape).contiguous()
|
| 434 |
+
return param
|
| 435 |
+
|
| 436 |
+
|
| 437 |
+
def _zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states):
|
| 438 |
+
param_shapes = zero_model_states[0].param_shapes
|
| 439 |
+
avail_numel = sum([flat_group.numel() for flat_group in fp32_flat_groups[0]]) * world_size
|
| 440 |
+
|
| 441 |
+
# Reconstruction protocol: For zero3 we need to zip the partitions together at boundary of each
|
| 442 |
+
# param, re-consolidating each param, while dealing with padding if any
|
| 443 |
+
|
| 444 |
+
# merge list of dicts, preserving order
|
| 445 |
+
param_shapes = {k: v for d in param_shapes for k, v in d.items()}
|
| 446 |
+
|
| 447 |
+
if debug:
|
| 448 |
+
for i in range(world_size):
|
| 449 |
+
print(f"{FP32_FLAT_GROUPS}[{i}].shape={fp32_flat_groups[i].shape}")
|
| 450 |
+
|
| 451 |
+
wanted_params = len(param_shapes)
|
| 452 |
+
wanted_numel = sum(shape.numel() for shape in param_shapes.values())
|
| 453 |
+
# not asserting if there is a mismatch due to possible padding
|
| 454 |
+
avail_numel = fp32_flat_groups[0].numel() * world_size
|
| 455 |
+
print(f"Trainable params: Have {avail_numel} numels to process.")
|
| 456 |
+
print(f"Trainable params: Need {wanted_numel} numels in {wanted_params} params.")
|
| 457 |
+
|
| 458 |
+
# params
|
| 459 |
+
# XXX: for huge models that can't fit into the host's RAM we will have to recode this to support
|
| 460 |
+
# out-of-core computing solution
|
| 461 |
+
offset = 0
|
| 462 |
+
total_numel = 0
|
| 463 |
+
total_params = 0
|
| 464 |
+
flat_groups_offset = [0] + list(np.cumsum([flat_tensor.numel() for flat_tensor in fp32_flat_groups[0]]))
|
| 465 |
+
for name, shape in tqdm(param_shapes.items(), desc='Gathering sharded weights'):
|
| 466 |
+
unpartitioned_numel = shape.numel()
|
| 467 |
+
total_numel += unpartitioned_numel
|
| 468 |
+
total_params += 1
|
| 469 |
+
partitioned_numel, partitioned_padding_numel = zero3_partitioned_param_info(unpartitioned_numel, world_size)
|
| 470 |
+
|
| 471 |
+
if debug:
|
| 472 |
+
print(
|
| 473 |
+
f"Trainable params: {total_params} {name} full shape: {shape} partition0 numel={partitioned_numel} partitioned_padding_numel={partitioned_padding_numel}"
|
| 474 |
+
)
|
| 475 |
+
|
| 476 |
+
# memory efficient tensor
|
| 477 |
+
tensor = GatheredTensor(fp32_flat_groups, flat_groups_offset, offset, partitioned_numel, shape)
|
| 478 |
+
state_dict[name] = tensor
|
| 479 |
+
offset += partitioned_numel
|
| 480 |
+
|
| 481 |
+
offset *= world_size
|
| 482 |
+
|
| 483 |
+
# Sanity check
|
| 484 |
+
if offset != avail_numel:
|
| 485 |
+
raise ValueError(f"consumed {offset} numels out of {avail_numel} - something is wrong")
|
| 486 |
+
|
| 487 |
+
print(f"Reconstructed Trainable fp32 state dict with {total_params} params {total_numel} elements")
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
def _get_fp32_state_dict_from_zero3_checkpoint(world_size, fp32_flat_groups, zero_model_states,
|
| 491 |
+
exclude_frozen_parameters):
|
| 492 |
+
state_dict = OrderedDict()
|
| 493 |
+
|
| 494 |
+
# buffers
|
| 495 |
+
buffers = zero_model_states[0].buffers
|
| 496 |
+
state_dict.update(buffers)
|
| 497 |
+
if debug:
|
| 498 |
+
print(f"added {len(buffers)} buffers")
|
| 499 |
+
|
| 500 |
+
if not exclude_frozen_parameters:
|
| 501 |
+
_zero3_merge_frozen_params(state_dict, world_size, zero_model_states)
|
| 502 |
+
|
| 503 |
+
_zero3_merge_trainable_params(state_dict, world_size, fp32_flat_groups, zero_model_states)
|
| 504 |
+
|
| 505 |
+
# recover shared parameters
|
| 506 |
+
for pair in zero_model_states[0].shared_params:
|
| 507 |
+
if pair[1] in state_dict:
|
| 508 |
+
state_dict[pair[0]] = state_dict[pair[1]]
|
| 509 |
+
|
| 510 |
+
return state_dict
|
| 511 |
+
|
| 512 |
+
|
| 513 |
+
def to_torch_tensor(state_dict, return_empty_tensor=False):
|
| 514 |
+
"""
|
| 515 |
+
Convert state_dict of GatheredTensor to torch tensor
|
| 516 |
+
"""
|
| 517 |
+
torch_state_dict = {}
|
| 518 |
+
converted_tensors = {}
|
| 519 |
+
for name, tensor in state_dict.items():
|
| 520 |
+
tensor_id = id(tensor)
|
| 521 |
+
if tensor_id in converted_tensors: # shared tensors
|
| 522 |
+
shared_tensor = torch_state_dict[converted_tensors[tensor_id]]
|
| 523 |
+
torch_state_dict[name] = shared_tensor
|
| 524 |
+
else:
|
| 525 |
+
converted_tensors[tensor_id] = name
|
| 526 |
+
if return_empty_tensor:
|
| 527 |
+
torch_state_dict[name] = torch.empty(tensor.shape, dtype=tensor.dtype)
|
| 528 |
+
else:
|
| 529 |
+
torch_state_dict[name] = tensor.contiguous()
|
| 530 |
+
return torch_state_dict
|
| 531 |
+
|
| 532 |
+
|
| 533 |
+
def get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 534 |
+
tag=None,
|
| 535 |
+
exclude_frozen_parameters=False,
|
| 536 |
+
lazy_mode=False):
|
| 537 |
+
"""
|
| 538 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated state_dict that can be loaded with
|
| 539 |
+
``load_state_dict()`` and used for training without DeepSpeed or shared with others, for example
|
| 540 |
+
via a model hub.
|
| 541 |
+
|
| 542 |
+
Args:
|
| 543 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder
|
| 544 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in 'latest' file. e.g., ``global_step14``
|
| 545 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 546 |
+
- ``lazy_mode``: get state_dict in lazy mode. It returns a dict of pesduo tensor instead of torch tensor, which is more memory efficient.
|
| 547 |
+
Convert the pesduo tensor to torch tensor by ``.contiguous()``
|
| 548 |
+
|
| 549 |
+
Returns:
|
| 550 |
+
- pytorch ``state_dict``
|
| 551 |
+
|
| 552 |
+
A typical usage might be ::
|
| 553 |
+
|
| 554 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 555 |
+
# do the training and checkpoint saving
|
| 556 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir) # already on cpu
|
| 557 |
+
model = model.cpu() # move to cpu
|
| 558 |
+
model.load_state_dict(state_dict)
|
| 559 |
+
# submit to model hub or save the model to share with others
|
| 560 |
+
|
| 561 |
+
In this example the ``model`` will no longer be usable in the deepspeed context of the same
|
| 562 |
+
application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 563 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 564 |
+
|
| 565 |
+
If you want it all done for you, use ``load_state_dict_from_zero_checkpoint`` instead.
|
| 566 |
+
|
| 567 |
+
Note: the above usage may not work if your application doesn't have sufficient free CPU memory.
|
| 568 |
+
You may need to use the offline approach using the ``zero_to_fp32.py`` script that is saved with
|
| 569 |
+
the checkpoint. Or you can load state_dict in lazy mode ::
|
| 570 |
+
|
| 571 |
+
from deepspeed.utils.zero_to_fp32 import get_fp32_state_dict_from_zero_checkpoint
|
| 572 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, lazy_mode=True) # not on cpu
|
| 573 |
+
for name, lazy_tensor in state_dict.item():
|
| 574 |
+
tensor = lazy_tensor.contiguous() # to cpu
|
| 575 |
+
print(name, tensor)
|
| 576 |
+
# del tensor to release memory if it no longer in use
|
| 577 |
+
"""
|
| 578 |
+
if tag is None:
|
| 579 |
+
latest_path = os.path.join(checkpoint_dir, 'latest')
|
| 580 |
+
if os.path.isfile(latest_path):
|
| 581 |
+
with open(latest_path, 'r') as fd:
|
| 582 |
+
tag = fd.read().strip()
|
| 583 |
+
else:
|
| 584 |
+
raise ValueError(f"Unable to find 'latest' file at {latest_path}")
|
| 585 |
+
|
| 586 |
+
ds_checkpoint_dir = os.path.join(checkpoint_dir, tag)
|
| 587 |
+
|
| 588 |
+
if not os.path.isdir(ds_checkpoint_dir):
|
| 589 |
+
raise FileNotFoundError(f"Directory '{ds_checkpoint_dir}' doesn't exist")
|
| 590 |
+
|
| 591 |
+
state_dict = _get_fp32_state_dict_from_zero_checkpoint(ds_checkpoint_dir, exclude_frozen_parameters)
|
| 592 |
+
if lazy_mode:
|
| 593 |
+
return state_dict
|
| 594 |
+
else:
|
| 595 |
+
return to_torch_tensor(state_dict)
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
def convert_zero_checkpoint_to_fp32_state_dict(checkpoint_dir,
|
| 599 |
+
output_dir,
|
| 600 |
+
max_shard_size="5GB",
|
| 601 |
+
safe_serialization=False,
|
| 602 |
+
tag=None,
|
| 603 |
+
exclude_frozen_parameters=False):
|
| 604 |
+
"""
|
| 605 |
+
Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict`` file that can be
|
| 606 |
+
loaded with ``torch.load(file)`` + ``load_state_dict()`` and used for training without DeepSpeed.
|
| 607 |
+
|
| 608 |
+
Args:
|
| 609 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 610 |
+
- ``output_dir``: directory to the pytorch fp32 state_dict output files
|
| 611 |
+
- ``max_shard_size``: the maximum size for a checkpoint before being sharded, default value is 5GB
|
| 612 |
+
- ``safe_serialization``: whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).
|
| 613 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 614 |
+
- ``exclude_frozen_parameters``: exclude frozen parameters
|
| 615 |
+
"""
|
| 616 |
+
|
| 617 |
+
# Dependency pre-check
|
| 618 |
+
if safe_serialization:
|
| 619 |
+
try:
|
| 620 |
+
from safetensors.torch import save_file
|
| 621 |
+
except ImportError:
|
| 622 |
+
print('If you want to use `safe_serialization`, please `pip install safetensors`')
|
| 623 |
+
raise
|
| 624 |
+
if max_shard_size is not None:
|
| 625 |
+
try:
|
| 626 |
+
from huggingface_hub import split_torch_state_dict_into_shards
|
| 627 |
+
except ImportError:
|
| 628 |
+
print('If you want to use `max_shard_size`, please `pip install huggingface_hub`')
|
| 629 |
+
raise
|
| 630 |
+
|
| 631 |
+
# Convert zero checkpoint to state_dict
|
| 632 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir,
|
| 633 |
+
tag,
|
| 634 |
+
exclude_frozen_parameters,
|
| 635 |
+
lazy_mode=True)
|
| 636 |
+
|
| 637 |
+
# Shard the model if it is too big.
|
| 638 |
+
weights_name = "model.safetensors" if safe_serialization else "pytorch_model.bin"
|
| 639 |
+
if max_shard_size is not None:
|
| 640 |
+
filename_pattern = weights_name.replace(".bin", "{suffix}.bin").replace(".safetensors", "{suffix}.safetensors")
|
| 641 |
+
# an memory-efficient approach for sharding
|
| 642 |
+
empty_state_dict = to_torch_tensor(state_dict, return_empty_tensor=True)
|
| 643 |
+
state_dict_split = split_torch_state_dict_into_shards(empty_state_dict,
|
| 644 |
+
filename_pattern=filename_pattern,
|
| 645 |
+
max_shard_size=max_shard_size)
|
| 646 |
+
else:
|
| 647 |
+
from collections import namedtuple
|
| 648 |
+
StateDictSplit = namedtuple("StateDictSplit", ["is_sharded", "filename_to_tensors"])
|
| 649 |
+
state_dict_split = StateDictSplit(is_sharded=False,
|
| 650 |
+
filename_to_tensors={weights_name: list(state_dict.keys())})
|
| 651 |
+
|
| 652 |
+
# Save the model by shard
|
| 653 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 654 |
+
filename_to_tensors = state_dict_split.filename_to_tensors.items()
|
| 655 |
+
for shard_file, tensors in tqdm(filename_to_tensors, desc="Saving checkpoint shards"):
|
| 656 |
+
shard_state_dict = {tensor_name: state_dict[tensor_name] for tensor_name in tensors}
|
| 657 |
+
shard_state_dict = to_torch_tensor(shard_state_dict)
|
| 658 |
+
output_path = os.path.join(output_dir, shard_file)
|
| 659 |
+
if safe_serialization:
|
| 660 |
+
save_file(shard_state_dict, output_path, metadata={"format": "pt"})
|
| 661 |
+
else:
|
| 662 |
+
torch.save(shard_state_dict, output_path)
|
| 663 |
+
# release the memory of current shard
|
| 664 |
+
for tensor_name in list(shard_state_dict.keys()):
|
| 665 |
+
del state_dict[tensor_name]
|
| 666 |
+
del shard_state_dict[tensor_name]
|
| 667 |
+
del shard_state_dict
|
| 668 |
+
gc.collect()
|
| 669 |
+
|
| 670 |
+
# Save index if sharded
|
| 671 |
+
if state_dict_split.is_sharded:
|
| 672 |
+
index = {
|
| 673 |
+
"metadata": state_dict_split.metadata,
|
| 674 |
+
"weight_map": state_dict_split.tensor_to_filename,
|
| 675 |
+
}
|
| 676 |
+
save_index_file = "model.safetensors.index.json" if safe_serialization else "pytorch_model.bin.index.json"
|
| 677 |
+
save_index_file = os.path.join(output_dir, save_index_file)
|
| 678 |
+
with open(save_index_file, "w", encoding="utf-8") as f:
|
| 679 |
+
content = json.dumps(index, indent=2, sort_keys=True) + "\n"
|
| 680 |
+
f.write(content)
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
def load_state_dict_from_zero_checkpoint(model, checkpoint_dir, tag=None):
|
| 684 |
+
"""
|
| 685 |
+
1. Put the provided model to cpu
|
| 686 |
+
2. Convert ZeRO 2 or 3 checkpoint into a single fp32 consolidated ``state_dict``
|
| 687 |
+
3. Load it into the provided model
|
| 688 |
+
|
| 689 |
+
Args:
|
| 690 |
+
- ``model``: the model object to update
|
| 691 |
+
- ``checkpoint_dir``: path to the desired checkpoint folder. (one that contains the tag-folder, like ``global_step14``)
|
| 692 |
+
- ``tag``: checkpoint tag used as a unique identifier for checkpoint. If not provided will attempt to load tag in the file named ``latest`` in the checkpoint folder, e.g., ``global_step14``
|
| 693 |
+
|
| 694 |
+
Returns:
|
| 695 |
+
- ``model`: modified model
|
| 696 |
+
|
| 697 |
+
Make sure you have plenty of CPU memory available before you call this function. If you don't
|
| 698 |
+
have enough use the ``zero_to_fp32.py`` utility to do the conversion. You will find it
|
| 699 |
+
conveniently placed for you in the checkpoint folder.
|
| 700 |
+
|
| 701 |
+
A typical usage might be ::
|
| 702 |
+
|
| 703 |
+
from deepspeed.utils.zero_to_fp32 import load_state_dict_from_zero_checkpoint
|
| 704 |
+
model = load_state_dict_from_zero_checkpoint(trainer.model, checkpoint_dir)
|
| 705 |
+
# submit to model hub or save the model to share with others
|
| 706 |
+
|
| 707 |
+
Note, that once this was run, the ``model`` will no longer be usable in the deepspeed context
|
| 708 |
+
of the same application. i.e. you will need to re-initialize the deepspeed engine, since
|
| 709 |
+
``model.load_state_dict(state_dict)`` will remove all the deepspeed magic from it.
|
| 710 |
+
|
| 711 |
+
"""
|
| 712 |
+
logger.info(f"Extracting fp32 weights")
|
| 713 |
+
state_dict = get_fp32_state_dict_from_zero_checkpoint(checkpoint_dir, tag)
|
| 714 |
+
|
| 715 |
+
logger.info(f"Overwriting model with fp32 weights")
|
| 716 |
+
model = model.cpu()
|
| 717 |
+
model.load_state_dict(state_dict, strict=False)
|
| 718 |
+
|
| 719 |
+
return model
|
| 720 |
+
|
| 721 |
+
|
| 722 |
+
if __name__ == "__main__":
|
| 723 |
+
parser = argparse.ArgumentParser()
|
| 724 |
+
parser.add_argument("checkpoint_dir",
|
| 725 |
+
type=str,
|
| 726 |
+
help="path to the desired checkpoint folder, e.g., path/checkpoint-12")
|
| 727 |
+
parser.add_argument("output_dir",
|
| 728 |
+
type=str,
|
| 729 |
+
help="directory to the pytorch fp32 state_dict output files"
|
| 730 |
+
"(e.g. path/checkpoint-12-output/)")
|
| 731 |
+
parser.add_argument(
|
| 732 |
+
"--max_shard_size",
|
| 733 |
+
type=str,
|
| 734 |
+
default="5GB",
|
| 735 |
+
help="The maximum size for a checkpoint before being sharded. Checkpoints shard will then be each of size"
|
| 736 |
+
"lower than this size. If expressed as a string, needs to be digits followed by a unit (like `5MB`"
|
| 737 |
+
"We default it to 5GB in order for models to be able to run easily on free-tier google colab instances"
|
| 738 |
+
"without CPU OOM issues.")
|
| 739 |
+
parser.add_argument(
|
| 740 |
+
"--safe_serialization",
|
| 741 |
+
default=False,
|
| 742 |
+
action='store_true',
|
| 743 |
+
help="Whether to save the model using `safetensors` or the traditional PyTorch way (that uses `pickle`).")
|
| 744 |
+
parser.add_argument("-t",
|
| 745 |
+
"--tag",
|
| 746 |
+
type=str,
|
| 747 |
+
default=None,
|
| 748 |
+
help="checkpoint tag used as a unique identifier for checkpoint. e.g., global_step1")
|
| 749 |
+
parser.add_argument("--exclude_frozen_parameters", action='store_true', help="exclude frozen parameters")
|
| 750 |
+
parser.add_argument("-d", "--debug", action='store_true', help="enable debug")
|
| 751 |
+
args = parser.parse_args()
|
| 752 |
+
|
| 753 |
+
debug = args.debug
|
| 754 |
+
|
| 755 |
+
convert_zero_checkpoint_to_fp32_state_dict(args.checkpoint_dir,
|
| 756 |
+
args.output_dir,
|
| 757 |
+
max_shard_size=args.max_shard_size,
|
| 758 |
+
safe_serialization=args.safe_serialization,
|
| 759 |
+
tag=args.tag,
|
| 760 |
+
exclude_frozen_parameters=args.exclude_frozen_parameters)
|
mistral7b_dpo_baseline/special_tokens_map.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "</s>",
|
| 17 |
+
"unk_token": {
|
| 18 |
+
"content": "<unk>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
}
|
| 24 |
+
}
|
mistral7b_dpo_baseline/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
mistral7b_dpo_baseline/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
| 3 |
+
size 493443
|
mistral7b_dpo_baseline/tokenizer_config.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"additional_special_tokens": [],
|
| 32 |
+
"bos_token": "<s>",
|
| 33 |
+
"clean_up_tokenization_spaces": false,
|
| 34 |
+
"eos_token": "</s>",
|
| 35 |
+
"extra_special_tokens": {},
|
| 36 |
+
"legacy": false,
|
| 37 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 38 |
+
"pad_token": "</s>",
|
| 39 |
+
"padding_side": "right",
|
| 40 |
+
"sp_model_kwargs": {},
|
| 41 |
+
"spaces_between_special_tokens": false,
|
| 42 |
+
"split_special_tokens": false,
|
| 43 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 44 |
+
"unk_token": "<unk>",
|
| 45 |
+
"use_default_system_prompt": false
|
| 46 |
+
}
|
mistral7b_dpo_baseline/train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 1.0,
|
| 3 |
+
"total_flos": 7.072674331683193e+18,
|
| 4 |
+
"train_loss": 0.6730708850889789,
|
| 5 |
+
"train_runtime": 4328.1955,
|
| 6 |
+
"train_samples_per_second": 23.104,
|
| 7 |
+
"train_steps_per_second": 0.045
|
| 8 |
+
}
|
mistral7b_dpo_baseline/trainer_log.jsonl
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 5, "total_steps": 196, "loss": 0.6931, "accuracy": 0.3062500059604645, "lr": 4e-08, "epoch": 0.025591810620601407, "percentage": 2.55, "elapsed_time": "0:01:47", "remaining_time": "1:08:36", "rewards/chosen": 0.0012258010683581233, "rewards/rejected": 0.0008625800255686045, "rewards/accuracies": 0.3062500059604645, "rewards/margins": 0.0003632208681665361, "logps/chosen": -375.063232421875, "logps/rejected": -210.8657684326172, "logits/chosen": -2.273033380508423, "logits/rejected": -2.1234283447265625}
|
| 2 |
+
{"current_steps": 10, "total_steps": 196, "loss": 0.6931, "accuracy": 0.5082031488418579, "lr": 9e-08, "epoch": 0.05118362124120281, "percentage": 5.1, "elapsed_time": "0:03:38", "remaining_time": "1:07:50", "rewards/chosen": 0.0013576988130807877, "rewards/rejected": 0.0008109854534268379, "rewards/accuracies": 0.5082031488418579, "rewards/margins": 0.0005467134760692716, "logps/chosen": -382.0296325683594, "logps/rejected": -202.4493408203125, "logits/chosen": -2.2679283618927, "logits/rejected": -2.116572141647339, "stability/response_length_mean": 602.7999877929688, "stability/response_length_std": 295.1842346191406, "stability/response_length_var": 87133.734375, "stability/token_entropy_mean": 6.959374904632568, "stability/repetition_rate_mean": 0.9135147929191589}
|
| 3 |
+
{"current_steps": 15, "total_steps": 196, "loss": 0.6932, "accuracy": 0.5082031488418579, "lr": 1.4e-07, "epoch": 0.07677543186180422, "percentage": 7.65, "elapsed_time": "0:05:29", "remaining_time": "1:06:10", "rewards/chosen": 0.0017401383956894279, "rewards/rejected": 0.0014510790351778269, "rewards/accuracies": 0.5082031488418579, "rewards/margins": 0.00028905909857712686, "logps/chosen": -389.2082214355469, "logps/rejected": -207.0491180419922, "logits/chosen": -2.260676860809326, "logits/rejected": -2.0991530418395996, "stability/response_length_mean": 345.70001220703125, "stability/response_length_std": 212.67974853515625, "stability/response_length_var": 45232.6796875, "stability/token_entropy_mean": 6.342187404632568, "stability/repetition_rate_mean": 0.8363126516342163}
|
| 4 |
+
{"current_steps": 20, "total_steps": 196, "loss": 0.6939, "accuracy": 0.49140626192092896, "lr": 1.8999999999999998e-07, "epoch": 0.10236724248240563, "percentage": 10.2, "elapsed_time": "0:07:19", "remaining_time": "1:04:29", "rewards/chosen": 0.0004601169202942401, "rewards/rejected": 0.0015163427451625466, "rewards/accuracies": 0.49140626192092896, "rewards/margins": -0.0010562256211414933, "logps/chosen": -368.71954345703125, "logps/rejected": -198.5596160888672, "logits/chosen": -2.2613608837127686, "logits/rejected": -2.1145310401916504, "stability/response_length_mean": 739.4000244140625, "stability/response_length_std": 281.282470703125, "stability/response_length_var": 79119.8203125, "stability/token_entropy_mean": 6.931250095367432, "stability/repetition_rate_mean": 0.9317001104354858}
|
| 5 |
+
{"current_steps": 25, "total_steps": 196, "loss": 0.693, "accuracy": 0.5082031488418579, "lr": 2.4e-07, "epoch": 0.12795905310300704, "percentage": 12.76, "elapsed_time": "0:09:10", "remaining_time": "1:02:48", "rewards/chosen": 0.002021136460825801, "rewards/rejected": 0.0014201054582372308, "rewards/accuracies": 0.5082031488418579, "rewards/margins": 0.0006010310025885701, "logps/chosen": -378.1647033691406, "logps/rejected": -205.86363220214844, "logits/chosen": -2.277377128601074, "logits/rejected": -2.125220775604248, "stability/response_length_mean": 658.5999755859375, "stability/response_length_std": 288.0155029296875, "stability/response_length_var": 82952.9296875, "stability/token_entropy_mean": 6.821875095367432, "stability/repetition_rate_mean": 0.8950179815292358}
|
| 6 |
+
{"current_steps": 30, "total_steps": 196, "loss": 0.6935, "accuracy": 0.490234375, "lr": 2.9e-07, "epoch": 0.15355086372360843, "percentage": 15.31, "elapsed_time": "0:11:01", "remaining_time": "1:01:00", "rewards/chosen": 0.0010083412053063512, "rewards/rejected": 0.0013262125430628657, "rewards/accuracies": 0.490234375, "rewards/margins": -0.0003178715705871582, "logps/chosen": -373.9202575683594, "logps/rejected": -208.93287658691406, "logits/chosen": -2.2701575756073, "logits/rejected": -2.1229705810546875, "stability/response_length_mean": 356.0, "stability/response_length_std": 249.6766815185547, "stability/response_length_var": 62338.4453125, "stability/token_entropy_mean": 6.199999809265137, "stability/repetition_rate_mean": 0.8135284185409546}
|
| 7 |
+
{"current_steps": 35, "total_steps": 196, "loss": 0.6928, "accuracy": 0.5265624523162842, "lr": 3.4000000000000003e-07, "epoch": 0.17914267434420986, "percentage": 17.86, "elapsed_time": "0:12:52", "remaining_time": "0:59:14", "rewards/chosen": 0.0032140661496669054, "rewards/rejected": 0.0020710753742605448, "rewards/accuracies": 0.5265624523162842, "rewards/margins": 0.0011429906589910388, "logps/chosen": -366.3136901855469, "logps/rejected": -203.98719787597656, "logits/chosen": -2.2612318992614746, "logits/rejected": -2.120094060897827, "stability/response_length_mean": 606.2000122070312, "stability/response_length_std": 394.1366882324219, "stability/response_length_var": 155343.734375, "stability/token_entropy_mean": 7.112500190734863, "stability/repetition_rate_mean": 0.9289250373840332}
|
| 8 |
+
{"current_steps": 40, "total_steps": 196, "loss": 0.6928, "accuracy": 0.5144531726837158, "lr": 3.8999999999999997e-07, "epoch": 0.20473448496481125, "percentage": 20.41, "elapsed_time": "0:14:44", "remaining_time": "0:57:28", "rewards/chosen": 0.004107568878680468, "rewards/rejected": 0.0029460543300956488, "rewards/accuracies": 0.5144531726837158, "rewards/margins": 0.0011615146650001407, "logps/chosen": -369.1784973144531, "logps/rejected": -197.37686157226562, "logits/chosen": -2.2764394283294678, "logits/rejected": -2.122685432434082, "stability/response_length_mean": 547.2000122070312, "stability/response_length_std": 290.8897399902344, "stability/response_length_var": 84616.84375, "stability/token_entropy_mean": 6.557812690734863, "stability/repetition_rate_mean": 0.8629743456840515}
|
| 9 |
+
{"current_steps": 45, "total_steps": 196, "loss": 0.6933, "accuracy": 0.512890636920929, "lr": 4.3999999999999997e-07, "epoch": 0.23032629558541268, "percentage": 22.96, "elapsed_time": "0:16:34", "remaining_time": "0:55:36", "rewards/chosen": 0.0039331079460680485, "rewards/rejected": 0.003900188487023115, "rewards/accuracies": 0.512890636920929, "rewards/margins": 3.291945904493332e-05, "logps/chosen": -385.1796569824219, "logps/rejected": -212.56887817382812, "logits/chosen": -2.257107734680176, "logits/rejected": -2.1072099208831787, "stability/response_length_mean": 366.5, "stability/response_length_std": 118.86243438720703, "stability/response_length_var": 14128.27734375, "stability/token_entropy_mean": 6.640625, "stability/repetition_rate_mean": 0.8764154314994812}
|
| 10 |
+
{"current_steps": 50, "total_steps": 196, "loss": 0.6916, "accuracy": 0.5316406488418579, "lr": 4.9e-07, "epoch": 0.2559181062060141, "percentage": 25.51, "elapsed_time": "0:18:24", "remaining_time": "0:53:45", "rewards/chosen": 0.0068646748550236225, "rewards/rejected": 0.003293551504611969, "rewards/accuracies": 0.5316406488418579, "rewards/margins": 0.0035711233504116535, "logps/chosen": -378.2891540527344, "logps/rejected": -207.4978790283203, "logits/chosen": -2.264720916748047, "logits/rejected": -2.109816312789917, "stability/response_length_mean": 384.1000061035156, "stability/response_length_std": 178.4809112548828, "stability/response_length_var": 31855.43359375, "stability/token_entropy_mean": 6.543749809265137, "stability/repetition_rate_mean": 0.8785834312438965}
|
| 11 |
+
{"current_steps": 55, "total_steps": 196, "loss": 0.6911, "accuracy": 0.536328136920929, "lr": 5.4e-07, "epoch": 0.28150991682661547, "percentage": 28.06, "elapsed_time": "0:20:14", "remaining_time": "0:51:54", "rewards/chosen": 0.009546511806547642, "rewards/rejected": 0.005061793606728315, "rewards/accuracies": 0.536328136920929, "rewards/margins": 0.004484717734158039, "logps/chosen": -393.7845764160156, "logps/rejected": -210.35861206054688, "logits/chosen": -2.2527079582214355, "logits/rejected": -2.094048261642456, "stability/response_length_mean": 332.8999938964844, "stability/response_length_std": 137.39193725585938, "stability/response_length_var": 18876.544921875, "stability/token_entropy_mean": 7.009375095367432, "stability/repetition_rate_mean": 0.9481571912765503}
|
| 12 |
+
{"current_steps": 60, "total_steps": 196, "loss": 0.6915, "accuracy": 0.5328124761581421, "lr": 5.9e-07, "epoch": 0.30710172744721687, "percentage": 30.61, "elapsed_time": "0:22:06", "remaining_time": "0:50:06", "rewards/chosen": 0.009509808383882046, "rewards/rejected": 0.005750678479671478, "rewards/accuracies": 0.5328124761581421, "rewards/margins": 0.00375912943854928, "logps/chosen": -387.7115173339844, "logps/rejected": -206.819580078125, "logits/chosen": -2.272801160812378, "logits/rejected": -2.111156463623047, "stability/response_length_mean": 655.2999877929688, "stability/response_length_std": 282.005126953125, "stability/response_length_var": 79526.8984375, "stability/token_entropy_mean": 6.559374809265137, "stability/repetition_rate_mean": 0.8699707984924316}
|
| 13 |
+
{"current_steps": 65, "total_steps": 196, "loss": 0.6908, "accuracy": 0.5625000596046448, "lr": 6.4e-07, "epoch": 0.3326935380678183, "percentage": 33.16, "elapsed_time": "0:23:56", "remaining_time": "0:48:14", "rewards/chosen": 0.012991372495889664, "rewards/rejected": 0.007922019809484482, "rewards/accuracies": 0.5625000596046448, "rewards/margins": 0.00506935128942132, "logps/chosen": -377.4696960449219, "logps/rejected": -204.3833465576172, "logits/chosen": -2.2521181106567383, "logits/rejected": -2.098989963531494, "stability/response_length_mean": 306.3999938964844, "stability/response_length_std": 141.7236785888672, "stability/response_length_var": 20085.599609375, "stability/token_entropy_mean": 6.840624809265137, "stability/repetition_rate_mean": 0.9148252606391907}
|
| 14 |
+
{"current_steps": 70, "total_steps": 196, "loss": 0.6888, "accuracy": 0.5777344107627869, "lr": 6.9e-07, "epoch": 0.3582853486884197, "percentage": 35.71, "elapsed_time": "0:25:46", "remaining_time": "0:46:24", "rewards/chosen": 0.017473159357905388, "rewards/rejected": 0.008267344906926155, "rewards/accuracies": 0.5777344107627869, "rewards/margins": 0.009205814450979233, "logps/chosen": -393.73406982421875, "logps/rejected": -206.1870574951172, "logits/chosen": -2.2713451385498047, "logits/rejected": -2.106651782989502, "stability/response_length_mean": 472.70001220703125, "stability/response_length_std": 159.89791870117188, "stability/response_length_var": 25567.34375, "stability/token_entropy_mean": 7.162499904632568, "stability/repetition_rate_mean": 0.9625760316848755}
|
| 15 |
+
{"current_steps": 75, "total_steps": 196, "loss": 0.689, "accuracy": 0.577343761920929, "lr": 7.4e-07, "epoch": 0.3838771593090211, "percentage": 38.27, "elapsed_time": "0:27:37", "remaining_time": "0:44:33", "rewards/chosen": 0.018993159756064415, "rewards/rejected": 0.010194134898483753, "rewards/accuracies": 0.577343761920929, "rewards/margins": 0.008799022994935513, "logps/chosen": -381.0571594238281, "logps/rejected": -207.9349365234375, "logits/chosen": -2.275454521179199, "logits/rejected": -2.116396903991699, "stability/response_length_mean": 527.0, "stability/response_length_std": 293.7500915527344, "stability/response_length_var": 86289.109375, "stability/token_entropy_mean": 6.139062404632568, "stability/repetition_rate_mean": 0.9068478345870972}
|
| 16 |
+
{"current_steps": 80, "total_steps": 196, "loss": 0.6886, "accuracy": 0.5726562738418579, "lr": 7.9e-07, "epoch": 0.4094689699296225, "percentage": 40.82, "elapsed_time": "0:29:28", "remaining_time": "0:42:43", "rewards/chosen": 0.021377386525273323, "rewards/rejected": 0.011784089729189873, "rewards/accuracies": 0.5726562738418579, "rewards/margins": 0.009593295864760876, "logps/chosen": -382.4193420410156, "logps/rejected": -208.97756958007812, "logits/chosen": -2.2604687213897705, "logits/rejected": -2.1025872230529785, "stability/response_length_mean": 635.5, "stability/response_length_std": 262.53900146484375, "stability/response_length_var": 68926.71875, "stability/token_entropy_mean": 7.199999809265137, "stability/repetition_rate_mean": 0.9464001655578613}
|
| 17 |
+
{"current_steps": 85, "total_steps": 196, "loss": 0.6875, "accuracy": 0.5863280892372131, "lr": 8.399999999999999e-07, "epoch": 0.4350607805502239, "percentage": 43.37, "elapsed_time": "0:31:19", "remaining_time": "0:40:54", "rewards/chosen": 0.026788339018821716, "rewards/rejected": 0.014684918336570263, "rewards/accuracies": 0.5863280892372131, "rewards/margins": 0.012103421613574028, "logps/chosen": -387.3235778808594, "logps/rejected": -208.6320343017578, "logits/chosen": -2.258051872253418, "logits/rejected": -2.100944757461548, "stability/response_length_mean": 600.0999755859375, "stability/response_length_std": 349.2030334472656, "stability/response_length_var": 121942.765625, "stability/token_entropy_mean": 6.737500190734863, "stability/repetition_rate_mean": 0.9034587144851685}
|
| 18 |
+
{"current_steps": 90, "total_steps": 196, "loss": 0.6859, "accuracy": 0.608593761920929, "lr": 8.9e-07, "epoch": 0.46065259117082535, "percentage": 45.92, "elapsed_time": "0:33:10", "remaining_time": "0:39:04", "rewards/chosen": 0.032174669206142426, "rewards/rejected": 0.01697630062699318, "rewards/accuracies": 0.608593761920929, "rewards/margins": 0.015198366716504097, "logps/chosen": -375.204345703125, "logps/rejected": -206.2209930419922, "logits/chosen": -2.261427164077759, "logits/rejected": -2.1134793758392334, "stability/response_length_mean": 692.9000244140625, "stability/response_length_std": 127.31452941894531, "stability/response_length_var": 16208.9892578125, "stability/token_entropy_mean": 7.109375, "stability/repetition_rate_mean": 0.9765706062316895}
|
| 19 |
+
{"current_steps": 95, "total_steps": 196, "loss": 0.6838, "accuracy": 0.6300780773162842, "lr": 9.399999999999999e-07, "epoch": 0.48624440179142675, "percentage": 48.47, "elapsed_time": "0:35:01", "remaining_time": "0:37:14", "rewards/chosen": 0.03762410953640938, "rewards/rejected": 0.01792534813284874, "rewards/accuracies": 0.6300780773162842, "rewards/margins": 0.01969875767827034, "logps/chosen": -366.8333740234375, "logps/rejected": -203.4322967529297, "logits/chosen": -2.2588284015655518, "logits/rejected": -2.112243175506592, "stability/response_length_mean": 727.0, "stability/response_length_std": 335.0764465332031, "stability/response_length_var": 112276.21875, "stability/token_entropy_mean": 7.3125, "stability/repetition_rate_mean": 0.9483324289321899}
|
| 20 |
+
{"current_steps": 100, "total_steps": 196, "loss": 0.6821, "accuracy": 0.6527343988418579, "lr": 9.9e-07, "epoch": 0.5118362124120281, "percentage": 51.02, "elapsed_time": "0:36:52", "remaining_time": "0:35:24", "rewards/chosen": 0.045418523252010345, "rewards/rejected": 0.0220339372754097, "rewards/accuracies": 0.6527343988418579, "rewards/margins": 0.02338458225131035, "logps/chosen": -384.503662109375, "logps/rejected": -210.62109375, "logits/chosen": -2.27445387840271, "logits/rejected": -2.11898136138916, "stability/response_length_mean": 419.0, "stability/response_length_std": 232.0225067138672, "stability/response_length_var": 53834.4453125, "stability/token_entropy_mean": 7.074999809265137, "stability/repetition_rate_mean": 0.9498335123062134}
|
| 21 |
+
{"current_steps": 105, "total_steps": 196, "loss": 0.6811, "accuracy": 0.626953125, "lr": 9.999815554351224e-07, "epoch": 0.5374280230326296, "percentage": 53.57, "elapsed_time": "0:38:43", "remaining_time": "0:33:34", "rewards/chosen": 0.052092913538217545, "rewards/rejected": 0.02642221562564373, "rewards/accuracies": 0.626953125, "rewards/margins": 0.025670701637864113, "logps/chosen": -378.0056457519531, "logps/rejected": -209.6881103515625, "logits/chosen": -2.258531093597412, "logits/rejected": -2.108144998550415, "stability/response_length_mean": 669.5, "stability/response_length_std": 271.60888671875, "stability/response_length_var": 73771.390625, "stability/token_entropy_mean": 6.564843654632568, "stability/repetition_rate_mean": 0.901488184928894}
|
| 22 |
+
{"current_steps": 110, "total_steps": 196, "loss": 0.6795, "accuracy": 0.6519531607627869, "lr": 9.999066267225444e-07, "epoch": 0.5630198336532309, "percentage": 56.12, "elapsed_time": "0:40:33", "remaining_time": "0:31:42", "rewards/chosen": 0.059595055878162384, "rewards/rejected": 0.03043590858578682, "rewards/accuracies": 0.6519531607627869, "rewards/margins": 0.029159152880311012, "logps/chosen": -385.2655029296875, "logps/rejected": -206.72357177734375, "logits/chosen": -2.2750279903411865, "logits/rejected": -2.117339611053467, "stability/response_length_mean": 255.60000610351562, "stability/response_length_std": 114.30874633789062, "stability/response_length_var": 13066.4892578125, "stability/token_entropy_mean": 7.015625, "stability/repetition_rate_mean": 0.9347068071365356}
|
| 23 |
+
{"current_steps": 115, "total_steps": 196, "loss": 0.6763, "accuracy": 0.6519531607627869, "lr": 9.997740697079592e-07, "epoch": 0.5886116442738324, "percentage": 58.67, "elapsed_time": "0:42:24", "remaining_time": "0:29:52", "rewards/chosen": 0.07092021405696869, "rewards/rejected": 0.034616947174072266, "rewards/accuracies": 0.6519531607627869, "rewards/margins": 0.036303263157606125, "logps/chosen": -372.7311096191406, "logps/rejected": -213.94320678710938, "logits/chosen": -2.251587390899658, "logits/rejected": -2.110828399658203, "stability/response_length_mean": 499.29998779296875, "stability/response_length_std": 282.31072998046875, "stability/response_length_var": 79699.34375, "stability/token_entropy_mean": 6.553124904632568, "stability/repetition_rate_mean": 0.8279488682746887}
|
| 24 |
+
{"current_steps": 120, "total_steps": 196, "loss": 0.6733, "accuracy": 0.6703125238418579, "lr": 9.995838996722914e-07, "epoch": 0.6142034548944337, "percentage": 61.22, "elapsed_time": "0:44:14", "remaining_time": "0:28:00", "rewards/chosen": 0.08155383914709091, "rewards/rejected": 0.03867081552743912, "rewards/accuracies": 0.6703125238418579, "rewards/margins": 0.04288302734494209, "logps/chosen": -367.7881164550781, "logps/rejected": -207.59573364257812, "logits/chosen": -2.2482666969299316, "logits/rejected": -2.102483034133911, "stability/response_length_mean": 363.6000061035156, "stability/response_length_std": 146.0701446533203, "stability/response_length_var": 21336.48828125, "stability/token_entropy_mean": 6.8125, "stability/repetition_rate_mean": 0.9149526357650757}
|
| 25 |
+
{"current_steps": 125, "total_steps": 196, "loss": 0.6707, "accuracy": 0.6781249642372131, "lr": 9.993361385379874e-07, "epoch": 0.6397952655150352, "percentage": 63.78, "elapsed_time": "0:46:03", "remaining_time": "0:26:09", "rewards/chosen": 0.09179403632879257, "rewards/rejected": 0.04230235144495964, "rewards/accuracies": 0.6781249642372131, "rewards/margins": 0.04949168488383293, "logps/chosen": -385.7173767089844, "logps/rejected": -205.1151123046875, "logits/chosen": -2.253580093383789, "logits/rejected": -2.0954601764678955, "stability/response_length_mean": 433.79998779296875, "stability/response_length_std": 126.92412567138672, "stability/response_length_var": 16109.7333984375, "stability/token_entropy_mean": 6.532812595367432, "stability/repetition_rate_mean": 0.8946477770805359}
|
| 26 |
+
{"current_steps": 130, "total_steps": 196, "loss": 0.6672, "accuracy": 0.682421863079071, "lr": 9.99030814866488e-07, "epoch": 0.6653870761356366, "percentage": 66.33, "elapsed_time": "0:47:53", "remaining_time": "0:24:18", "rewards/chosen": 0.09893052279949188, "rewards/rejected": 0.041869960725307465, "rewards/accuracies": 0.682421863079071, "rewards/margins": 0.057060565799474716, "logps/chosen": -375.60565185546875, "logps/rejected": -203.76229858398438, "logits/chosen": -2.2453463077545166, "logits/rejected": -2.096496105194092, "stability/response_length_mean": 296.1000061035156, "stability/response_length_std": 167.77593994140625, "stability/response_length_var": 28148.767578125, "stability/token_entropy_mean": 6.018750190734863, "stability/repetition_rate_mean": 0.8153165578842163}
|
| 27 |
+
{"current_steps": 135, "total_steps": 196, "loss": 0.6645, "accuracy": 0.676953136920929, "lr": 9.986679638549358e-07, "epoch": 0.690978886756238, "percentage": 68.88, "elapsed_time": "0:49:44", "remaining_time": "0:22:28", "rewards/chosen": 0.11148682981729507, "rewards/rejected": 0.048146218061447144, "rewards/accuracies": 0.676953136920929, "rewards/margins": 0.06334061175584793, "logps/chosen": -387.3724060058594, "logps/rejected": -213.73989868164062, "logits/chosen": -2.2670061588287354, "logits/rejected": -2.1075525283813477, "stability/response_length_mean": 596.4000244140625, "stability/response_length_std": 291.9129333496094, "stability/response_length_var": 85213.15625, "stability/token_entropy_mean": 6.510937690734863, "stability/repetition_rate_mean": 0.8604398965835571}
|
| 28 |
+
{"current_steps": 140, "total_steps": 196, "loss": 0.6611, "accuracy": 0.6976562738418579, "lr": 9.982476273321175e-07, "epoch": 0.7165706973768394, "percentage": 71.43, "elapsed_time": "0:51:34", "remaining_time": "0:20:37", "rewards/chosen": 0.11906532198190689, "rewards/rejected": 0.04702730476856232, "rewards/accuracies": 0.6976562738418579, "rewards/margins": 0.07203800976276398, "logps/chosen": -389.03497314453125, "logps/rejected": -211.17449951171875, "logits/chosen": -2.25555157661438, "logits/rejected": -2.100205898284912, "stability/response_length_mean": 173.89999389648438, "stability/response_length_std": 70.74908447265625, "stability/response_length_var": 5005.43310546875, "stability/token_entropy_mean": 6.612500190734863, "stability/repetition_rate_mean": 0.8607560396194458}
|
| 29 |
+
{"current_steps": 145, "total_steps": 196, "loss": 0.6589, "accuracy": 0.678906261920929, "lr": 9.977698537536417e-07, "epoch": 0.7421625079974408, "percentage": 73.98, "elapsed_time": "0:53:25", "remaining_time": "0:18:47", "rewards/chosen": 0.13202722370624542, "rewards/rejected": 0.054624345153570175, "rewards/accuracies": 0.678906261920929, "rewards/margins": 0.07740288227796555, "logps/chosen": -387.792724609375, "logps/rejected": -203.63430786132812, "logits/chosen": -2.2664294242858887, "logits/rejected": -2.0990548133850098, "stability/response_length_mean": 720.2000122070312, "stability/response_length_std": 284.2842102050781, "stability/response_length_var": 80817.5078125, "stability/token_entropy_mean": 7.106249809265137, "stability/repetition_rate_mean": 0.9638816714286804}
|
| 30 |
+
{"current_steps": 150, "total_steps": 196, "loss": 0.6568, "accuracy": 0.6703124642372131, "lr": 9.972346981963546e-07, "epoch": 0.7677543186180422, "percentage": 76.53, "elapsed_time": "0:55:17", "remaining_time": "0:16:57", "rewards/chosen": 0.14155012369155884, "rewards/rejected": 0.05550474300980568, "rewards/accuracies": 0.6703124642372131, "rewards/margins": 0.08604539185762405, "logps/chosen": -373.849853515625, "logps/rejected": -211.25674438476562, "logits/chosen": -2.2344398498535156, "logits/rejected": -2.0921382904052734, "stability/response_length_mean": 654.2000122070312, "stability/response_length_std": 372.5482177734375, "stability/response_length_var": 138792.171875, "stability/token_entropy_mean": 6.5859375, "stability/repetition_rate_mean": 0.8590916395187378}
|
| 31 |
+
{"current_steps": 155, "total_steps": 196, "loss": 0.6528, "accuracy": 0.682421863079071, "lr": 9.966422223519885e-07, "epoch": 0.7933461292386437, "percentage": 79.08, "elapsed_time": "0:57:08", "remaining_time": "0:15:06", "rewards/chosen": 0.1565590798854828, "rewards/rejected": 0.06363321840763092, "rewards/accuracies": 0.682421863079071, "rewards/margins": 0.09292585402727127, "logps/chosen": -377.39886474609375, "logps/rejected": -206.43038940429688, "logits/chosen": -2.259735107421875, "logits/rejected": -2.108813762664795, "stability/response_length_mean": 502.3999938964844, "stability/response_length_std": 200.0795440673828, "stability/response_length_var": 40031.8203125, "stability/token_entropy_mean": 6.557812690734863, "stability/repetition_rate_mean": 0.8765794038772583}
|
| 32 |
+
{"current_steps": 160, "total_steps": 196, "loss": 0.6491, "accuracy": 0.6898438334465027, "lr": 9.959924945200523e-07, "epoch": 0.818937939859245, "percentage": 81.63, "elapsed_time": "0:58:59", "remaining_time": "0:13:16", "rewards/chosen": 0.16489063203334808, "rewards/rejected": 0.06012001633644104, "rewards/accuracies": 0.6898438334465027, "rewards/margins": 0.10477059334516525, "logps/chosen": -383.5099182128906, "logps/rejected": -207.28614807128906, "logits/chosen": -2.2527999877929688, "logits/rejected": -2.086219549179077, "stability/response_length_mean": 870.4000244140625, "stability/response_length_std": 147.6581573486328, "stability/response_length_var": 21802.93359375, "stability/token_entropy_mean": 7.243750095367432, "stability/repetition_rate_mean": 0.9663667678833008}
|
| 33 |
+
{"current_steps": 165, "total_steps": 196, "loss": 0.6477, "accuracy": 0.684374988079071, "lr": 9.952855895999568e-07, "epoch": 0.8445297504798465, "percentage": 84.18, "elapsed_time": "1:00:50", "remaining_time": "0:11:25", "rewards/chosen": 0.1636190414428711, "rewards/rejected": 0.05644712969660759, "rewards/accuracies": 0.684374988079071, "rewards/margins": 0.10717189311981201, "logps/chosen": -362.43914794921875, "logps/rejected": -203.66177368164062, "logits/chosen": -2.23742413520813, "logits/rejected": -2.089754104614258, "stability/response_length_mean": 547.7000122070312, "stability/response_length_std": 249.60325622558594, "stability/response_length_var": 62301.7890625, "stability/token_entropy_mean": 6.599999904632568, "stability/repetition_rate_mean": 0.8620624542236328}
|
| 34 |
+
{"current_steps": 170, "total_steps": 196, "loss": 0.6419, "accuracy": 0.705078125, "lr": 9.9452158908238e-07, "epoch": 0.8701215611004478, "percentage": 86.73, "elapsed_time": "1:02:40", "remaining_time": "0:09:35", "rewards/chosen": 0.18040212988853455, "rewards/rejected": 0.057728420943021774, "rewards/accuracies": 0.705078125, "rewards/margins": 0.12267370522022247, "logps/chosen": -376.97039794921875, "logps/rejected": -203.81222534179688, "logits/chosen": -2.2632334232330322, "logits/rejected": -2.097275733947754, "stability/response_length_mean": 385.70001220703125, "stability/response_length_std": 143.96685791015625, "stability/response_length_var": 20726.455078125, "stability/token_entropy_mean": 6.831250190734863, "stability/repetition_rate_mean": 0.9189292192459106}
|
| 35 |
+
{"current_steps": 175, "total_steps": 196, "loss": 0.6396, "accuracy": 0.6957032084465027, "lr": 9.937005810398745e-07, "epoch": 0.8957133717210493, "percentage": 89.29, "elapsed_time": "1:04:30", "remaining_time": "0:07:44", "rewards/chosen": 0.18881921470165253, "rewards/rejected": 0.0565519854426384, "rewards/accuracies": 0.6957032084465027, "rewards/margins": 0.13226722180843353, "logps/chosen": -380.5006408691406, "logps/rejected": -212.2974853515625, "logits/chosen": -2.2485477924346924, "logits/rejected": -2.0931143760681152, "stability/response_length_mean": 460.6000061035156, "stability/response_length_std": 165.9894256591797, "stability/response_length_var": 27552.48828125, "stability/token_entropy_mean": 6.959374904632568, "stability/repetition_rate_mean": 0.9413634538650513}
|
| 36 |
+
{"current_steps": 180, "total_steps": 196, "loss": 0.6377, "accuracy": 0.690234363079071, "lr": 9.928226601167138e-07, "epoch": 0.9213051823416507, "percentage": 91.84, "elapsed_time": "1:06:22", "remaining_time": "0:05:54", "rewards/chosen": 0.20255513489246368, "rewards/rejected": 0.06722089648246765, "rewards/accuracies": 0.690234363079071, "rewards/margins": 0.13533423840999603, "logps/chosen": -387.0555419921875, "logps/rejected": -212.9912109375, "logits/chosen": -2.2474441528320312, "logits/rejected": -2.0858802795410156, "stability/response_length_mean": 716.2000122070312, "stability/response_length_std": 329.3815002441406, "stability/response_length_var": 108492.1796875, "stability/token_entropy_mean": 6.526562690734863, "stability/repetition_rate_mean": 0.8933365941047668}
|
| 37 |
+
{"current_steps": 185, "total_steps": 196, "loss": 0.6365, "accuracy": 0.6898437738418579, "lr": 9.918879275179817e-07, "epoch": 0.946896992962252, "percentage": 94.39, "elapsed_time": "1:08:13", "remaining_time": "0:04:03", "rewards/chosen": 0.21025450527668, "rewards/rejected": 0.06769368052482605, "rewards/accuracies": 0.6898437738418579, "rewards/margins": 0.14256080985069275, "logps/chosen": -374.5240173339844, "logps/rejected": -210.4625244140625, "logits/chosen": -2.249807596206665, "logits/rejected": -2.0986175537109375, "stability/response_length_mean": 486.3999938964844, "stability/response_length_std": 213.8624725341797, "stability/response_length_var": 45737.15625, "stability/token_entropy_mean": 6.559374809265137, "stability/repetition_rate_mean": 0.8755763173103333}
|
| 38 |
+
{"current_steps": 190, "total_steps": 196, "loss": 0.6287, "accuracy": 0.701953113079071, "lr": 9.90896490997906e-07, "epoch": 0.9724888035828535, "percentage": 96.94, "elapsed_time": "1:10:04", "remaining_time": "0:02:12", "rewards/chosen": 0.2152232825756073, "rewards/rejected": 0.053037747740745544, "rewards/accuracies": 0.701953113079071, "rewards/margins": 0.16218551993370056, "logps/chosen": -377.6806640625, "logps/rejected": -206.34112548828125, "logits/chosen": -2.233643054962158, "logits/rejected": -2.0779027938842773, "stability/response_length_mean": 736.7999877929688, "stability/response_length_std": 246.57106018066406, "stability/response_length_var": 60797.2890625, "stability/token_entropy_mean": 6.7109375, "stability/repetition_rate_mean": 0.8903291821479797}
|
| 39 |
+
{"current_steps": 195, "total_steps": 196, "loss": 0.6296, "accuracy": 0.7027343511581421, "lr": 9.898484648474362e-07, "epoch": 0.9980806142034548, "percentage": 99.49, "elapsed_time": "1:11:53", "remaining_time": "0:00:22", "rewards/chosen": 0.2173018455505371, "rewards/rejected": 0.054950814694166183, "rewards/accuracies": 0.7027343511581421, "rewards/margins": 0.16235104203224182, "logps/chosen": -361.8232116699219, "logps/rejected": -208.4629364013672, "logits/chosen": -2.250211477279663, "logits/rejected": -2.096865653991699, "stability/response_length_mean": 356.3999938964844, "stability/response_length_std": 207.94882202148438, "stability/response_length_var": 43242.7109375, "stability/token_entropy_mean": 5.928124904632568, "stability/repetition_rate_mean": 0.7688959836959839}
|
| 40 |
+
{"current_steps": 196, "total_steps": 196, "epoch": 1.0, "percentage": 100.0, "elapsed_time": "1:12:08", "remaining_time": "0:00:00"}
|
mistral7b_dpo_baseline/trainer_state.json
ADDED
|
@@ -0,0 +1,818 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 1.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 196,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.025591810620601407,
|
| 14 |
+
"grad_norm": 1.705037236213684,
|
| 15 |
+
"learning_rate": 4e-08,
|
| 16 |
+
"logits/chosen": -2.273033380508423,
|
| 17 |
+
"logits/rejected": -2.1234283447265625,
|
| 18 |
+
"logps/chosen": -375.063232421875,
|
| 19 |
+
"logps/rejected": -210.8657684326172,
|
| 20 |
+
"loss": 0.6931,
|
| 21 |
+
"rewards/accuracies": 0.3062500059604645,
|
| 22 |
+
"rewards/chosen": 0.0012258010683581233,
|
| 23 |
+
"rewards/margins": 0.0003632208681665361,
|
| 24 |
+
"rewards/rejected": 0.0008625800255686045,
|
| 25 |
+
"step": 5
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"epoch": 0.05118362124120281,
|
| 29 |
+
"grad_norm": 1.766357421875,
|
| 30 |
+
"learning_rate": 9e-08,
|
| 31 |
+
"logits/chosen": -2.2679283618927,
|
| 32 |
+
"logits/rejected": -2.116572141647339,
|
| 33 |
+
"logps/chosen": -382.0296325683594,
|
| 34 |
+
"logps/rejected": -202.4493408203125,
|
| 35 |
+
"loss": 0.6931,
|
| 36 |
+
"rewards/accuracies": 0.5082031488418579,
|
| 37 |
+
"rewards/chosen": 0.0013576988130807877,
|
| 38 |
+
"rewards/margins": 0.0005467134760692716,
|
| 39 |
+
"rewards/rejected": 0.0008109854534268379,
|
| 40 |
+
"stability/repetition_rate_mean": 0.9135147929191589,
|
| 41 |
+
"stability/response_length_mean": 602.7999877929688,
|
| 42 |
+
"stability/response_length_std": 295.1842346191406,
|
| 43 |
+
"stability/response_length_var": 87133.734375,
|
| 44 |
+
"stability/token_entropy_mean": 6.959374904632568,
|
| 45 |
+
"step": 10
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"epoch": 0.07677543186180422,
|
| 49 |
+
"grad_norm": 1.8122901916503906,
|
| 50 |
+
"learning_rate": 1.4e-07,
|
| 51 |
+
"logits/chosen": -2.260676860809326,
|
| 52 |
+
"logits/rejected": -2.0991530418395996,
|
| 53 |
+
"logps/chosen": -389.2082214355469,
|
| 54 |
+
"logps/rejected": -207.0491180419922,
|
| 55 |
+
"loss": 0.6932,
|
| 56 |
+
"rewards/accuracies": 0.5082031488418579,
|
| 57 |
+
"rewards/chosen": 0.0017401383956894279,
|
| 58 |
+
"rewards/margins": 0.00028905909857712686,
|
| 59 |
+
"rewards/rejected": 0.0014510790351778269,
|
| 60 |
+
"stability/repetition_rate_mean": 0.8363126516342163,
|
| 61 |
+
"stability/response_length_mean": 345.70001220703125,
|
| 62 |
+
"stability/response_length_std": 212.67974853515625,
|
| 63 |
+
"stability/response_length_var": 45232.6796875,
|
| 64 |
+
"stability/token_entropy_mean": 6.342187404632568,
|
| 65 |
+
"step": 15
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"epoch": 0.10236724248240563,
|
| 69 |
+
"grad_norm": 1.7545065879821777,
|
| 70 |
+
"learning_rate": 1.8999999999999998e-07,
|
| 71 |
+
"logits/chosen": -2.2613608837127686,
|
| 72 |
+
"logits/rejected": -2.1145310401916504,
|
| 73 |
+
"logps/chosen": -368.71954345703125,
|
| 74 |
+
"logps/rejected": -198.5596160888672,
|
| 75 |
+
"loss": 0.6939,
|
| 76 |
+
"rewards/accuracies": 0.49140626192092896,
|
| 77 |
+
"rewards/chosen": 0.0004601169202942401,
|
| 78 |
+
"rewards/margins": -0.0010562256211414933,
|
| 79 |
+
"rewards/rejected": 0.0015163427451625466,
|
| 80 |
+
"stability/repetition_rate_mean": 0.9317001104354858,
|
| 81 |
+
"stability/response_length_mean": 739.4000244140625,
|
| 82 |
+
"stability/response_length_std": 281.282470703125,
|
| 83 |
+
"stability/response_length_var": 79119.8203125,
|
| 84 |
+
"stability/token_entropy_mean": 6.931250095367432,
|
| 85 |
+
"step": 20
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"epoch": 0.12795905310300704,
|
| 89 |
+
"grad_norm": 1.731654167175293,
|
| 90 |
+
"learning_rate": 2.4e-07,
|
| 91 |
+
"logits/chosen": -2.277377128601074,
|
| 92 |
+
"logits/rejected": -2.125220775604248,
|
| 93 |
+
"logps/chosen": -378.1647033691406,
|
| 94 |
+
"logps/rejected": -205.86363220214844,
|
| 95 |
+
"loss": 0.693,
|
| 96 |
+
"rewards/accuracies": 0.5082031488418579,
|
| 97 |
+
"rewards/chosen": 0.002021136460825801,
|
| 98 |
+
"rewards/margins": 0.0006010310025885701,
|
| 99 |
+
"rewards/rejected": 0.0014201054582372308,
|
| 100 |
+
"stability/repetition_rate_mean": 0.8950179815292358,
|
| 101 |
+
"stability/response_length_mean": 658.5999755859375,
|
| 102 |
+
"stability/response_length_std": 288.0155029296875,
|
| 103 |
+
"stability/response_length_var": 82952.9296875,
|
| 104 |
+
"stability/token_entropy_mean": 6.821875095367432,
|
| 105 |
+
"step": 25
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"epoch": 0.15355086372360843,
|
| 109 |
+
"grad_norm": 1.8716338872909546,
|
| 110 |
+
"learning_rate": 2.9e-07,
|
| 111 |
+
"logits/chosen": -2.2701575756073,
|
| 112 |
+
"logits/rejected": -2.1229705810546875,
|
| 113 |
+
"logps/chosen": -373.9202575683594,
|
| 114 |
+
"logps/rejected": -208.93287658691406,
|
| 115 |
+
"loss": 0.6935,
|
| 116 |
+
"rewards/accuracies": 0.490234375,
|
| 117 |
+
"rewards/chosen": 0.0010083412053063512,
|
| 118 |
+
"rewards/margins": -0.0003178715705871582,
|
| 119 |
+
"rewards/rejected": 0.0013262125430628657,
|
| 120 |
+
"stability/repetition_rate_mean": 0.8135284185409546,
|
| 121 |
+
"stability/response_length_mean": 356.0,
|
| 122 |
+
"stability/response_length_std": 249.6766815185547,
|
| 123 |
+
"stability/response_length_var": 62338.4453125,
|
| 124 |
+
"stability/token_entropy_mean": 6.199999809265137,
|
| 125 |
+
"step": 30
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"epoch": 0.17914267434420986,
|
| 129 |
+
"grad_norm": 1.733734369277954,
|
| 130 |
+
"learning_rate": 3.4000000000000003e-07,
|
| 131 |
+
"logits/chosen": -2.2612318992614746,
|
| 132 |
+
"logits/rejected": -2.120094060897827,
|
| 133 |
+
"logps/chosen": -366.3136901855469,
|
| 134 |
+
"logps/rejected": -203.98719787597656,
|
| 135 |
+
"loss": 0.6928,
|
| 136 |
+
"rewards/accuracies": 0.5265624523162842,
|
| 137 |
+
"rewards/chosen": 0.0032140661496669054,
|
| 138 |
+
"rewards/margins": 0.0011429906589910388,
|
| 139 |
+
"rewards/rejected": 0.0020710753742605448,
|
| 140 |
+
"stability/repetition_rate_mean": 0.9289250373840332,
|
| 141 |
+
"stability/response_length_mean": 606.2000122070312,
|
| 142 |
+
"stability/response_length_std": 394.1366882324219,
|
| 143 |
+
"stability/response_length_var": 155343.734375,
|
| 144 |
+
"stability/token_entropy_mean": 7.112500190734863,
|
| 145 |
+
"step": 35
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"epoch": 0.20473448496481125,
|
| 149 |
+
"grad_norm": 1.8034971952438354,
|
| 150 |
+
"learning_rate": 3.8999999999999997e-07,
|
| 151 |
+
"logits/chosen": -2.2764394283294678,
|
| 152 |
+
"logits/rejected": -2.122685432434082,
|
| 153 |
+
"logps/chosen": -369.1784973144531,
|
| 154 |
+
"logps/rejected": -197.37686157226562,
|
| 155 |
+
"loss": 0.6928,
|
| 156 |
+
"rewards/accuracies": 0.5144531726837158,
|
| 157 |
+
"rewards/chosen": 0.004107568878680468,
|
| 158 |
+
"rewards/margins": 0.0011615146650001407,
|
| 159 |
+
"rewards/rejected": 0.0029460543300956488,
|
| 160 |
+
"stability/repetition_rate_mean": 0.8629743456840515,
|
| 161 |
+
"stability/response_length_mean": 547.2000122070312,
|
| 162 |
+
"stability/response_length_std": 290.8897399902344,
|
| 163 |
+
"stability/response_length_var": 84616.84375,
|
| 164 |
+
"stability/token_entropy_mean": 6.557812690734863,
|
| 165 |
+
"step": 40
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"epoch": 0.23032629558541268,
|
| 169 |
+
"grad_norm": 1.8129643201828003,
|
| 170 |
+
"learning_rate": 4.3999999999999997e-07,
|
| 171 |
+
"logits/chosen": -2.257107734680176,
|
| 172 |
+
"logits/rejected": -2.1072099208831787,
|
| 173 |
+
"logps/chosen": -385.1796569824219,
|
| 174 |
+
"logps/rejected": -212.56887817382812,
|
| 175 |
+
"loss": 0.6933,
|
| 176 |
+
"rewards/accuracies": 0.512890636920929,
|
| 177 |
+
"rewards/chosen": 0.0039331079460680485,
|
| 178 |
+
"rewards/margins": 3.291945904493332e-05,
|
| 179 |
+
"rewards/rejected": 0.003900188487023115,
|
| 180 |
+
"stability/repetition_rate_mean": 0.8764154314994812,
|
| 181 |
+
"stability/response_length_mean": 366.5,
|
| 182 |
+
"stability/response_length_std": 118.86243438720703,
|
| 183 |
+
"stability/response_length_var": 14128.27734375,
|
| 184 |
+
"stability/token_entropy_mean": 6.640625,
|
| 185 |
+
"step": 45
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"epoch": 0.2559181062060141,
|
| 189 |
+
"grad_norm": 1.8471362590789795,
|
| 190 |
+
"learning_rate": 4.9e-07,
|
| 191 |
+
"logits/chosen": -2.264720916748047,
|
| 192 |
+
"logits/rejected": -2.109816312789917,
|
| 193 |
+
"logps/chosen": -378.2891540527344,
|
| 194 |
+
"logps/rejected": -207.4978790283203,
|
| 195 |
+
"loss": 0.6916,
|
| 196 |
+
"rewards/accuracies": 0.5316406488418579,
|
| 197 |
+
"rewards/chosen": 0.0068646748550236225,
|
| 198 |
+
"rewards/margins": 0.0035711233504116535,
|
| 199 |
+
"rewards/rejected": 0.003293551504611969,
|
| 200 |
+
"stability/repetition_rate_mean": 0.8785834312438965,
|
| 201 |
+
"stability/response_length_mean": 384.1000061035156,
|
| 202 |
+
"stability/response_length_std": 178.4809112548828,
|
| 203 |
+
"stability/response_length_var": 31855.43359375,
|
| 204 |
+
"stability/token_entropy_mean": 6.543749809265137,
|
| 205 |
+
"step": 50
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"epoch": 0.28150991682661547,
|
| 209 |
+
"grad_norm": 1.940763235092163,
|
| 210 |
+
"learning_rate": 5.4e-07,
|
| 211 |
+
"logits/chosen": -2.2527079582214355,
|
| 212 |
+
"logits/rejected": -2.094048261642456,
|
| 213 |
+
"logps/chosen": -393.7845764160156,
|
| 214 |
+
"logps/rejected": -210.35861206054688,
|
| 215 |
+
"loss": 0.6911,
|
| 216 |
+
"rewards/accuracies": 0.536328136920929,
|
| 217 |
+
"rewards/chosen": 0.009546511806547642,
|
| 218 |
+
"rewards/margins": 0.004484717734158039,
|
| 219 |
+
"rewards/rejected": 0.005061793606728315,
|
| 220 |
+
"stability/repetition_rate_mean": 0.9481571912765503,
|
| 221 |
+
"stability/response_length_mean": 332.8999938964844,
|
| 222 |
+
"stability/response_length_std": 137.39193725585938,
|
| 223 |
+
"stability/response_length_var": 18876.544921875,
|
| 224 |
+
"stability/token_entropy_mean": 7.009375095367432,
|
| 225 |
+
"step": 55
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"epoch": 0.30710172744721687,
|
| 229 |
+
"grad_norm": 1.8226360082626343,
|
| 230 |
+
"learning_rate": 5.9e-07,
|
| 231 |
+
"logits/chosen": -2.272801160812378,
|
| 232 |
+
"logits/rejected": -2.111156463623047,
|
| 233 |
+
"logps/chosen": -387.7115173339844,
|
| 234 |
+
"logps/rejected": -206.819580078125,
|
| 235 |
+
"loss": 0.6915,
|
| 236 |
+
"rewards/accuracies": 0.5328124761581421,
|
| 237 |
+
"rewards/chosen": 0.009509808383882046,
|
| 238 |
+
"rewards/margins": 0.00375912943854928,
|
| 239 |
+
"rewards/rejected": 0.005750678479671478,
|
| 240 |
+
"stability/repetition_rate_mean": 0.8699707984924316,
|
| 241 |
+
"stability/response_length_mean": 655.2999877929688,
|
| 242 |
+
"stability/response_length_std": 282.005126953125,
|
| 243 |
+
"stability/response_length_var": 79526.8984375,
|
| 244 |
+
"stability/token_entropy_mean": 6.559374809265137,
|
| 245 |
+
"step": 60
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"epoch": 0.3326935380678183,
|
| 249 |
+
"grad_norm": 1.6994986534118652,
|
| 250 |
+
"learning_rate": 6.4e-07,
|
| 251 |
+
"logits/chosen": -2.2521181106567383,
|
| 252 |
+
"logits/rejected": -2.098989963531494,
|
| 253 |
+
"logps/chosen": -377.4696960449219,
|
| 254 |
+
"logps/rejected": -204.3833465576172,
|
| 255 |
+
"loss": 0.6908,
|
| 256 |
+
"rewards/accuracies": 0.5625000596046448,
|
| 257 |
+
"rewards/chosen": 0.012991372495889664,
|
| 258 |
+
"rewards/margins": 0.00506935128942132,
|
| 259 |
+
"rewards/rejected": 0.007922019809484482,
|
| 260 |
+
"stability/repetition_rate_mean": 0.9148252606391907,
|
| 261 |
+
"stability/response_length_mean": 306.3999938964844,
|
| 262 |
+
"stability/response_length_std": 141.7236785888672,
|
| 263 |
+
"stability/response_length_var": 20085.599609375,
|
| 264 |
+
"stability/token_entropy_mean": 6.840624809265137,
|
| 265 |
+
"step": 65
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"epoch": 0.3582853486884197,
|
| 269 |
+
"grad_norm": 2.000992774963379,
|
| 270 |
+
"learning_rate": 6.9e-07,
|
| 271 |
+
"logits/chosen": -2.2713451385498047,
|
| 272 |
+
"logits/rejected": -2.106651782989502,
|
| 273 |
+
"logps/chosen": -393.73406982421875,
|
| 274 |
+
"logps/rejected": -206.1870574951172,
|
| 275 |
+
"loss": 0.6888,
|
| 276 |
+
"rewards/accuracies": 0.5777344107627869,
|
| 277 |
+
"rewards/chosen": 0.017473159357905388,
|
| 278 |
+
"rewards/margins": 0.009205814450979233,
|
| 279 |
+
"rewards/rejected": 0.008267344906926155,
|
| 280 |
+
"stability/repetition_rate_mean": 0.9625760316848755,
|
| 281 |
+
"stability/response_length_mean": 472.70001220703125,
|
| 282 |
+
"stability/response_length_std": 159.89791870117188,
|
| 283 |
+
"stability/response_length_var": 25567.34375,
|
| 284 |
+
"stability/token_entropy_mean": 7.162499904632568,
|
| 285 |
+
"step": 70
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"epoch": 0.3838771593090211,
|
| 289 |
+
"grad_norm": 1.8905284404754639,
|
| 290 |
+
"learning_rate": 7.4e-07,
|
| 291 |
+
"logits/chosen": -2.275454521179199,
|
| 292 |
+
"logits/rejected": -2.116396903991699,
|
| 293 |
+
"logps/chosen": -381.0571594238281,
|
| 294 |
+
"logps/rejected": -207.9349365234375,
|
| 295 |
+
"loss": 0.689,
|
| 296 |
+
"rewards/accuracies": 0.577343761920929,
|
| 297 |
+
"rewards/chosen": 0.018993159756064415,
|
| 298 |
+
"rewards/margins": 0.008799022994935513,
|
| 299 |
+
"rewards/rejected": 0.010194134898483753,
|
| 300 |
+
"stability/repetition_rate_mean": 0.9068478345870972,
|
| 301 |
+
"stability/response_length_mean": 527.0,
|
| 302 |
+
"stability/response_length_std": 293.7500915527344,
|
| 303 |
+
"stability/response_length_var": 86289.109375,
|
| 304 |
+
"stability/token_entropy_mean": 6.139062404632568,
|
| 305 |
+
"step": 75
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"epoch": 0.4094689699296225,
|
| 309 |
+
"grad_norm": 1.8269047737121582,
|
| 310 |
+
"learning_rate": 7.9e-07,
|
| 311 |
+
"logits/chosen": -2.2604687213897705,
|
| 312 |
+
"logits/rejected": -2.1025872230529785,
|
| 313 |
+
"logps/chosen": -382.4193420410156,
|
| 314 |
+
"logps/rejected": -208.97756958007812,
|
| 315 |
+
"loss": 0.6886,
|
| 316 |
+
"rewards/accuracies": 0.5726562738418579,
|
| 317 |
+
"rewards/chosen": 0.021377386525273323,
|
| 318 |
+
"rewards/margins": 0.009593295864760876,
|
| 319 |
+
"rewards/rejected": 0.011784089729189873,
|
| 320 |
+
"stability/repetition_rate_mean": 0.9464001655578613,
|
| 321 |
+
"stability/response_length_mean": 635.5,
|
| 322 |
+
"stability/response_length_std": 262.53900146484375,
|
| 323 |
+
"stability/response_length_var": 68926.71875,
|
| 324 |
+
"stability/token_entropy_mean": 7.199999809265137,
|
| 325 |
+
"step": 80
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"epoch": 0.4350607805502239,
|
| 329 |
+
"grad_norm": 1.8734734058380127,
|
| 330 |
+
"learning_rate": 8.399999999999999e-07,
|
| 331 |
+
"logits/chosen": -2.258051872253418,
|
| 332 |
+
"logits/rejected": -2.100944757461548,
|
| 333 |
+
"logps/chosen": -387.3235778808594,
|
| 334 |
+
"logps/rejected": -208.6320343017578,
|
| 335 |
+
"loss": 0.6875,
|
| 336 |
+
"rewards/accuracies": 0.5863280892372131,
|
| 337 |
+
"rewards/chosen": 0.026788339018821716,
|
| 338 |
+
"rewards/margins": 0.012103421613574028,
|
| 339 |
+
"rewards/rejected": 0.014684918336570263,
|
| 340 |
+
"stability/repetition_rate_mean": 0.9034587144851685,
|
| 341 |
+
"stability/response_length_mean": 600.0999755859375,
|
| 342 |
+
"stability/response_length_std": 349.2030334472656,
|
| 343 |
+
"stability/response_length_var": 121942.765625,
|
| 344 |
+
"stability/token_entropy_mean": 6.737500190734863,
|
| 345 |
+
"step": 85
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"epoch": 0.46065259117082535,
|
| 349 |
+
"grad_norm": 1.8927897214889526,
|
| 350 |
+
"learning_rate": 8.9e-07,
|
| 351 |
+
"logits/chosen": -2.261427164077759,
|
| 352 |
+
"logits/rejected": -2.1134793758392334,
|
| 353 |
+
"logps/chosen": -375.204345703125,
|
| 354 |
+
"logps/rejected": -206.2209930419922,
|
| 355 |
+
"loss": 0.6859,
|
| 356 |
+
"rewards/accuracies": 0.608593761920929,
|
| 357 |
+
"rewards/chosen": 0.032174669206142426,
|
| 358 |
+
"rewards/margins": 0.015198366716504097,
|
| 359 |
+
"rewards/rejected": 0.01697630062699318,
|
| 360 |
+
"stability/repetition_rate_mean": 0.9765706062316895,
|
| 361 |
+
"stability/response_length_mean": 692.9000244140625,
|
| 362 |
+
"stability/response_length_std": 127.31452941894531,
|
| 363 |
+
"stability/response_length_var": 16208.9892578125,
|
| 364 |
+
"stability/token_entropy_mean": 7.109375,
|
| 365 |
+
"step": 90
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"epoch": 0.48624440179142675,
|
| 369 |
+
"grad_norm": 1.8181637525558472,
|
| 370 |
+
"learning_rate": 9.399999999999999e-07,
|
| 371 |
+
"logits/chosen": -2.2588284015655518,
|
| 372 |
+
"logits/rejected": -2.112243175506592,
|
| 373 |
+
"logps/chosen": -366.8333740234375,
|
| 374 |
+
"logps/rejected": -203.4322967529297,
|
| 375 |
+
"loss": 0.6838,
|
| 376 |
+
"rewards/accuracies": 0.6300780773162842,
|
| 377 |
+
"rewards/chosen": 0.03762410953640938,
|
| 378 |
+
"rewards/margins": 0.01969875767827034,
|
| 379 |
+
"rewards/rejected": 0.01792534813284874,
|
| 380 |
+
"stability/repetition_rate_mean": 0.9483324289321899,
|
| 381 |
+
"stability/response_length_mean": 727.0,
|
| 382 |
+
"stability/response_length_std": 335.0764465332031,
|
| 383 |
+
"stability/response_length_var": 112276.21875,
|
| 384 |
+
"stability/token_entropy_mean": 7.3125,
|
| 385 |
+
"step": 95
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"epoch": 0.5118362124120281,
|
| 389 |
+
"grad_norm": 1.8130452632904053,
|
| 390 |
+
"learning_rate": 9.9e-07,
|
| 391 |
+
"logits/chosen": -2.27445387840271,
|
| 392 |
+
"logits/rejected": -2.11898136138916,
|
| 393 |
+
"logps/chosen": -384.503662109375,
|
| 394 |
+
"logps/rejected": -210.62109375,
|
| 395 |
+
"loss": 0.6821,
|
| 396 |
+
"rewards/accuracies": 0.6527343988418579,
|
| 397 |
+
"rewards/chosen": 0.045418523252010345,
|
| 398 |
+
"rewards/margins": 0.02338458225131035,
|
| 399 |
+
"rewards/rejected": 0.0220339372754097,
|
| 400 |
+
"stability/repetition_rate_mean": 0.9498335123062134,
|
| 401 |
+
"stability/response_length_mean": 419.0,
|
| 402 |
+
"stability/response_length_std": 232.0225067138672,
|
| 403 |
+
"stability/response_length_var": 53834.4453125,
|
| 404 |
+
"stability/token_entropy_mean": 7.074999809265137,
|
| 405 |
+
"step": 100
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"epoch": 0.5374280230326296,
|
| 409 |
+
"grad_norm": 1.743505597114563,
|
| 410 |
+
"learning_rate": 9.999815554351224e-07,
|
| 411 |
+
"logits/chosen": -2.258531093597412,
|
| 412 |
+
"logits/rejected": -2.108144998550415,
|
| 413 |
+
"logps/chosen": -378.0056457519531,
|
| 414 |
+
"logps/rejected": -209.6881103515625,
|
| 415 |
+
"loss": 0.6811,
|
| 416 |
+
"rewards/accuracies": 0.626953125,
|
| 417 |
+
"rewards/chosen": 0.052092913538217545,
|
| 418 |
+
"rewards/margins": 0.025670701637864113,
|
| 419 |
+
"rewards/rejected": 0.02642221562564373,
|
| 420 |
+
"stability/repetition_rate_mean": 0.901488184928894,
|
| 421 |
+
"stability/response_length_mean": 669.5,
|
| 422 |
+
"stability/response_length_std": 271.60888671875,
|
| 423 |
+
"stability/response_length_var": 73771.390625,
|
| 424 |
+
"stability/token_entropy_mean": 6.564843654632568,
|
| 425 |
+
"step": 105
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"epoch": 0.5630198336532309,
|
| 429 |
+
"grad_norm": 1.6861857175827026,
|
| 430 |
+
"learning_rate": 9.999066267225444e-07,
|
| 431 |
+
"logits/chosen": -2.2750279903411865,
|
| 432 |
+
"logits/rejected": -2.117339611053467,
|
| 433 |
+
"logps/chosen": -385.2655029296875,
|
| 434 |
+
"logps/rejected": -206.72357177734375,
|
| 435 |
+
"loss": 0.6795,
|
| 436 |
+
"rewards/accuracies": 0.6519531607627869,
|
| 437 |
+
"rewards/chosen": 0.059595055878162384,
|
| 438 |
+
"rewards/margins": 0.029159152880311012,
|
| 439 |
+
"rewards/rejected": 0.03043590858578682,
|
| 440 |
+
"stability/repetition_rate_mean": 0.9347068071365356,
|
| 441 |
+
"stability/response_length_mean": 255.60000610351562,
|
| 442 |
+
"stability/response_length_std": 114.30874633789062,
|
| 443 |
+
"stability/response_length_var": 13066.4892578125,
|
| 444 |
+
"stability/token_entropy_mean": 7.015625,
|
| 445 |
+
"step": 110
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"epoch": 0.5886116442738324,
|
| 449 |
+
"grad_norm": 1.7960835695266724,
|
| 450 |
+
"learning_rate": 9.997740697079592e-07,
|
| 451 |
+
"logits/chosen": -2.251587390899658,
|
| 452 |
+
"logits/rejected": -2.110828399658203,
|
| 453 |
+
"logps/chosen": -372.7311096191406,
|
| 454 |
+
"logps/rejected": -213.94320678710938,
|
| 455 |
+
"loss": 0.6763,
|
| 456 |
+
"rewards/accuracies": 0.6519531607627869,
|
| 457 |
+
"rewards/chosen": 0.07092021405696869,
|
| 458 |
+
"rewards/margins": 0.036303263157606125,
|
| 459 |
+
"rewards/rejected": 0.034616947174072266,
|
| 460 |
+
"stability/repetition_rate_mean": 0.8279488682746887,
|
| 461 |
+
"stability/response_length_mean": 499.29998779296875,
|
| 462 |
+
"stability/response_length_std": 282.31072998046875,
|
| 463 |
+
"stability/response_length_var": 79699.34375,
|
| 464 |
+
"stability/token_entropy_mean": 6.553124904632568,
|
| 465 |
+
"step": 115
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"epoch": 0.6142034548944337,
|
| 469 |
+
"grad_norm": 1.773605227470398,
|
| 470 |
+
"learning_rate": 9.995838996722914e-07,
|
| 471 |
+
"logits/chosen": -2.2482666969299316,
|
| 472 |
+
"logits/rejected": -2.102483034133911,
|
| 473 |
+
"logps/chosen": -367.7881164550781,
|
| 474 |
+
"logps/rejected": -207.59573364257812,
|
| 475 |
+
"loss": 0.6733,
|
| 476 |
+
"rewards/accuracies": 0.6703125238418579,
|
| 477 |
+
"rewards/chosen": 0.08155383914709091,
|
| 478 |
+
"rewards/margins": 0.04288302734494209,
|
| 479 |
+
"rewards/rejected": 0.03867081552743912,
|
| 480 |
+
"stability/repetition_rate_mean": 0.9149526357650757,
|
| 481 |
+
"stability/response_length_mean": 363.6000061035156,
|
| 482 |
+
"stability/response_length_std": 146.0701446533203,
|
| 483 |
+
"stability/response_length_var": 21336.48828125,
|
| 484 |
+
"stability/token_entropy_mean": 6.8125,
|
| 485 |
+
"step": 120
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"epoch": 0.6397952655150352,
|
| 489 |
+
"grad_norm": 1.7966293096542358,
|
| 490 |
+
"learning_rate": 9.993361385379874e-07,
|
| 491 |
+
"logits/chosen": -2.253580093383789,
|
| 492 |
+
"logits/rejected": -2.0954601764678955,
|
| 493 |
+
"logps/chosen": -385.7173767089844,
|
| 494 |
+
"logps/rejected": -205.1151123046875,
|
| 495 |
+
"loss": 0.6707,
|
| 496 |
+
"rewards/accuracies": 0.6781249642372131,
|
| 497 |
+
"rewards/chosen": 0.09179403632879257,
|
| 498 |
+
"rewards/margins": 0.04949168488383293,
|
| 499 |
+
"rewards/rejected": 0.04230235144495964,
|
| 500 |
+
"stability/repetition_rate_mean": 0.8946477770805359,
|
| 501 |
+
"stability/response_length_mean": 433.79998779296875,
|
| 502 |
+
"stability/response_length_std": 126.92412567138672,
|
| 503 |
+
"stability/response_length_var": 16109.7333984375,
|
| 504 |
+
"stability/token_entropy_mean": 6.532812595367432,
|
| 505 |
+
"step": 125
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"epoch": 0.6653870761356366,
|
| 509 |
+
"grad_norm": 1.873657464981079,
|
| 510 |
+
"learning_rate": 9.99030814866488e-07,
|
| 511 |
+
"logits/chosen": -2.2453463077545166,
|
| 512 |
+
"logits/rejected": -2.096496105194092,
|
| 513 |
+
"logps/chosen": -375.60565185546875,
|
| 514 |
+
"logps/rejected": -203.76229858398438,
|
| 515 |
+
"loss": 0.6672,
|
| 516 |
+
"rewards/accuracies": 0.682421863079071,
|
| 517 |
+
"rewards/chosen": 0.09893052279949188,
|
| 518 |
+
"rewards/margins": 0.057060565799474716,
|
| 519 |
+
"rewards/rejected": 0.041869960725307465,
|
| 520 |
+
"stability/repetition_rate_mean": 0.8153165578842163,
|
| 521 |
+
"stability/response_length_mean": 296.1000061035156,
|
| 522 |
+
"stability/response_length_std": 167.77593994140625,
|
| 523 |
+
"stability/response_length_var": 28148.767578125,
|
| 524 |
+
"stability/token_entropy_mean": 6.018750190734863,
|
| 525 |
+
"step": 130
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"epoch": 0.690978886756238,
|
| 529 |
+
"grad_norm": 1.7402511835098267,
|
| 530 |
+
"learning_rate": 9.986679638549358e-07,
|
| 531 |
+
"logits/chosen": -2.2670061588287354,
|
| 532 |
+
"logits/rejected": -2.1075525283813477,
|
| 533 |
+
"logps/chosen": -387.3724060058594,
|
| 534 |
+
"logps/rejected": -213.73989868164062,
|
| 535 |
+
"loss": 0.6645,
|
| 536 |
+
"rewards/accuracies": 0.676953136920929,
|
| 537 |
+
"rewards/chosen": 0.11148682981729507,
|
| 538 |
+
"rewards/margins": 0.06334061175584793,
|
| 539 |
+
"rewards/rejected": 0.048146218061447144,
|
| 540 |
+
"stability/repetition_rate_mean": 0.8604398965835571,
|
| 541 |
+
"stability/response_length_mean": 596.4000244140625,
|
| 542 |
+
"stability/response_length_std": 291.9129333496094,
|
| 543 |
+
"stability/response_length_var": 85213.15625,
|
| 544 |
+
"stability/token_entropy_mean": 6.510937690734863,
|
| 545 |
+
"step": 135
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"epoch": 0.7165706973768394,
|
| 549 |
+
"grad_norm": 1.8281584978103638,
|
| 550 |
+
"learning_rate": 9.982476273321175e-07,
|
| 551 |
+
"logits/chosen": -2.25555157661438,
|
| 552 |
+
"logits/rejected": -2.100205898284912,
|
| 553 |
+
"logps/chosen": -389.03497314453125,
|
| 554 |
+
"logps/rejected": -211.17449951171875,
|
| 555 |
+
"loss": 0.6611,
|
| 556 |
+
"rewards/accuracies": 0.6976562738418579,
|
| 557 |
+
"rewards/chosen": 0.11906532198190689,
|
| 558 |
+
"rewards/margins": 0.07203800976276398,
|
| 559 |
+
"rewards/rejected": 0.04702730476856232,
|
| 560 |
+
"stability/repetition_rate_mean": 0.8607560396194458,
|
| 561 |
+
"stability/response_length_mean": 173.89999389648438,
|
| 562 |
+
"stability/response_length_std": 70.74908447265625,
|
| 563 |
+
"stability/response_length_var": 5005.43310546875,
|
| 564 |
+
"stability/token_entropy_mean": 6.612500190734863,
|
| 565 |
+
"step": 140
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"epoch": 0.7421625079974408,
|
| 569 |
+
"grad_norm": 1.7499624490737915,
|
| 570 |
+
"learning_rate": 9.977698537536417e-07,
|
| 571 |
+
"logits/chosen": -2.2664294242858887,
|
| 572 |
+
"logits/rejected": -2.0990548133850098,
|
| 573 |
+
"logps/chosen": -387.792724609375,
|
| 574 |
+
"logps/rejected": -203.63430786132812,
|
| 575 |
+
"loss": 0.6589,
|
| 576 |
+
"rewards/accuracies": 0.678906261920929,
|
| 577 |
+
"rewards/chosen": 0.13202722370624542,
|
| 578 |
+
"rewards/margins": 0.07740288227796555,
|
| 579 |
+
"rewards/rejected": 0.054624345153570175,
|
| 580 |
+
"stability/repetition_rate_mean": 0.9638816714286804,
|
| 581 |
+
"stability/response_length_mean": 720.2000122070312,
|
| 582 |
+
"stability/response_length_std": 284.2842102050781,
|
| 583 |
+
"stability/response_length_var": 80817.5078125,
|
| 584 |
+
"stability/token_entropy_mean": 7.106249809265137,
|
| 585 |
+
"step": 145
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"epoch": 0.7677543186180422,
|
| 589 |
+
"grad_norm": 1.8286625146865845,
|
| 590 |
+
"learning_rate": 9.972346981963546e-07,
|
| 591 |
+
"logits/chosen": -2.2344398498535156,
|
| 592 |
+
"logits/rejected": -2.0921382904052734,
|
| 593 |
+
"logps/chosen": -373.849853515625,
|
| 594 |
+
"logps/rejected": -211.25674438476562,
|
| 595 |
+
"loss": 0.6568,
|
| 596 |
+
"rewards/accuracies": 0.6703124642372131,
|
| 597 |
+
"rewards/chosen": 0.14155012369155884,
|
| 598 |
+
"rewards/margins": 0.08604539185762405,
|
| 599 |
+
"rewards/rejected": 0.05550474300980568,
|
| 600 |
+
"stability/repetition_rate_mean": 0.8590916395187378,
|
| 601 |
+
"stability/response_length_mean": 654.2000122070312,
|
| 602 |
+
"stability/response_length_std": 372.5482177734375,
|
| 603 |
+
"stability/response_length_var": 138792.171875,
|
| 604 |
+
"stability/token_entropy_mean": 6.5859375,
|
| 605 |
+
"step": 150
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"epoch": 0.7933461292386437,
|
| 609 |
+
"grad_norm": 1.8375192880630493,
|
| 610 |
+
"learning_rate": 9.966422223519885e-07,
|
| 611 |
+
"logits/chosen": -2.259735107421875,
|
| 612 |
+
"logits/rejected": -2.108813762664795,
|
| 613 |
+
"logps/chosen": -377.39886474609375,
|
| 614 |
+
"logps/rejected": -206.43038940429688,
|
| 615 |
+
"loss": 0.6528,
|
| 616 |
+
"rewards/accuracies": 0.682421863079071,
|
| 617 |
+
"rewards/chosen": 0.1565590798854828,
|
| 618 |
+
"rewards/margins": 0.09292585402727127,
|
| 619 |
+
"rewards/rejected": 0.06363321840763092,
|
| 620 |
+
"stability/repetition_rate_mean": 0.8765794038772583,
|
| 621 |
+
"stability/response_length_mean": 502.3999938964844,
|
| 622 |
+
"stability/response_length_std": 200.0795440673828,
|
| 623 |
+
"stability/response_length_var": 40031.8203125,
|
| 624 |
+
"stability/token_entropy_mean": 6.557812690734863,
|
| 625 |
+
"step": 155
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"epoch": 0.818937939859245,
|
| 629 |
+
"grad_norm": 1.7681745290756226,
|
| 630 |
+
"learning_rate": 9.959924945200523e-07,
|
| 631 |
+
"logits/chosen": -2.2527999877929688,
|
| 632 |
+
"logits/rejected": -2.086219549179077,
|
| 633 |
+
"logps/chosen": -383.5099182128906,
|
| 634 |
+
"logps/rejected": -207.28614807128906,
|
| 635 |
+
"loss": 0.6491,
|
| 636 |
+
"rewards/accuracies": 0.6898438334465027,
|
| 637 |
+
"rewards/chosen": 0.16489063203334808,
|
| 638 |
+
"rewards/margins": 0.10477059334516525,
|
| 639 |
+
"rewards/rejected": 0.06012001633644104,
|
| 640 |
+
"stability/repetition_rate_mean": 0.9663667678833008,
|
| 641 |
+
"stability/response_length_mean": 870.4000244140625,
|
| 642 |
+
"stability/response_length_std": 147.6581573486328,
|
| 643 |
+
"stability/response_length_var": 21802.93359375,
|
| 644 |
+
"stability/token_entropy_mean": 7.243750095367432,
|
| 645 |
+
"step": 160
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"epoch": 0.8445297504798465,
|
| 649 |
+
"grad_norm": 1.6438355445861816,
|
| 650 |
+
"learning_rate": 9.952855895999568e-07,
|
| 651 |
+
"logits/chosen": -2.23742413520813,
|
| 652 |
+
"logits/rejected": -2.089754104614258,
|
| 653 |
+
"logps/chosen": -362.43914794921875,
|
| 654 |
+
"logps/rejected": -203.66177368164062,
|
| 655 |
+
"loss": 0.6477,
|
| 656 |
+
"rewards/accuracies": 0.684374988079071,
|
| 657 |
+
"rewards/chosen": 0.1636190414428711,
|
| 658 |
+
"rewards/margins": 0.10717189311981201,
|
| 659 |
+
"rewards/rejected": 0.05644712969660759,
|
| 660 |
+
"stability/repetition_rate_mean": 0.8620624542236328,
|
| 661 |
+
"stability/response_length_mean": 547.7000122070312,
|
| 662 |
+
"stability/response_length_std": 249.60325622558594,
|
| 663 |
+
"stability/response_length_var": 62301.7890625,
|
| 664 |
+
"stability/token_entropy_mean": 6.599999904632568,
|
| 665 |
+
"step": 165
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"epoch": 0.8701215611004478,
|
| 669 |
+
"grad_norm": 1.7001264095306396,
|
| 670 |
+
"learning_rate": 9.9452158908238e-07,
|
| 671 |
+
"logits/chosen": -2.2632334232330322,
|
| 672 |
+
"logits/rejected": -2.097275733947754,
|
| 673 |
+
"logps/chosen": -376.97039794921875,
|
| 674 |
+
"logps/rejected": -203.81222534179688,
|
| 675 |
+
"loss": 0.6419,
|
| 676 |
+
"rewards/accuracies": 0.705078125,
|
| 677 |
+
"rewards/chosen": 0.18040212988853455,
|
| 678 |
+
"rewards/margins": 0.12267370522022247,
|
| 679 |
+
"rewards/rejected": 0.057728420943021774,
|
| 680 |
+
"stability/repetition_rate_mean": 0.9189292192459106,
|
| 681 |
+
"stability/response_length_mean": 385.70001220703125,
|
| 682 |
+
"stability/response_length_std": 143.96685791015625,
|
| 683 |
+
"stability/response_length_var": 20726.455078125,
|
| 684 |
+
"stability/token_entropy_mean": 6.831250190734863,
|
| 685 |
+
"step": 170
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"epoch": 0.8957133717210493,
|
| 689 |
+
"grad_norm": 1.804345726966858,
|
| 690 |
+
"learning_rate": 9.937005810398745e-07,
|
| 691 |
+
"logits/chosen": -2.2485477924346924,
|
| 692 |
+
"logits/rejected": -2.0931143760681152,
|
| 693 |
+
"logps/chosen": -380.5006408691406,
|
| 694 |
+
"logps/rejected": -212.2974853515625,
|
| 695 |
+
"loss": 0.6396,
|
| 696 |
+
"rewards/accuracies": 0.6957032084465027,
|
| 697 |
+
"rewards/chosen": 0.18881921470165253,
|
| 698 |
+
"rewards/margins": 0.13226722180843353,
|
| 699 |
+
"rewards/rejected": 0.0565519854426384,
|
| 700 |
+
"stability/repetition_rate_mean": 0.9413634538650513,
|
| 701 |
+
"stability/response_length_mean": 460.6000061035156,
|
| 702 |
+
"stability/response_length_std": 165.9894256591797,
|
| 703 |
+
"stability/response_length_var": 27552.48828125,
|
| 704 |
+
"stability/token_entropy_mean": 6.959374904632568,
|
| 705 |
+
"step": 175
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"epoch": 0.9213051823416507,
|
| 709 |
+
"grad_norm": 1.76821768283844,
|
| 710 |
+
"learning_rate": 9.928226601167138e-07,
|
| 711 |
+
"logits/chosen": -2.2474441528320312,
|
| 712 |
+
"logits/rejected": -2.0858802795410156,
|
| 713 |
+
"logps/chosen": -387.0555419921875,
|
| 714 |
+
"logps/rejected": -212.9912109375,
|
| 715 |
+
"loss": 0.6377,
|
| 716 |
+
"rewards/accuracies": 0.690234363079071,
|
| 717 |
+
"rewards/chosen": 0.20255513489246368,
|
| 718 |
+
"rewards/margins": 0.13533423840999603,
|
| 719 |
+
"rewards/rejected": 0.06722089648246765,
|
| 720 |
+
"stability/repetition_rate_mean": 0.8933365941047668,
|
| 721 |
+
"stability/response_length_mean": 716.2000122070312,
|
| 722 |
+
"stability/response_length_std": 329.3815002441406,
|
| 723 |
+
"stability/response_length_var": 108492.1796875,
|
| 724 |
+
"stability/token_entropy_mean": 6.526562690734863,
|
| 725 |
+
"step": 180
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"epoch": 0.946896992962252,
|
| 729 |
+
"grad_norm": 1.6571131944656372,
|
| 730 |
+
"learning_rate": 9.918879275179817e-07,
|
| 731 |
+
"logits/chosen": -2.249807596206665,
|
| 732 |
+
"logits/rejected": -2.0986175537109375,
|
| 733 |
+
"logps/chosen": -374.5240173339844,
|
| 734 |
+
"logps/rejected": -210.4625244140625,
|
| 735 |
+
"loss": 0.6365,
|
| 736 |
+
"rewards/accuracies": 0.6898437738418579,
|
| 737 |
+
"rewards/chosen": 0.21025450527668,
|
| 738 |
+
"rewards/margins": 0.14256080985069275,
|
| 739 |
+
"rewards/rejected": 0.06769368052482605,
|
| 740 |
+
"stability/repetition_rate_mean": 0.8755763173103333,
|
| 741 |
+
"stability/response_length_mean": 486.3999938964844,
|
| 742 |
+
"stability/response_length_std": 213.8624725341797,
|
| 743 |
+
"stability/response_length_var": 45737.15625,
|
| 744 |
+
"stability/token_entropy_mean": 6.559374809265137,
|
| 745 |
+
"step": 185
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"epoch": 0.9724888035828535,
|
| 749 |
+
"grad_norm": 1.5521091222763062,
|
| 750 |
+
"learning_rate": 9.90896490997906e-07,
|
| 751 |
+
"logits/chosen": -2.233643054962158,
|
| 752 |
+
"logits/rejected": -2.0779027938842773,
|
| 753 |
+
"logps/chosen": -377.6806640625,
|
| 754 |
+
"logps/rejected": -206.34112548828125,
|
| 755 |
+
"loss": 0.6287,
|
| 756 |
+
"rewards/accuracies": 0.701953113079071,
|
| 757 |
+
"rewards/chosen": 0.2152232825756073,
|
| 758 |
+
"rewards/margins": 0.16218551993370056,
|
| 759 |
+
"rewards/rejected": 0.053037747740745544,
|
| 760 |
+
"stability/repetition_rate_mean": 0.8903291821479797,
|
| 761 |
+
"stability/response_length_mean": 736.7999877929688,
|
| 762 |
+
"stability/response_length_std": 246.57106018066406,
|
| 763 |
+
"stability/response_length_var": 60797.2890625,
|
| 764 |
+
"stability/token_entropy_mean": 6.7109375,
|
| 765 |
+
"step": 190
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"epoch": 0.9980806142034548,
|
| 769 |
+
"grad_norm": 1.6728918552398682,
|
| 770 |
+
"learning_rate": 9.898484648474362e-07,
|
| 771 |
+
"logits/chosen": -2.250211477279663,
|
| 772 |
+
"logits/rejected": -2.096865653991699,
|
| 773 |
+
"logps/chosen": -361.8232116699219,
|
| 774 |
+
"logps/rejected": -208.4629364013672,
|
| 775 |
+
"loss": 0.6296,
|
| 776 |
+
"rewards/accuracies": 0.7027343511581421,
|
| 777 |
+
"rewards/chosen": 0.2173018455505371,
|
| 778 |
+
"rewards/margins": 0.16235104203224182,
|
| 779 |
+
"rewards/rejected": 0.054950814694166183,
|
| 780 |
+
"stability/repetition_rate_mean": 0.7688959836959839,
|
| 781 |
+
"stability/response_length_mean": 356.3999938964844,
|
| 782 |
+
"stability/response_length_std": 207.94882202148438,
|
| 783 |
+
"stability/response_length_var": 43242.7109375,
|
| 784 |
+
"stability/token_entropy_mean": 5.928124904632568,
|
| 785 |
+
"step": 195
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"epoch": 1.0,
|
| 789 |
+
"step": 196,
|
| 790 |
+
"total_flos": 7.072674331683193e+18,
|
| 791 |
+
"train_loss": 0.6730708850889789,
|
| 792 |
+
"train_runtime": 4328.1955,
|
| 793 |
+
"train_samples_per_second": 23.104,
|
| 794 |
+
"train_steps_per_second": 0.045
|
| 795 |
+
}
|
| 796 |
+
],
|
| 797 |
+
"logging_steps": 5,
|
| 798 |
+
"max_steps": 196,
|
| 799 |
+
"num_input_tokens_seen": 0,
|
| 800 |
+
"num_train_epochs": 1,
|
| 801 |
+
"save_steps": 200,
|
| 802 |
+
"stateful_callbacks": {
|
| 803 |
+
"TrainerControl": {
|
| 804 |
+
"args": {
|
| 805 |
+
"should_epoch_stop": false,
|
| 806 |
+
"should_evaluate": false,
|
| 807 |
+
"should_log": false,
|
| 808 |
+
"should_save": true,
|
| 809 |
+
"should_training_stop": true
|
| 810 |
+
},
|
| 811 |
+
"attributes": {}
|
| 812 |
+
}
|
| 813 |
+
},
|
| 814 |
+
"total_flos": 7.072674331683193e+18,
|
| 815 |
+
"train_batch_size": 8,
|
| 816 |
+
"trial_name": null,
|
| 817 |
+
"trial_params": null
|
| 818 |
+
}
|
mistral7b_dpo_baseline/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94e6d5df42ddf678581bc105236846c8bb9630da14f49c0e71f40b3a546b04ca
|
| 3 |
+
size 8017
|
mistral7b_dpo_baseline/training_loss.png
ADDED
|
mistral7b_dpo_baseline/training_rewards_accuracies.png
ADDED
|
mistral7b_dpo_baseline/training_rewards_chosen.png
ADDED
|
mistral7b_dpo_baseline/training_rewards_margins.png
ADDED
|
mistral7b_dpo_baseline/training_rewards_rejected.png
ADDED
|