ironrock commited on
Commit
7eb44e2
1 Parent(s): 033b8e9

Upload folder using huggingface_hub

Browse files
Files changed (49) hide show
  1. README.md +62 -54
  2. checkpoint-180/README.md +202 -0
  3. checkpoint-180/adapter_config.json +29 -0
  4. checkpoint-180/adapter_model.safetensors +3 -0
  5. checkpoint-180/optimizer.pt +3 -0
  6. checkpoint-180/rng_state.pth +3 -0
  7. checkpoint-180/scheduler.pt +3 -0
  8. checkpoint-180/special_tokens_map.json +24 -0
  9. checkpoint-180/tokenizer.json +0 -0
  10. checkpoint-180/tokenizer.model +3 -0
  11. checkpoint-180/tokenizer_config.json +49 -0
  12. checkpoint-180/trainer_state.json +387 -0
  13. checkpoint-180/training_args.bin +3 -0
  14. checkpoint-270/README.md +202 -0
  15. checkpoint-270/adapter_config.json +29 -0
  16. checkpoint-270/adapter_model.safetensors +3 -0
  17. checkpoint-270/optimizer.pt +3 -0
  18. checkpoint-270/rng_state.pth +3 -0
  19. checkpoint-270/scheduler.pt +3 -0
  20. checkpoint-270/special_tokens_map.json +24 -0
  21. checkpoint-270/tokenizer.json +0 -0
  22. checkpoint-270/tokenizer.model +3 -0
  23. checkpoint-270/tokenizer_config.json +49 -0
  24. checkpoint-270/trainer_state.json +570 -0
  25. checkpoint-270/training_args.bin +3 -0
  26. checkpoint-360/README.md +202 -0
  27. checkpoint-360/adapter_config.json +29 -0
  28. checkpoint-360/adapter_model.safetensors +3 -0
  29. checkpoint-360/optimizer.pt +3 -0
  30. checkpoint-360/rng_state.pth +3 -0
  31. checkpoint-360/scheduler.pt +3 -0
  32. checkpoint-360/special_tokens_map.json +24 -0
  33. checkpoint-360/tokenizer.json +0 -0
  34. checkpoint-360/tokenizer.model +3 -0
  35. checkpoint-360/tokenizer_config.json +49 -0
  36. checkpoint-360/trainer_state.json +753 -0
  37. checkpoint-360/training_args.bin +3 -0
  38. checkpoint-90/README.md +202 -0
  39. checkpoint-90/adapter_config.json +29 -0
  40. checkpoint-90/adapter_model.safetensors +3 -0
  41. checkpoint-90/optimizer.pt +3 -0
  42. checkpoint-90/rng_state.pth +3 -0
  43. checkpoint-90/scheduler.pt +3 -0
  44. checkpoint-90/special_tokens_map.json +24 -0
  45. checkpoint-90/tokenizer.json +0 -0
  46. checkpoint-90/tokenizer.model +3 -0
  47. checkpoint-90/tokenizer_config.json +49 -0
  48. checkpoint-90/trainer_state.json +204 -0
  49. checkpoint-90/training_args.bin +3 -0
README.md CHANGED
@@ -1,83 +1,91 @@
1
  ---
2
- library_name: peft
 
3
  tags:
4
- - trl
5
- - dpo
6
- - generated_from_trainer
7
  base_model: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged
8
  model-index:
9
- - name: WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO
10
  results: []
 
11
  ---
12
 
13
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
- should probably proofread and complete it, then remove this comment. -->
15
 
16
- # WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO
 
17
 
18
- This model is a fine-tuned version of [Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged](https://huggingface.co/Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.3940
21
- - Rewards/chosen: 2.1209
22
- - Rewards/rejected: -0.7121
23
- - Rewards/accuracies: 0.4643
24
- - Rewards/margins: 2.8330
25
- - Logps/rejected: -85.8883
26
- - Logps/chosen: -44.2478
27
- - Logits/rejected: -1.8122
28
- - Logits/chosen: -1.7731
29
 
30
- ## Model description
31
 
32
- More information needed
33
 
34
- ## Intended uses & limitations
35
 
36
- More information needed
37
 
38
- ## Training and evaluation data
 
 
 
 
39
 
40
- More information needed
 
 
 
 
 
 
 
 
 
41
 
42
- ## Training procedure
 
 
 
43
 
44
  ### Training hyperparameters
45
 
46
  The following hyperparameters were used during training:
47
  - learning_rate: 5e-06
48
- - train_batch_size: 2
49
- - eval_batch_size: 2
50
- - seed: 42
51
  - gradient_accumulation_steps: 2
 
52
  - total_train_batch_size: 4
53
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
- - lr_scheduler_type: linear
55
- - lr_scheduler_warmup_ratio: 0.03
56
- - training_steps: 366
57
- - mixed_precision_training: Native AMP
58
 
59
  ### Training results
60
 
61
- | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
62
- |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
63
- | 0.6371 | 0.49 | 30 | 0.5865 | 0.2472 | -0.0086 | 0.4643 | 0.2558 | -83.5434 | -50.4937 | -1.7726 | -1.7380 |
64
- | 0.5496 | 0.98 | 60 | 0.4964 | 0.5865 | -0.0274 | 0.4643 | 0.6139 | -83.6061 | -49.3627 | -1.7774 | -1.7420 |
65
- | 0.5185 | 1.46 | 90 | 0.4402 | 1.0091 | -0.0981 | 0.4643 | 1.1072 | -83.8415 | -47.9539 | -1.7827 | -1.7461 |
66
- | 0.4623 | 1.95 | 120 | 0.4217 | 1.2998 | -0.1810 | 0.4643 | 1.4808 | -84.1178 | -46.9850 | -1.7884 | -1.7512 |
67
- | 0.4985 | 2.44 | 150 | 0.4069 | 1.5958 | -0.3227 | 0.4643 | 1.9185 | -84.5901 | -45.9983 | -1.7968 | -1.7591 |
68
- | 0.5276 | 2.93 | 180 | 0.4012 | 1.7623 | -0.4253 | 0.4643 | 2.1876 | -84.9322 | -45.4432 | -1.8018 | -1.7638 |
69
- | 0.5059 | 3.41 | 210 | 0.3993 | 1.8696 | -0.4661 | 0.4643 | 2.3356 | -85.0681 | -45.0858 | -1.8022 | -1.7637 |
70
- | 0.4308 | 3.9 | 240 | 0.3972 | 1.9763 | -0.5593 | 0.4643 | 2.5356 | -85.3788 | -44.7300 | -1.8068 | -1.7681 |
71
- | 0.4277 | 4.39 | 270 | 0.3954 | 2.0294 | -0.6326 | 0.4643 | 2.6620 | -85.6233 | -44.5531 | -1.8100 | -1.7711 |
72
- | 0.4366 | 4.88 | 300 | 0.3951 | 2.0765 | -0.6602 | 0.4643 | 2.7367 | -85.7153 | -44.3961 | -1.8107 | -1.7718 |
73
- | 0.4359 | 5.37 | 330 | 0.3941 | 2.1068 | -0.6947 | 0.4643 | 2.8015 | -85.8303 | -44.2949 | -1.8115 | -1.7724 |
74
- | 0.4413 | 5.85 | 360 | 0.3940 | 2.1209 | -0.7121 | 0.4643 | 2.8330 | -85.8883 | -44.2478 | -1.8122 | -1.7731 |
75
-
76
-
77
  ### Framework versions
78
 
79
- - PEFT 0.10.0
80
- - Transformers 4.38.2
81
- - Pytorch 2.1.0+cu118
82
- - Datasets 2.18.0
83
- - Tokenizers 0.15.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ library_name: "trl"
4
  tags:
5
+ - DPO
6
+ - WeniGPT
 
7
  base_model: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged
8
  model-index:
9
+ - name: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO
10
  results: []
11
+ language: ['pt']
12
  ---
13
 
14
+ # Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO
 
15
 
16
+ This model is a fine-tuned version of [Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged] on the dataset Weni/wenigpt-agent-dpo-1.0.0 with the DPO trainer. It is part of the WeniGPT project for [Weni](https://weni.ai/).
17
+ Description: Experiment on DPO with other hyperparameters and best SFT model of WeniGPT
18
 
 
19
  It achieves the following results on the evaluation set:
20
+ {'eval_loss': 0.3940436840057373, 'eval_runtime': 8.131, 'eval_samples_per_second': 3.444, 'eval_steps_per_second': 1.722, 'eval_rewards/chosen': 2.12093186378479, 'eval_rewards/rejected': -0.7121123671531677, 'eval_rewards/accuracies': 0.4642857015132904, 'eval_rewards/margins': 2.8330442905426025, 'eval_logps/rejected': -85.88829040527344, 'eval_logps/chosen': -44.24784469604492, 'eval_logits/rejected': -1.8121978044509888, 'eval_logits/chosen': -1.773056983947754, 'epoch': 5.95}
 
 
 
 
 
 
 
 
21
 
22
+ ## Intended uses & limitations
23
 
24
+ This model has not been trained to avoid specific intructions.
25
 
26
+ ## Training procedure
27
 
28
+ Finetuning was done on the model Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged with the following prompt:
29
 
30
+ ```
31
+ ---------------------
32
+ System_prompt:
33
+ Agora você se chama {name}, você é {occupation} e seu objetivo é {chatbot_goal}. O adjetivo que mais define a sua personalidade é {adjective} e você se comporta da seguinte forma:
34
+ {instructions_formatted}
35
 
36
+ {context_statement}
37
+
38
+ Lista de requisitos:
39
+ - Responda de forma natural, mas nunca fale sobre um assunto fora do contexto.
40
+ - Nunca traga informações do seu próprio conhecimento.
41
+ - Repito é crucial que você responda usando apenas informações do contexto.
42
+ - Nunca mencione o contexto fornecido.
43
+ - Nunca mencione a pergunta fornecida.
44
+ - Gere a resposta mais útil possível para a pergunta usando informações do conexto acima.
45
+ - Nunca elabore sobre o porque e como você fez a tarefa, apenas responda.
46
 
47
+
48
+ ---------------------
49
+
50
+ ```
51
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
  - learning_rate: 5e-06
56
+ - per_device_train_batch_size: 2
57
+ - per_device_eval_batch_size: 2
 
58
  - gradient_accumulation_steps: 2
59
+ - num_gpus: 1
60
  - total_train_batch_size: 4
61
+ - optimizer: AdamW
62
+ - lr_scheduler_type: cosine
63
+ - num_steps: 366
64
+ - quantization_type: bitsandbytes
65
+ - LoRA: ("\n - bits: 4\n - use_exllama: True\n - device_map: auto\n - use_cache: False\n - lora_r: 8\n - lora_alpha: 16\n - lora_dropout: 0.05\n - bias: none\n - target_modules: ['v_proj', 'q_proj']\n - task_type: CAUSAL_LM",)
66
 
67
  ### Training results
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  ### Framework versions
70
 
71
+ - transformers==4.38.2
72
+ - datasets==2.18.0
73
+ - peft==0.10.0
74
+ - safetensors==0.4.2
75
+ - evaluate==0.4.1
76
+ - bitsandbytes==0.43
77
+ - huggingface_hub==0.22.2
78
+ - seqeval==1.2.2
79
+ - optimum==1.18.1
80
+ - auto-gptq==0.7.1
81
+ - gpustat==1.1.1
82
+ - deepspeed==0.14.0
83
+ - wandb==0.16.6
84
+ - trl==0.8.1
85
+ - accelerate==0.29.2
86
+ - coloredlogs==15.0.1
87
+ - traitlets==5.14.2
88
+ - autoawq@https://github.com/casper-hansen/AutoAWQ/releases/download/v0.2.4/autoawq-0.2.4+cu118-cp310-cp310-linux_x86_64.whl
89
+
90
+ ### Hardware
91
+ - Cloud provided: runpod.io
checkpoint-180/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
checkpoint-180/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "v_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
checkpoint-180/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:461f3d8f4bd801c97654e2c46523b53d7665511eda7ae1faa64c42376b7e0f9c
3
+ size 13648432
checkpoint-180/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c13247e6e21f6d6c3608ab8a3293f218b6eff368fbc9fae749b401b86bc5793
3
+ size 27370618
checkpoint-180/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48ee9b73399c28d7e668360bf1d5a4d11095c4738bf96c13f7bb6fbff59f8ccb
3
+ size 14244
checkpoint-180/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c878b61bb5b105df2b49c5f455acba7cdf59bf2b10038611a3fb7c5df0fe34a
3
+ size 1064
checkpoint-180/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": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-180/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-180/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-180/tokenizer_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'system' %}{{ '<<SYS>>\\n' + message['content'] + '\\n<</SYS>>\\n\\n' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + ' ' + eos_token }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "max_lenght": 8192,
37
+ "max_length": 8192,
38
+ "model_max_length": 1000000000000000019884624838656,
39
+ "pad_token": "<unk>",
40
+ "padding": true,
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "stride": 0,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "truncation_side": "right",
46
+ "truncation_strategy": "longest_first",
47
+ "unk_token": "<unk>",
48
+ "use_default_system_prompt": false
49
+ }
checkpoint-180/trainer_state.json ADDED
@@ -0,0 +1,387 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.40118029713630676,
3
+ "best_model_checkpoint": "./mistral/19-04-24-Weni-WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO_Experiment on DPO with other hyperparameters and best SFT model of WeniGPT-2_max_steps-366_batch_4_2024-04-19_ppid_9/checkpoint-180",
4
+ "epoch": 2.926829268292683,
5
+ "eval_steps": 30,
6
+ "global_step": 180,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.16,
13
+ "grad_norm": 29.063692092895508,
14
+ "learning_rate": 3.181818181818182e-06,
15
+ "logits/chosen": -1.7455532550811768,
16
+ "logits/rejected": -1.7793405055999756,
17
+ "logps/chosen": -54.72136306762695,
18
+ "logps/rejected": -97.28812408447266,
19
+ "loss": 0.6924,
20
+ "rewards/accuracies": 0.15000000596046448,
21
+ "rewards/chosen": 0.003122234484180808,
22
+ "rewards/margins": 0.0015356539515778422,
23
+ "rewards/rejected": 0.0015865802997723222,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.33,
28
+ "grad_norm": 15.157337188720703,
29
+ "learning_rate": 4.9154929577464795e-06,
30
+ "logits/chosen": -1.8641210794448853,
31
+ "logits/rejected": -1.8705828189849854,
32
+ "logps/chosen": -40.3618049621582,
33
+ "logps/rejected": -55.96257400512695,
34
+ "loss": 0.6737,
35
+ "rewards/accuracies": 0.32499998807907104,
36
+ "rewards/chosen": 0.04275550693273544,
37
+ "rewards/margins": 0.040880247950553894,
38
+ "rewards/rejected": 0.0018752537434920669,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.49,
43
+ "grad_norm": 13.148392677307129,
44
+ "learning_rate": 4.774647887323944e-06,
45
+ "logits/chosen": -1.8284633159637451,
46
+ "logits/rejected": -1.8519256114959717,
47
+ "logps/chosen": -44.69489288330078,
48
+ "logps/rejected": -76.79936981201172,
49
+ "loss": 0.6371,
50
+ "rewards/accuracies": 0.42500001192092896,
51
+ "rewards/chosen": 0.12410124391317368,
52
+ "rewards/margins": 0.1248731017112732,
53
+ "rewards/rejected": -0.0007718756678514183,
54
+ "step": 30
55
+ },
56
+ {
57
+ "epoch": 0.49,
58
+ "eval_logits/chosen": -1.7379764318466187,
59
+ "eval_logits/rejected": -1.7726188898086548,
60
+ "eval_logps/chosen": -50.49373245239258,
61
+ "eval_logps/rejected": -83.54340362548828,
62
+ "eval_loss": 0.5864880681037903,
63
+ "eval_rewards/accuracies": 0.4642857015132904,
64
+ "eval_rewards/chosen": 0.24716782569885254,
65
+ "eval_rewards/margins": 0.25581416487693787,
66
+ "eval_rewards/rejected": -0.008646338246762753,
67
+ "eval_runtime": 8.1282,
68
+ "eval_samples_per_second": 3.445,
69
+ "eval_steps_per_second": 1.722,
70
+ "step": 30
71
+ },
72
+ {
73
+ "epoch": 0.65,
74
+ "grad_norm": 24.143388748168945,
75
+ "learning_rate": 4.633802816901409e-06,
76
+ "logits/chosen": -1.8080145120620728,
77
+ "logits/rejected": -1.8319604396820068,
78
+ "logps/chosen": -46.848201751708984,
79
+ "logps/rejected": -81.42877960205078,
80
+ "loss": 0.5649,
81
+ "rewards/accuracies": 0.42500001192092896,
82
+ "rewards/chosen": 0.3360167443752289,
83
+ "rewards/margins": 0.34645381569862366,
84
+ "rewards/rejected": -0.010437069460749626,
85
+ "step": 40
86
+ },
87
+ {
88
+ "epoch": 0.81,
89
+ "grad_norm": 0.0,
90
+ "learning_rate": 4.492957746478874e-06,
91
+ "logits/chosen": -1.8638660907745361,
92
+ "logits/rejected": -1.8754875659942627,
93
+ "logps/chosen": -22.06886863708496,
94
+ "logps/rejected": -41.17422103881836,
95
+ "loss": 0.6377,
96
+ "rewards/accuracies": 0.20000000298023224,
97
+ "rewards/chosen": 0.25195080041885376,
98
+ "rewards/margins": 0.16642150282859802,
99
+ "rewards/rejected": 0.08552931249141693,
100
+ "step": 50
101
+ },
102
+ {
103
+ "epoch": 0.98,
104
+ "grad_norm": 7.51575231552124,
105
+ "learning_rate": 4.352112676056338e-06,
106
+ "logits/chosen": -1.8215672969818115,
107
+ "logits/rejected": -1.8419084548950195,
108
+ "logps/chosen": -44.14409255981445,
109
+ "logps/rejected": -77.38871002197266,
110
+ "loss": 0.5496,
111
+ "rewards/accuracies": 0.3499999940395355,
112
+ "rewards/chosen": 0.4203863739967346,
113
+ "rewards/margins": 0.458610475063324,
114
+ "rewards/rejected": -0.038224123418331146,
115
+ "step": 60
116
+ },
117
+ {
118
+ "epoch": 0.98,
119
+ "eval_logits/chosen": -1.7419661283493042,
120
+ "eval_logits/rejected": -1.7773857116699219,
121
+ "eval_logps/chosen": -49.36268997192383,
122
+ "eval_logps/rejected": -83.60606384277344,
123
+ "eval_loss": 0.4963766038417816,
124
+ "eval_rewards/accuracies": 0.4642857015132904,
125
+ "eval_rewards/chosen": 0.5864797234535217,
126
+ "eval_rewards/margins": 0.613922655582428,
127
+ "eval_rewards/rejected": -0.02744293212890625,
128
+ "eval_runtime": 8.1315,
129
+ "eval_samples_per_second": 3.443,
130
+ "eval_steps_per_second": 1.722,
131
+ "step": 60
132
+ },
133
+ {
134
+ "epoch": 1.14,
135
+ "grad_norm": 3.454394817352295,
136
+ "learning_rate": 4.211267605633803e-06,
137
+ "logits/chosen": -1.7844343185424805,
138
+ "logits/rejected": -1.8126220703125,
139
+ "logps/chosen": -39.737998962402344,
140
+ "logps/rejected": -78.76033782958984,
141
+ "loss": 0.4925,
142
+ "rewards/accuracies": 0.4000000059604645,
143
+ "rewards/chosen": 0.6417733430862427,
144
+ "rewards/margins": 0.7573493123054504,
145
+ "rewards/rejected": -0.11557593196630478,
146
+ "step": 70
147
+ },
148
+ {
149
+ "epoch": 1.3,
150
+ "grad_norm": 14.345088005065918,
151
+ "learning_rate": 4.070422535211268e-06,
152
+ "logits/chosen": -1.822148084640503,
153
+ "logits/rejected": -1.8463541269302368,
154
+ "logps/chosen": -35.735836029052734,
155
+ "logps/rejected": -75.4683837890625,
156
+ "loss": 0.4965,
157
+ "rewards/accuracies": 0.375,
158
+ "rewards/chosen": 0.6439998745918274,
159
+ "rewards/margins": 0.8037986755371094,
160
+ "rewards/rejected": -0.1597987860441208,
161
+ "step": 80
162
+ },
163
+ {
164
+ "epoch": 1.46,
165
+ "grad_norm": 12.988151550292969,
166
+ "learning_rate": 3.9295774647887325e-06,
167
+ "logits/chosen": -1.858496069908142,
168
+ "logits/rejected": -1.8683990240097046,
169
+ "logps/chosen": -30.166736602783203,
170
+ "logps/rejected": -50.970542907714844,
171
+ "loss": 0.5185,
172
+ "rewards/accuracies": 0.30000001192092896,
173
+ "rewards/chosen": 0.6545813679695129,
174
+ "rewards/margins": 0.7556509971618652,
175
+ "rewards/rejected": -0.10106959193944931,
176
+ "step": 90
177
+ },
178
+ {
179
+ "epoch": 1.46,
180
+ "eval_logits/chosen": -1.7461166381835938,
181
+ "eval_logits/rejected": -1.7827314138412476,
182
+ "eval_logps/chosen": -47.9538688659668,
183
+ "eval_logps/rejected": -83.84149169921875,
184
+ "eval_loss": 0.4401554763317108,
185
+ "eval_rewards/accuracies": 0.4642857015132904,
186
+ "eval_rewards/chosen": 1.0091263055801392,
187
+ "eval_rewards/margins": 1.1071958541870117,
188
+ "eval_rewards/rejected": -0.09806957095861435,
189
+ "eval_runtime": 8.1286,
190
+ "eval_samples_per_second": 3.445,
191
+ "eval_steps_per_second": 1.722,
192
+ "step": 90
193
+ },
194
+ {
195
+ "epoch": 1.63,
196
+ "grad_norm": 7.574762344360352,
197
+ "learning_rate": 3.7887323943661976e-06,
198
+ "logits/chosen": -1.8498780727386475,
199
+ "logits/rejected": -1.8676494359970093,
200
+ "logps/chosen": -50.50703811645508,
201
+ "logps/rejected": -83.80486297607422,
202
+ "loss": 0.4752,
203
+ "rewards/accuracies": 0.42500001192092896,
204
+ "rewards/chosen": 1.088062047958374,
205
+ "rewards/margins": 1.0784289836883545,
206
+ "rewards/rejected": 0.009633284993469715,
207
+ "step": 100
208
+ },
209
+ {
210
+ "epoch": 1.79,
211
+ "grad_norm": 10.141860008239746,
212
+ "learning_rate": 3.6478873239436626e-06,
213
+ "logits/chosen": -1.8536640405654907,
214
+ "logits/rejected": -1.8669731616973877,
215
+ "logps/chosen": -33.00554275512695,
216
+ "logps/rejected": -46.077144622802734,
217
+ "loss": 0.5439,
218
+ "rewards/accuracies": 0.30000001192092896,
219
+ "rewards/chosen": 0.7643357515335083,
220
+ "rewards/margins": 0.7525759339332581,
221
+ "rewards/rejected": 0.011759823188185692,
222
+ "step": 110
223
+ },
224
+ {
225
+ "epoch": 1.95,
226
+ "grad_norm": 0.0,
227
+ "learning_rate": 3.5070422535211268e-06,
228
+ "logits/chosen": -1.8447682857513428,
229
+ "logits/rejected": -1.8607944250106812,
230
+ "logps/chosen": -42.43408966064453,
231
+ "logps/rejected": -73.089599609375,
232
+ "loss": 0.4623,
233
+ "rewards/accuracies": 0.375,
234
+ "rewards/chosen": 1.1391878128051758,
235
+ "rewards/margins": 1.3124778270721436,
236
+ "rewards/rejected": -0.17328998446464539,
237
+ "step": 120
238
+ },
239
+ {
240
+ "epoch": 1.95,
241
+ "eval_logits/chosen": -1.7511886358261108,
242
+ "eval_logits/rejected": -1.7883756160736084,
243
+ "eval_logps/chosen": -46.9849739074707,
244
+ "eval_logps/rejected": -84.11779022216797,
245
+ "eval_loss": 0.4216788709163666,
246
+ "eval_rewards/accuracies": 0.4642857015132904,
247
+ "eval_rewards/chosen": 1.2997931241989136,
248
+ "eval_rewards/margins": 1.4807531833648682,
249
+ "eval_rewards/rejected": -0.1809600442647934,
250
+ "eval_runtime": 8.133,
251
+ "eval_samples_per_second": 3.443,
252
+ "eval_steps_per_second": 1.721,
253
+ "step": 120
254
+ },
255
+ {
256
+ "epoch": 2.11,
257
+ "grad_norm": 0.7550886869430542,
258
+ "learning_rate": 3.3661971830985918e-06,
259
+ "logits/chosen": -1.765539526939392,
260
+ "logits/rejected": -1.8175758123397827,
261
+ "logps/chosen": -50.52437973022461,
262
+ "logps/rejected": -116.59224700927734,
263
+ "loss": 0.3356,
264
+ "rewards/accuracies": 0.550000011920929,
265
+ "rewards/chosen": 1.8601114749908447,
266
+ "rewards/margins": 2.246537685394287,
267
+ "rewards/rejected": -0.3864262104034424,
268
+ "step": 130
269
+ },
270
+ {
271
+ "epoch": 2.28,
272
+ "grad_norm": 0.23429778218269348,
273
+ "learning_rate": 3.225352112676057e-06,
274
+ "logits/chosen": -1.7902629375457764,
275
+ "logits/rejected": -1.8166630268096924,
276
+ "logps/chosen": -41.8301887512207,
277
+ "logps/rejected": -78.8285140991211,
278
+ "loss": 0.4254,
279
+ "rewards/accuracies": 0.42500001192092896,
280
+ "rewards/chosen": 1.3376247882843018,
281
+ "rewards/margins": 1.733752965927124,
282
+ "rewards/rejected": -0.39612799882888794,
283
+ "step": 140
284
+ },
285
+ {
286
+ "epoch": 2.44,
287
+ "grad_norm": 0.4628850817680359,
288
+ "learning_rate": 3.084507042253521e-06,
289
+ "logits/chosen": -1.8713032007217407,
290
+ "logits/rejected": -1.8906549215316772,
291
+ "logps/chosen": -38.51209259033203,
292
+ "logps/rejected": -69.11054992675781,
293
+ "loss": 0.4985,
294
+ "rewards/accuracies": 0.3499999940395355,
295
+ "rewards/chosen": 1.159945011138916,
296
+ "rewards/margins": 1.5182414054870605,
297
+ "rewards/rejected": -0.35829633474349976,
298
+ "step": 150
299
+ },
300
+ {
301
+ "epoch": 2.44,
302
+ "eval_logits/chosen": -1.7590656280517578,
303
+ "eval_logits/rejected": -1.7967649698257446,
304
+ "eval_logps/chosen": -45.99831008911133,
305
+ "eval_logps/rejected": -84.5901107788086,
306
+ "eval_loss": 0.40688762068748474,
307
+ "eval_rewards/accuracies": 0.4642857015132904,
308
+ "eval_rewards/chosen": 1.5957926511764526,
309
+ "eval_rewards/margins": 1.9184513092041016,
310
+ "eval_rewards/rejected": -0.3226587474346161,
311
+ "eval_runtime": 8.13,
312
+ "eval_samples_per_second": 3.444,
313
+ "eval_steps_per_second": 1.722,
314
+ "step": 150
315
+ },
316
+ {
317
+ "epoch": 2.6,
318
+ "grad_norm": 2.2907166481018066,
319
+ "learning_rate": 2.943661971830986e-06,
320
+ "logits/chosen": -1.9065347909927368,
321
+ "logits/rejected": -1.9184277057647705,
322
+ "logps/chosen": -35.44993209838867,
323
+ "logps/rejected": -58.14739227294922,
324
+ "loss": 0.5111,
325
+ "rewards/accuracies": 0.30000001192092896,
326
+ "rewards/chosen": 1.2248560190200806,
327
+ "rewards/margins": 1.3947786092758179,
328
+ "rewards/rejected": -0.1699226349592209,
329
+ "step": 160
330
+ },
331
+ {
332
+ "epoch": 2.76,
333
+ "grad_norm": 0.19129106402397156,
334
+ "learning_rate": 2.802816901408451e-06,
335
+ "logits/chosen": -1.7800159454345703,
336
+ "logits/rejected": -1.8162111043930054,
337
+ "logps/chosen": -44.746212005615234,
338
+ "logps/rejected": -87.70552062988281,
339
+ "loss": 0.3875,
340
+ "rewards/accuracies": 0.4749999940395355,
341
+ "rewards/chosen": 1.9709749221801758,
342
+ "rewards/margins": 2.394925355911255,
343
+ "rewards/rejected": -0.42395058274269104,
344
+ "step": 170
345
+ },
346
+ {
347
+ "epoch": 2.93,
348
+ "grad_norm": 0.09690173715353012,
349
+ "learning_rate": 2.6619718309859156e-06,
350
+ "logits/chosen": -1.9381850957870483,
351
+ "logits/rejected": -1.9563757181167603,
352
+ "logps/chosen": -20.314172744750977,
353
+ "logps/rejected": -45.916996002197266,
354
+ "loss": 0.5276,
355
+ "rewards/accuracies": 0.25,
356
+ "rewards/chosen": 0.9397296905517578,
357
+ "rewards/margins": 1.2702549695968628,
358
+ "rewards/rejected": -0.33052533864974976,
359
+ "step": 180
360
+ },
361
+ {
362
+ "epoch": 2.93,
363
+ "eval_logits/chosen": -1.7637720108032227,
364
+ "eval_logits/rejected": -1.8018139600753784,
365
+ "eval_logps/chosen": -45.44319534301758,
366
+ "eval_logps/rejected": -84.9321517944336,
367
+ "eval_loss": 0.40118029713630676,
368
+ "eval_rewards/accuracies": 0.4642857015132904,
369
+ "eval_rewards/chosen": 1.762328028678894,
370
+ "eval_rewards/margins": 2.1875970363616943,
371
+ "eval_rewards/rejected": -0.425269216299057,
372
+ "eval_runtime": 8.1311,
373
+ "eval_samples_per_second": 3.444,
374
+ "eval_steps_per_second": 1.722,
375
+ "step": 180
376
+ }
377
+ ],
378
+ "logging_steps": 10,
379
+ "max_steps": 366,
380
+ "num_input_tokens_seen": 0,
381
+ "num_train_epochs": 6,
382
+ "save_steps": 90,
383
+ "total_flos": 0.0,
384
+ "train_batch_size": 2,
385
+ "trial_name": null,
386
+ "trial_params": null
387
+ }
checkpoint-180/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939ad560073d3849ca3df77f21cfdd99ed81ae8d8825d2850e2ed49a039d33b0
3
+ size 5304
checkpoint-270/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
checkpoint-270/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "v_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
checkpoint-270/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbeb7589d08cf8240bb8475d7b037b8e9d71d3726d484e1f57fb751d8a572ab5
3
+ size 13648432
checkpoint-270/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c81793cd9b19ee257f31830e51353a469cda1d8fa3b2e6ccf4808e54601b7a32
3
+ size 27370618
checkpoint-270/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d3b7102895eb0637b0cab516bd672f216b2bf79078a83eb301011a90444f44c
3
+ size 14244
checkpoint-270/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2381ead8234c705c8ca054f487a2de31c2323b035c8e8bebe0d9b1412539370e
3
+ size 1064
checkpoint-270/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": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-270/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-270/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-270/tokenizer_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'system' %}{{ '<<SYS>>\\n' + message['content'] + '\\n<</SYS>>\\n\\n' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + ' ' + eos_token }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "max_lenght": 8192,
37
+ "max_length": 8192,
38
+ "model_max_length": 1000000000000000019884624838656,
39
+ "pad_token": "<unk>",
40
+ "padding": true,
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "stride": 0,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "truncation_side": "right",
46
+ "truncation_strategy": "longest_first",
47
+ "unk_token": "<unk>",
48
+ "use_default_system_prompt": false
49
+ }
checkpoint-270/trainer_state.json ADDED
@@ -0,0 +1,570 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.39542675018310547,
3
+ "best_model_checkpoint": "./mistral/19-04-24-Weni-WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO_Experiment on DPO with other hyperparameters and best SFT model of WeniGPT-2_max_steps-366_batch_4_2024-04-19_ppid_9/checkpoint-270",
4
+ "epoch": 4.390243902439025,
5
+ "eval_steps": 30,
6
+ "global_step": 270,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.16,
13
+ "grad_norm": 29.063692092895508,
14
+ "learning_rate": 3.181818181818182e-06,
15
+ "logits/chosen": -1.7455532550811768,
16
+ "logits/rejected": -1.7793405055999756,
17
+ "logps/chosen": -54.72136306762695,
18
+ "logps/rejected": -97.28812408447266,
19
+ "loss": 0.6924,
20
+ "rewards/accuracies": 0.15000000596046448,
21
+ "rewards/chosen": 0.003122234484180808,
22
+ "rewards/margins": 0.0015356539515778422,
23
+ "rewards/rejected": 0.0015865802997723222,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.33,
28
+ "grad_norm": 15.157337188720703,
29
+ "learning_rate": 4.9154929577464795e-06,
30
+ "logits/chosen": -1.8641210794448853,
31
+ "logits/rejected": -1.8705828189849854,
32
+ "logps/chosen": -40.3618049621582,
33
+ "logps/rejected": -55.96257400512695,
34
+ "loss": 0.6737,
35
+ "rewards/accuracies": 0.32499998807907104,
36
+ "rewards/chosen": 0.04275550693273544,
37
+ "rewards/margins": 0.040880247950553894,
38
+ "rewards/rejected": 0.0018752537434920669,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.49,
43
+ "grad_norm": 13.148392677307129,
44
+ "learning_rate": 4.774647887323944e-06,
45
+ "logits/chosen": -1.8284633159637451,
46
+ "logits/rejected": -1.8519256114959717,
47
+ "logps/chosen": -44.69489288330078,
48
+ "logps/rejected": -76.79936981201172,
49
+ "loss": 0.6371,
50
+ "rewards/accuracies": 0.42500001192092896,
51
+ "rewards/chosen": 0.12410124391317368,
52
+ "rewards/margins": 0.1248731017112732,
53
+ "rewards/rejected": -0.0007718756678514183,
54
+ "step": 30
55
+ },
56
+ {
57
+ "epoch": 0.49,
58
+ "eval_logits/chosen": -1.7379764318466187,
59
+ "eval_logits/rejected": -1.7726188898086548,
60
+ "eval_logps/chosen": -50.49373245239258,
61
+ "eval_logps/rejected": -83.54340362548828,
62
+ "eval_loss": 0.5864880681037903,
63
+ "eval_rewards/accuracies": 0.4642857015132904,
64
+ "eval_rewards/chosen": 0.24716782569885254,
65
+ "eval_rewards/margins": 0.25581416487693787,
66
+ "eval_rewards/rejected": -0.008646338246762753,
67
+ "eval_runtime": 8.1282,
68
+ "eval_samples_per_second": 3.445,
69
+ "eval_steps_per_second": 1.722,
70
+ "step": 30
71
+ },
72
+ {
73
+ "epoch": 0.65,
74
+ "grad_norm": 24.143388748168945,
75
+ "learning_rate": 4.633802816901409e-06,
76
+ "logits/chosen": -1.8080145120620728,
77
+ "logits/rejected": -1.8319604396820068,
78
+ "logps/chosen": -46.848201751708984,
79
+ "logps/rejected": -81.42877960205078,
80
+ "loss": 0.5649,
81
+ "rewards/accuracies": 0.42500001192092896,
82
+ "rewards/chosen": 0.3360167443752289,
83
+ "rewards/margins": 0.34645381569862366,
84
+ "rewards/rejected": -0.010437069460749626,
85
+ "step": 40
86
+ },
87
+ {
88
+ "epoch": 0.81,
89
+ "grad_norm": 0.0,
90
+ "learning_rate": 4.492957746478874e-06,
91
+ "logits/chosen": -1.8638660907745361,
92
+ "logits/rejected": -1.8754875659942627,
93
+ "logps/chosen": -22.06886863708496,
94
+ "logps/rejected": -41.17422103881836,
95
+ "loss": 0.6377,
96
+ "rewards/accuracies": 0.20000000298023224,
97
+ "rewards/chosen": 0.25195080041885376,
98
+ "rewards/margins": 0.16642150282859802,
99
+ "rewards/rejected": 0.08552931249141693,
100
+ "step": 50
101
+ },
102
+ {
103
+ "epoch": 0.98,
104
+ "grad_norm": 7.51575231552124,
105
+ "learning_rate": 4.352112676056338e-06,
106
+ "logits/chosen": -1.8215672969818115,
107
+ "logits/rejected": -1.8419084548950195,
108
+ "logps/chosen": -44.14409255981445,
109
+ "logps/rejected": -77.38871002197266,
110
+ "loss": 0.5496,
111
+ "rewards/accuracies": 0.3499999940395355,
112
+ "rewards/chosen": 0.4203863739967346,
113
+ "rewards/margins": 0.458610475063324,
114
+ "rewards/rejected": -0.038224123418331146,
115
+ "step": 60
116
+ },
117
+ {
118
+ "epoch": 0.98,
119
+ "eval_logits/chosen": -1.7419661283493042,
120
+ "eval_logits/rejected": -1.7773857116699219,
121
+ "eval_logps/chosen": -49.36268997192383,
122
+ "eval_logps/rejected": -83.60606384277344,
123
+ "eval_loss": 0.4963766038417816,
124
+ "eval_rewards/accuracies": 0.4642857015132904,
125
+ "eval_rewards/chosen": 0.5864797234535217,
126
+ "eval_rewards/margins": 0.613922655582428,
127
+ "eval_rewards/rejected": -0.02744293212890625,
128
+ "eval_runtime": 8.1315,
129
+ "eval_samples_per_second": 3.443,
130
+ "eval_steps_per_second": 1.722,
131
+ "step": 60
132
+ },
133
+ {
134
+ "epoch": 1.14,
135
+ "grad_norm": 3.454394817352295,
136
+ "learning_rate": 4.211267605633803e-06,
137
+ "logits/chosen": -1.7844343185424805,
138
+ "logits/rejected": -1.8126220703125,
139
+ "logps/chosen": -39.737998962402344,
140
+ "logps/rejected": -78.76033782958984,
141
+ "loss": 0.4925,
142
+ "rewards/accuracies": 0.4000000059604645,
143
+ "rewards/chosen": 0.6417733430862427,
144
+ "rewards/margins": 0.7573493123054504,
145
+ "rewards/rejected": -0.11557593196630478,
146
+ "step": 70
147
+ },
148
+ {
149
+ "epoch": 1.3,
150
+ "grad_norm": 14.345088005065918,
151
+ "learning_rate": 4.070422535211268e-06,
152
+ "logits/chosen": -1.822148084640503,
153
+ "logits/rejected": -1.8463541269302368,
154
+ "logps/chosen": -35.735836029052734,
155
+ "logps/rejected": -75.4683837890625,
156
+ "loss": 0.4965,
157
+ "rewards/accuracies": 0.375,
158
+ "rewards/chosen": 0.6439998745918274,
159
+ "rewards/margins": 0.8037986755371094,
160
+ "rewards/rejected": -0.1597987860441208,
161
+ "step": 80
162
+ },
163
+ {
164
+ "epoch": 1.46,
165
+ "grad_norm": 12.988151550292969,
166
+ "learning_rate": 3.9295774647887325e-06,
167
+ "logits/chosen": -1.858496069908142,
168
+ "logits/rejected": -1.8683990240097046,
169
+ "logps/chosen": -30.166736602783203,
170
+ "logps/rejected": -50.970542907714844,
171
+ "loss": 0.5185,
172
+ "rewards/accuracies": 0.30000001192092896,
173
+ "rewards/chosen": 0.6545813679695129,
174
+ "rewards/margins": 0.7556509971618652,
175
+ "rewards/rejected": -0.10106959193944931,
176
+ "step": 90
177
+ },
178
+ {
179
+ "epoch": 1.46,
180
+ "eval_logits/chosen": -1.7461166381835938,
181
+ "eval_logits/rejected": -1.7827314138412476,
182
+ "eval_logps/chosen": -47.9538688659668,
183
+ "eval_logps/rejected": -83.84149169921875,
184
+ "eval_loss": 0.4401554763317108,
185
+ "eval_rewards/accuracies": 0.4642857015132904,
186
+ "eval_rewards/chosen": 1.0091263055801392,
187
+ "eval_rewards/margins": 1.1071958541870117,
188
+ "eval_rewards/rejected": -0.09806957095861435,
189
+ "eval_runtime": 8.1286,
190
+ "eval_samples_per_second": 3.445,
191
+ "eval_steps_per_second": 1.722,
192
+ "step": 90
193
+ },
194
+ {
195
+ "epoch": 1.63,
196
+ "grad_norm": 7.574762344360352,
197
+ "learning_rate": 3.7887323943661976e-06,
198
+ "logits/chosen": -1.8498780727386475,
199
+ "logits/rejected": -1.8676494359970093,
200
+ "logps/chosen": -50.50703811645508,
201
+ "logps/rejected": -83.80486297607422,
202
+ "loss": 0.4752,
203
+ "rewards/accuracies": 0.42500001192092896,
204
+ "rewards/chosen": 1.088062047958374,
205
+ "rewards/margins": 1.0784289836883545,
206
+ "rewards/rejected": 0.009633284993469715,
207
+ "step": 100
208
+ },
209
+ {
210
+ "epoch": 1.79,
211
+ "grad_norm": 10.141860008239746,
212
+ "learning_rate": 3.6478873239436626e-06,
213
+ "logits/chosen": -1.8536640405654907,
214
+ "logits/rejected": -1.8669731616973877,
215
+ "logps/chosen": -33.00554275512695,
216
+ "logps/rejected": -46.077144622802734,
217
+ "loss": 0.5439,
218
+ "rewards/accuracies": 0.30000001192092896,
219
+ "rewards/chosen": 0.7643357515335083,
220
+ "rewards/margins": 0.7525759339332581,
221
+ "rewards/rejected": 0.011759823188185692,
222
+ "step": 110
223
+ },
224
+ {
225
+ "epoch": 1.95,
226
+ "grad_norm": 0.0,
227
+ "learning_rate": 3.5070422535211268e-06,
228
+ "logits/chosen": -1.8447682857513428,
229
+ "logits/rejected": -1.8607944250106812,
230
+ "logps/chosen": -42.43408966064453,
231
+ "logps/rejected": -73.089599609375,
232
+ "loss": 0.4623,
233
+ "rewards/accuracies": 0.375,
234
+ "rewards/chosen": 1.1391878128051758,
235
+ "rewards/margins": 1.3124778270721436,
236
+ "rewards/rejected": -0.17328998446464539,
237
+ "step": 120
238
+ },
239
+ {
240
+ "epoch": 1.95,
241
+ "eval_logits/chosen": -1.7511886358261108,
242
+ "eval_logits/rejected": -1.7883756160736084,
243
+ "eval_logps/chosen": -46.9849739074707,
244
+ "eval_logps/rejected": -84.11779022216797,
245
+ "eval_loss": 0.4216788709163666,
246
+ "eval_rewards/accuracies": 0.4642857015132904,
247
+ "eval_rewards/chosen": 1.2997931241989136,
248
+ "eval_rewards/margins": 1.4807531833648682,
249
+ "eval_rewards/rejected": -0.1809600442647934,
250
+ "eval_runtime": 8.133,
251
+ "eval_samples_per_second": 3.443,
252
+ "eval_steps_per_second": 1.721,
253
+ "step": 120
254
+ },
255
+ {
256
+ "epoch": 2.11,
257
+ "grad_norm": 0.7550886869430542,
258
+ "learning_rate": 3.3661971830985918e-06,
259
+ "logits/chosen": -1.765539526939392,
260
+ "logits/rejected": -1.8175758123397827,
261
+ "logps/chosen": -50.52437973022461,
262
+ "logps/rejected": -116.59224700927734,
263
+ "loss": 0.3356,
264
+ "rewards/accuracies": 0.550000011920929,
265
+ "rewards/chosen": 1.8601114749908447,
266
+ "rewards/margins": 2.246537685394287,
267
+ "rewards/rejected": -0.3864262104034424,
268
+ "step": 130
269
+ },
270
+ {
271
+ "epoch": 2.28,
272
+ "grad_norm": 0.23429778218269348,
273
+ "learning_rate": 3.225352112676057e-06,
274
+ "logits/chosen": -1.7902629375457764,
275
+ "logits/rejected": -1.8166630268096924,
276
+ "logps/chosen": -41.8301887512207,
277
+ "logps/rejected": -78.8285140991211,
278
+ "loss": 0.4254,
279
+ "rewards/accuracies": 0.42500001192092896,
280
+ "rewards/chosen": 1.3376247882843018,
281
+ "rewards/margins": 1.733752965927124,
282
+ "rewards/rejected": -0.39612799882888794,
283
+ "step": 140
284
+ },
285
+ {
286
+ "epoch": 2.44,
287
+ "grad_norm": 0.4628850817680359,
288
+ "learning_rate": 3.084507042253521e-06,
289
+ "logits/chosen": -1.8713032007217407,
290
+ "logits/rejected": -1.8906549215316772,
291
+ "logps/chosen": -38.51209259033203,
292
+ "logps/rejected": -69.11054992675781,
293
+ "loss": 0.4985,
294
+ "rewards/accuracies": 0.3499999940395355,
295
+ "rewards/chosen": 1.159945011138916,
296
+ "rewards/margins": 1.5182414054870605,
297
+ "rewards/rejected": -0.35829633474349976,
298
+ "step": 150
299
+ },
300
+ {
301
+ "epoch": 2.44,
302
+ "eval_logits/chosen": -1.7590656280517578,
303
+ "eval_logits/rejected": -1.7967649698257446,
304
+ "eval_logps/chosen": -45.99831008911133,
305
+ "eval_logps/rejected": -84.5901107788086,
306
+ "eval_loss": 0.40688762068748474,
307
+ "eval_rewards/accuracies": 0.4642857015132904,
308
+ "eval_rewards/chosen": 1.5957926511764526,
309
+ "eval_rewards/margins": 1.9184513092041016,
310
+ "eval_rewards/rejected": -0.3226587474346161,
311
+ "eval_runtime": 8.13,
312
+ "eval_samples_per_second": 3.444,
313
+ "eval_steps_per_second": 1.722,
314
+ "step": 150
315
+ },
316
+ {
317
+ "epoch": 2.6,
318
+ "grad_norm": 2.2907166481018066,
319
+ "learning_rate": 2.943661971830986e-06,
320
+ "logits/chosen": -1.9065347909927368,
321
+ "logits/rejected": -1.9184277057647705,
322
+ "logps/chosen": -35.44993209838867,
323
+ "logps/rejected": -58.14739227294922,
324
+ "loss": 0.5111,
325
+ "rewards/accuracies": 0.30000001192092896,
326
+ "rewards/chosen": 1.2248560190200806,
327
+ "rewards/margins": 1.3947786092758179,
328
+ "rewards/rejected": -0.1699226349592209,
329
+ "step": 160
330
+ },
331
+ {
332
+ "epoch": 2.76,
333
+ "grad_norm": 0.19129106402397156,
334
+ "learning_rate": 2.802816901408451e-06,
335
+ "logits/chosen": -1.7800159454345703,
336
+ "logits/rejected": -1.8162111043930054,
337
+ "logps/chosen": -44.746212005615234,
338
+ "logps/rejected": -87.70552062988281,
339
+ "loss": 0.3875,
340
+ "rewards/accuracies": 0.4749999940395355,
341
+ "rewards/chosen": 1.9709749221801758,
342
+ "rewards/margins": 2.394925355911255,
343
+ "rewards/rejected": -0.42395058274269104,
344
+ "step": 170
345
+ },
346
+ {
347
+ "epoch": 2.93,
348
+ "grad_norm": 0.09690173715353012,
349
+ "learning_rate": 2.6619718309859156e-06,
350
+ "logits/chosen": -1.9381850957870483,
351
+ "logits/rejected": -1.9563757181167603,
352
+ "logps/chosen": -20.314172744750977,
353
+ "logps/rejected": -45.916996002197266,
354
+ "loss": 0.5276,
355
+ "rewards/accuracies": 0.25,
356
+ "rewards/chosen": 0.9397296905517578,
357
+ "rewards/margins": 1.2702549695968628,
358
+ "rewards/rejected": -0.33052533864974976,
359
+ "step": 180
360
+ },
361
+ {
362
+ "epoch": 2.93,
363
+ "eval_logits/chosen": -1.7637720108032227,
364
+ "eval_logits/rejected": -1.8018139600753784,
365
+ "eval_logps/chosen": -45.44319534301758,
366
+ "eval_logps/rejected": -84.9321517944336,
367
+ "eval_loss": 0.40118029713630676,
368
+ "eval_rewards/accuracies": 0.4642857015132904,
369
+ "eval_rewards/chosen": 1.762328028678894,
370
+ "eval_rewards/margins": 2.1875970363616943,
371
+ "eval_rewards/rejected": -0.425269216299057,
372
+ "eval_runtime": 8.1311,
373
+ "eval_samples_per_second": 3.444,
374
+ "eval_steps_per_second": 1.722,
375
+ "step": 180
376
+ },
377
+ {
378
+ "epoch": 3.09,
379
+ "grad_norm": 9.36091136932373,
380
+ "learning_rate": 2.5211267605633806e-06,
381
+ "logits/chosen": -1.8772424459457397,
382
+ "logits/rejected": -1.8817323446273804,
383
+ "logps/chosen": -24.47315788269043,
384
+ "logps/rejected": -39.80836486816406,
385
+ "loss": 0.5178,
386
+ "rewards/accuracies": 0.30000001192092896,
387
+ "rewards/chosen": 0.9229831695556641,
388
+ "rewards/margins": 1.3109080791473389,
389
+ "rewards/rejected": -0.38792505860328674,
390
+ "step": 190
391
+ },
392
+ {
393
+ "epoch": 3.25,
394
+ "grad_norm": 1.1417157649993896,
395
+ "learning_rate": 2.3802816901408452e-06,
396
+ "logits/chosen": -1.8643680810928345,
397
+ "logits/rejected": -1.8863565921783447,
398
+ "logps/chosen": -22.632598876953125,
399
+ "logps/rejected": -55.38536834716797,
400
+ "loss": 0.5328,
401
+ "rewards/accuracies": 0.25,
402
+ "rewards/chosen": 1.202460527420044,
403
+ "rewards/margins": 1.351302146911621,
404
+ "rewards/rejected": -0.1488417685031891,
405
+ "step": 200
406
+ },
407
+ {
408
+ "epoch": 3.41,
409
+ "grad_norm": 3.8279953002929688,
410
+ "learning_rate": 2.2394366197183103e-06,
411
+ "logits/chosen": -1.8616552352905273,
412
+ "logits/rejected": -1.8696205615997314,
413
+ "logps/chosen": -26.352832794189453,
414
+ "logps/rejected": -42.96009063720703,
415
+ "loss": 0.5059,
416
+ "rewards/accuracies": 0.2750000059604645,
417
+ "rewards/chosen": 1.3207988739013672,
418
+ "rewards/margins": 1.787398099899292,
419
+ "rewards/rejected": -0.4665992856025696,
420
+ "step": 210
421
+ },
422
+ {
423
+ "epoch": 3.41,
424
+ "eval_logits/chosen": -1.7637497186660767,
425
+ "eval_logits/rejected": -1.8021754026412964,
426
+ "eval_logps/chosen": -45.08576202392578,
427
+ "eval_logps/rejected": -85.06809997558594,
428
+ "eval_loss": 0.39926525950431824,
429
+ "eval_rewards/accuracies": 0.4642857015132904,
430
+ "eval_rewards/chosen": 1.8695563077926636,
431
+ "eval_rewards/margins": 2.33561110496521,
432
+ "eval_rewards/rejected": -0.46605488657951355,
433
+ "eval_runtime": 8.1323,
434
+ "eval_samples_per_second": 3.443,
435
+ "eval_steps_per_second": 1.722,
436
+ "step": 210
437
+ },
438
+ {
439
+ "epoch": 3.58,
440
+ "grad_norm": 0.5771293044090271,
441
+ "learning_rate": 2.098591549295775e-06,
442
+ "logits/chosen": -1.7401905059814453,
443
+ "logits/rejected": -1.7726894617080688,
444
+ "logps/chosen": -59.92805099487305,
445
+ "logps/rejected": -111.60662841796875,
446
+ "loss": 0.3064,
447
+ "rewards/accuracies": 0.574999988079071,
448
+ "rewards/chosen": 2.7733664512634277,
449
+ "rewards/margins": 3.541491746902466,
450
+ "rewards/rejected": -0.7681252360343933,
451
+ "step": 220
452
+ },
453
+ {
454
+ "epoch": 3.74,
455
+ "grad_norm": 0.03903874009847641,
456
+ "learning_rate": 1.9577464788732395e-06,
457
+ "logits/chosen": -1.8807846307754517,
458
+ "logits/rejected": -1.900983214378357,
459
+ "logps/chosen": -36.41189956665039,
460
+ "logps/rejected": -73.43792724609375,
461
+ "loss": 0.4857,
462
+ "rewards/accuracies": 0.375,
463
+ "rewards/chosen": 1.912959098815918,
464
+ "rewards/margins": 2.3472061157226562,
465
+ "rewards/rejected": -0.4342469274997711,
466
+ "step": 230
467
+ },
468
+ {
469
+ "epoch": 3.9,
470
+ "grad_norm": 7.481461524963379,
471
+ "learning_rate": 1.8169014084507045e-06,
472
+ "logits/chosen": -1.8599838018417358,
473
+ "logits/rejected": -1.8959333896636963,
474
+ "logps/chosen": -37.08423614501953,
475
+ "logps/rejected": -75.9119644165039,
476
+ "loss": 0.4308,
477
+ "rewards/accuracies": 0.4000000059604645,
478
+ "rewards/chosen": 1.5218284130096436,
479
+ "rewards/margins": 2.266434669494629,
480
+ "rewards/rejected": -0.7446064352989197,
481
+ "step": 240
482
+ },
483
+ {
484
+ "epoch": 3.9,
485
+ "eval_logits/chosen": -1.7680739164352417,
486
+ "eval_logits/rejected": -1.8067959547042847,
487
+ "eval_logps/chosen": -44.73001480102539,
488
+ "eval_logps/rejected": -85.37883758544922,
489
+ "eval_loss": 0.3971562683582306,
490
+ "eval_rewards/accuracies": 0.4642857015132904,
491
+ "eval_rewards/chosen": 1.9762812852859497,
492
+ "eval_rewards/margins": 2.5355570316314697,
493
+ "eval_rewards/rejected": -0.5592758059501648,
494
+ "eval_runtime": 8.1317,
495
+ "eval_samples_per_second": 3.443,
496
+ "eval_steps_per_second": 1.722,
497
+ "step": 240
498
+ },
499
+ {
500
+ "epoch": 4.07,
501
+ "grad_norm": 14.042320251464844,
502
+ "learning_rate": 1.676056338028169e-06,
503
+ "logits/chosen": -1.8893840312957764,
504
+ "logits/rejected": -1.906826376914978,
505
+ "logps/chosen": -37.212867736816406,
506
+ "logps/rejected": -72.95481872558594,
507
+ "loss": 0.4421,
508
+ "rewards/accuracies": 0.375,
509
+ "rewards/chosen": 1.7997238636016846,
510
+ "rewards/margins": 2.3047571182250977,
511
+ "rewards/rejected": -0.5050331354141235,
512
+ "step": 250
513
+ },
514
+ {
515
+ "epoch": 4.23,
516
+ "grad_norm": 0.7587959170341492,
517
+ "learning_rate": 1.5352112676056339e-06,
518
+ "logits/chosen": -1.8049319982528687,
519
+ "logits/rejected": -1.848043441772461,
520
+ "logps/chosen": -41.58928298950195,
521
+ "logps/rejected": -108.19120025634766,
522
+ "loss": 0.4398,
523
+ "rewards/accuracies": 0.4000000059604645,
524
+ "rewards/chosen": 1.4899482727050781,
525
+ "rewards/margins": 2.264251470565796,
526
+ "rewards/rejected": -0.7743033766746521,
527
+ "step": 260
528
+ },
529
+ {
530
+ "epoch": 4.39,
531
+ "grad_norm": 0.06431450694799423,
532
+ "learning_rate": 1.3943661971830987e-06,
533
+ "logits/chosen": -1.892024278640747,
534
+ "logits/rejected": -1.9154161214828491,
535
+ "logps/chosen": -34.56536102294922,
536
+ "logps/rejected": -67.05437469482422,
537
+ "loss": 0.4277,
538
+ "rewards/accuracies": 0.4000000059604645,
539
+ "rewards/chosen": 2.181830883026123,
540
+ "rewards/margins": 2.7015929222106934,
541
+ "rewards/rejected": -0.5197622776031494,
542
+ "step": 270
543
+ },
544
+ {
545
+ "epoch": 4.39,
546
+ "eval_logits/chosen": -1.771107792854309,
547
+ "eval_logits/rejected": -1.8099576234817505,
548
+ "eval_logps/chosen": -44.553104400634766,
549
+ "eval_logps/rejected": -85.62330627441406,
550
+ "eval_loss": 0.39542675018310547,
551
+ "eval_rewards/accuracies": 0.4642857015132904,
552
+ "eval_rewards/chosen": 2.029355764389038,
553
+ "eval_rewards/margins": 2.661973237991333,
554
+ "eval_rewards/rejected": -0.632617175579071,
555
+ "eval_runtime": 8.1303,
556
+ "eval_samples_per_second": 3.444,
557
+ "eval_steps_per_second": 1.722,
558
+ "step": 270
559
+ }
560
+ ],
561
+ "logging_steps": 10,
562
+ "max_steps": 366,
563
+ "num_input_tokens_seen": 0,
564
+ "num_train_epochs": 6,
565
+ "save_steps": 90,
566
+ "total_flos": 0.0,
567
+ "train_batch_size": 2,
568
+ "trial_name": null,
569
+ "trial_params": null
570
+ }
checkpoint-270/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939ad560073d3849ca3df77f21cfdd99ed81ae8d8825d2850e2ed49a039d33b0
3
+ size 5304
checkpoint-360/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
checkpoint-360/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "v_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
checkpoint-360/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8813bba5a9991c94d4c6a0c8e191d931a240d80ead902a6a4db5ff74021888a
3
+ size 13648432
checkpoint-360/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1af764b979316825afb188d0c9405fa8989547e222ec163b821c76a0af2e3442
3
+ size 27370618
checkpoint-360/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adbac4581908b419c3039e502a4aacf8ebe77d7c5097a659c9e661f2ab321b78
3
+ size 14244
checkpoint-360/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d11a5571f7d37aa751bd53ba8c2a23edbe1ce638502fcb56f210becafab04531
3
+ size 1064
checkpoint-360/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": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-360/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-360/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-360/tokenizer_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'system' %}{{ '<<SYS>>\\n' + message['content'] + '\\n<</SYS>>\\n\\n' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + ' ' + eos_token }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "max_lenght": 8192,
37
+ "max_length": 8192,
38
+ "model_max_length": 1000000000000000019884624838656,
39
+ "pad_token": "<unk>",
40
+ "padding": true,
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "stride": 0,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "truncation_side": "right",
46
+ "truncation_strategy": "longest_first",
47
+ "unk_token": "<unk>",
48
+ "use_default_system_prompt": false
49
+ }
checkpoint-360/trainer_state.json ADDED
@@ -0,0 +1,753 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3940436840057373,
3
+ "best_model_checkpoint": "./mistral/19-04-24-Weni-WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO_Experiment on DPO with other hyperparameters and best SFT model of WeniGPT-2_max_steps-366_batch_4_2024-04-19_ppid_9/checkpoint-360",
4
+ "epoch": 5.853658536585366,
5
+ "eval_steps": 30,
6
+ "global_step": 360,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.16,
13
+ "grad_norm": 29.063692092895508,
14
+ "learning_rate": 3.181818181818182e-06,
15
+ "logits/chosen": -1.7455532550811768,
16
+ "logits/rejected": -1.7793405055999756,
17
+ "logps/chosen": -54.72136306762695,
18
+ "logps/rejected": -97.28812408447266,
19
+ "loss": 0.6924,
20
+ "rewards/accuracies": 0.15000000596046448,
21
+ "rewards/chosen": 0.003122234484180808,
22
+ "rewards/margins": 0.0015356539515778422,
23
+ "rewards/rejected": 0.0015865802997723222,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.33,
28
+ "grad_norm": 15.157337188720703,
29
+ "learning_rate": 4.9154929577464795e-06,
30
+ "logits/chosen": -1.8641210794448853,
31
+ "logits/rejected": -1.8705828189849854,
32
+ "logps/chosen": -40.3618049621582,
33
+ "logps/rejected": -55.96257400512695,
34
+ "loss": 0.6737,
35
+ "rewards/accuracies": 0.32499998807907104,
36
+ "rewards/chosen": 0.04275550693273544,
37
+ "rewards/margins": 0.040880247950553894,
38
+ "rewards/rejected": 0.0018752537434920669,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.49,
43
+ "grad_norm": 13.148392677307129,
44
+ "learning_rate": 4.774647887323944e-06,
45
+ "logits/chosen": -1.8284633159637451,
46
+ "logits/rejected": -1.8519256114959717,
47
+ "logps/chosen": -44.69489288330078,
48
+ "logps/rejected": -76.79936981201172,
49
+ "loss": 0.6371,
50
+ "rewards/accuracies": 0.42500001192092896,
51
+ "rewards/chosen": 0.12410124391317368,
52
+ "rewards/margins": 0.1248731017112732,
53
+ "rewards/rejected": -0.0007718756678514183,
54
+ "step": 30
55
+ },
56
+ {
57
+ "epoch": 0.49,
58
+ "eval_logits/chosen": -1.7379764318466187,
59
+ "eval_logits/rejected": -1.7726188898086548,
60
+ "eval_logps/chosen": -50.49373245239258,
61
+ "eval_logps/rejected": -83.54340362548828,
62
+ "eval_loss": 0.5864880681037903,
63
+ "eval_rewards/accuracies": 0.4642857015132904,
64
+ "eval_rewards/chosen": 0.24716782569885254,
65
+ "eval_rewards/margins": 0.25581416487693787,
66
+ "eval_rewards/rejected": -0.008646338246762753,
67
+ "eval_runtime": 8.1282,
68
+ "eval_samples_per_second": 3.445,
69
+ "eval_steps_per_second": 1.722,
70
+ "step": 30
71
+ },
72
+ {
73
+ "epoch": 0.65,
74
+ "grad_norm": 24.143388748168945,
75
+ "learning_rate": 4.633802816901409e-06,
76
+ "logits/chosen": -1.8080145120620728,
77
+ "logits/rejected": -1.8319604396820068,
78
+ "logps/chosen": -46.848201751708984,
79
+ "logps/rejected": -81.42877960205078,
80
+ "loss": 0.5649,
81
+ "rewards/accuracies": 0.42500001192092896,
82
+ "rewards/chosen": 0.3360167443752289,
83
+ "rewards/margins": 0.34645381569862366,
84
+ "rewards/rejected": -0.010437069460749626,
85
+ "step": 40
86
+ },
87
+ {
88
+ "epoch": 0.81,
89
+ "grad_norm": 0.0,
90
+ "learning_rate": 4.492957746478874e-06,
91
+ "logits/chosen": -1.8638660907745361,
92
+ "logits/rejected": -1.8754875659942627,
93
+ "logps/chosen": -22.06886863708496,
94
+ "logps/rejected": -41.17422103881836,
95
+ "loss": 0.6377,
96
+ "rewards/accuracies": 0.20000000298023224,
97
+ "rewards/chosen": 0.25195080041885376,
98
+ "rewards/margins": 0.16642150282859802,
99
+ "rewards/rejected": 0.08552931249141693,
100
+ "step": 50
101
+ },
102
+ {
103
+ "epoch": 0.98,
104
+ "grad_norm": 7.51575231552124,
105
+ "learning_rate": 4.352112676056338e-06,
106
+ "logits/chosen": -1.8215672969818115,
107
+ "logits/rejected": -1.8419084548950195,
108
+ "logps/chosen": -44.14409255981445,
109
+ "logps/rejected": -77.38871002197266,
110
+ "loss": 0.5496,
111
+ "rewards/accuracies": 0.3499999940395355,
112
+ "rewards/chosen": 0.4203863739967346,
113
+ "rewards/margins": 0.458610475063324,
114
+ "rewards/rejected": -0.038224123418331146,
115
+ "step": 60
116
+ },
117
+ {
118
+ "epoch": 0.98,
119
+ "eval_logits/chosen": -1.7419661283493042,
120
+ "eval_logits/rejected": -1.7773857116699219,
121
+ "eval_logps/chosen": -49.36268997192383,
122
+ "eval_logps/rejected": -83.60606384277344,
123
+ "eval_loss": 0.4963766038417816,
124
+ "eval_rewards/accuracies": 0.4642857015132904,
125
+ "eval_rewards/chosen": 0.5864797234535217,
126
+ "eval_rewards/margins": 0.613922655582428,
127
+ "eval_rewards/rejected": -0.02744293212890625,
128
+ "eval_runtime": 8.1315,
129
+ "eval_samples_per_second": 3.443,
130
+ "eval_steps_per_second": 1.722,
131
+ "step": 60
132
+ },
133
+ {
134
+ "epoch": 1.14,
135
+ "grad_norm": 3.454394817352295,
136
+ "learning_rate": 4.211267605633803e-06,
137
+ "logits/chosen": -1.7844343185424805,
138
+ "logits/rejected": -1.8126220703125,
139
+ "logps/chosen": -39.737998962402344,
140
+ "logps/rejected": -78.76033782958984,
141
+ "loss": 0.4925,
142
+ "rewards/accuracies": 0.4000000059604645,
143
+ "rewards/chosen": 0.6417733430862427,
144
+ "rewards/margins": 0.7573493123054504,
145
+ "rewards/rejected": -0.11557593196630478,
146
+ "step": 70
147
+ },
148
+ {
149
+ "epoch": 1.3,
150
+ "grad_norm": 14.345088005065918,
151
+ "learning_rate": 4.070422535211268e-06,
152
+ "logits/chosen": -1.822148084640503,
153
+ "logits/rejected": -1.8463541269302368,
154
+ "logps/chosen": -35.735836029052734,
155
+ "logps/rejected": -75.4683837890625,
156
+ "loss": 0.4965,
157
+ "rewards/accuracies": 0.375,
158
+ "rewards/chosen": 0.6439998745918274,
159
+ "rewards/margins": 0.8037986755371094,
160
+ "rewards/rejected": -0.1597987860441208,
161
+ "step": 80
162
+ },
163
+ {
164
+ "epoch": 1.46,
165
+ "grad_norm": 12.988151550292969,
166
+ "learning_rate": 3.9295774647887325e-06,
167
+ "logits/chosen": -1.858496069908142,
168
+ "logits/rejected": -1.8683990240097046,
169
+ "logps/chosen": -30.166736602783203,
170
+ "logps/rejected": -50.970542907714844,
171
+ "loss": 0.5185,
172
+ "rewards/accuracies": 0.30000001192092896,
173
+ "rewards/chosen": 0.6545813679695129,
174
+ "rewards/margins": 0.7556509971618652,
175
+ "rewards/rejected": -0.10106959193944931,
176
+ "step": 90
177
+ },
178
+ {
179
+ "epoch": 1.46,
180
+ "eval_logits/chosen": -1.7461166381835938,
181
+ "eval_logits/rejected": -1.7827314138412476,
182
+ "eval_logps/chosen": -47.9538688659668,
183
+ "eval_logps/rejected": -83.84149169921875,
184
+ "eval_loss": 0.4401554763317108,
185
+ "eval_rewards/accuracies": 0.4642857015132904,
186
+ "eval_rewards/chosen": 1.0091263055801392,
187
+ "eval_rewards/margins": 1.1071958541870117,
188
+ "eval_rewards/rejected": -0.09806957095861435,
189
+ "eval_runtime": 8.1286,
190
+ "eval_samples_per_second": 3.445,
191
+ "eval_steps_per_second": 1.722,
192
+ "step": 90
193
+ },
194
+ {
195
+ "epoch": 1.63,
196
+ "grad_norm": 7.574762344360352,
197
+ "learning_rate": 3.7887323943661976e-06,
198
+ "logits/chosen": -1.8498780727386475,
199
+ "logits/rejected": -1.8676494359970093,
200
+ "logps/chosen": -50.50703811645508,
201
+ "logps/rejected": -83.80486297607422,
202
+ "loss": 0.4752,
203
+ "rewards/accuracies": 0.42500001192092896,
204
+ "rewards/chosen": 1.088062047958374,
205
+ "rewards/margins": 1.0784289836883545,
206
+ "rewards/rejected": 0.009633284993469715,
207
+ "step": 100
208
+ },
209
+ {
210
+ "epoch": 1.79,
211
+ "grad_norm": 10.141860008239746,
212
+ "learning_rate": 3.6478873239436626e-06,
213
+ "logits/chosen": -1.8536640405654907,
214
+ "logits/rejected": -1.8669731616973877,
215
+ "logps/chosen": -33.00554275512695,
216
+ "logps/rejected": -46.077144622802734,
217
+ "loss": 0.5439,
218
+ "rewards/accuracies": 0.30000001192092896,
219
+ "rewards/chosen": 0.7643357515335083,
220
+ "rewards/margins": 0.7525759339332581,
221
+ "rewards/rejected": 0.011759823188185692,
222
+ "step": 110
223
+ },
224
+ {
225
+ "epoch": 1.95,
226
+ "grad_norm": 0.0,
227
+ "learning_rate": 3.5070422535211268e-06,
228
+ "logits/chosen": -1.8447682857513428,
229
+ "logits/rejected": -1.8607944250106812,
230
+ "logps/chosen": -42.43408966064453,
231
+ "logps/rejected": -73.089599609375,
232
+ "loss": 0.4623,
233
+ "rewards/accuracies": 0.375,
234
+ "rewards/chosen": 1.1391878128051758,
235
+ "rewards/margins": 1.3124778270721436,
236
+ "rewards/rejected": -0.17328998446464539,
237
+ "step": 120
238
+ },
239
+ {
240
+ "epoch": 1.95,
241
+ "eval_logits/chosen": -1.7511886358261108,
242
+ "eval_logits/rejected": -1.7883756160736084,
243
+ "eval_logps/chosen": -46.9849739074707,
244
+ "eval_logps/rejected": -84.11779022216797,
245
+ "eval_loss": 0.4216788709163666,
246
+ "eval_rewards/accuracies": 0.4642857015132904,
247
+ "eval_rewards/chosen": 1.2997931241989136,
248
+ "eval_rewards/margins": 1.4807531833648682,
249
+ "eval_rewards/rejected": -0.1809600442647934,
250
+ "eval_runtime": 8.133,
251
+ "eval_samples_per_second": 3.443,
252
+ "eval_steps_per_second": 1.721,
253
+ "step": 120
254
+ },
255
+ {
256
+ "epoch": 2.11,
257
+ "grad_norm": 0.7550886869430542,
258
+ "learning_rate": 3.3661971830985918e-06,
259
+ "logits/chosen": -1.765539526939392,
260
+ "logits/rejected": -1.8175758123397827,
261
+ "logps/chosen": -50.52437973022461,
262
+ "logps/rejected": -116.59224700927734,
263
+ "loss": 0.3356,
264
+ "rewards/accuracies": 0.550000011920929,
265
+ "rewards/chosen": 1.8601114749908447,
266
+ "rewards/margins": 2.246537685394287,
267
+ "rewards/rejected": -0.3864262104034424,
268
+ "step": 130
269
+ },
270
+ {
271
+ "epoch": 2.28,
272
+ "grad_norm": 0.23429778218269348,
273
+ "learning_rate": 3.225352112676057e-06,
274
+ "logits/chosen": -1.7902629375457764,
275
+ "logits/rejected": -1.8166630268096924,
276
+ "logps/chosen": -41.8301887512207,
277
+ "logps/rejected": -78.8285140991211,
278
+ "loss": 0.4254,
279
+ "rewards/accuracies": 0.42500001192092896,
280
+ "rewards/chosen": 1.3376247882843018,
281
+ "rewards/margins": 1.733752965927124,
282
+ "rewards/rejected": -0.39612799882888794,
283
+ "step": 140
284
+ },
285
+ {
286
+ "epoch": 2.44,
287
+ "grad_norm": 0.4628850817680359,
288
+ "learning_rate": 3.084507042253521e-06,
289
+ "logits/chosen": -1.8713032007217407,
290
+ "logits/rejected": -1.8906549215316772,
291
+ "logps/chosen": -38.51209259033203,
292
+ "logps/rejected": -69.11054992675781,
293
+ "loss": 0.4985,
294
+ "rewards/accuracies": 0.3499999940395355,
295
+ "rewards/chosen": 1.159945011138916,
296
+ "rewards/margins": 1.5182414054870605,
297
+ "rewards/rejected": -0.35829633474349976,
298
+ "step": 150
299
+ },
300
+ {
301
+ "epoch": 2.44,
302
+ "eval_logits/chosen": -1.7590656280517578,
303
+ "eval_logits/rejected": -1.7967649698257446,
304
+ "eval_logps/chosen": -45.99831008911133,
305
+ "eval_logps/rejected": -84.5901107788086,
306
+ "eval_loss": 0.40688762068748474,
307
+ "eval_rewards/accuracies": 0.4642857015132904,
308
+ "eval_rewards/chosen": 1.5957926511764526,
309
+ "eval_rewards/margins": 1.9184513092041016,
310
+ "eval_rewards/rejected": -0.3226587474346161,
311
+ "eval_runtime": 8.13,
312
+ "eval_samples_per_second": 3.444,
313
+ "eval_steps_per_second": 1.722,
314
+ "step": 150
315
+ },
316
+ {
317
+ "epoch": 2.6,
318
+ "grad_norm": 2.2907166481018066,
319
+ "learning_rate": 2.943661971830986e-06,
320
+ "logits/chosen": -1.9065347909927368,
321
+ "logits/rejected": -1.9184277057647705,
322
+ "logps/chosen": -35.44993209838867,
323
+ "logps/rejected": -58.14739227294922,
324
+ "loss": 0.5111,
325
+ "rewards/accuracies": 0.30000001192092896,
326
+ "rewards/chosen": 1.2248560190200806,
327
+ "rewards/margins": 1.3947786092758179,
328
+ "rewards/rejected": -0.1699226349592209,
329
+ "step": 160
330
+ },
331
+ {
332
+ "epoch": 2.76,
333
+ "grad_norm": 0.19129106402397156,
334
+ "learning_rate": 2.802816901408451e-06,
335
+ "logits/chosen": -1.7800159454345703,
336
+ "logits/rejected": -1.8162111043930054,
337
+ "logps/chosen": -44.746212005615234,
338
+ "logps/rejected": -87.70552062988281,
339
+ "loss": 0.3875,
340
+ "rewards/accuracies": 0.4749999940395355,
341
+ "rewards/chosen": 1.9709749221801758,
342
+ "rewards/margins": 2.394925355911255,
343
+ "rewards/rejected": -0.42395058274269104,
344
+ "step": 170
345
+ },
346
+ {
347
+ "epoch": 2.93,
348
+ "grad_norm": 0.09690173715353012,
349
+ "learning_rate": 2.6619718309859156e-06,
350
+ "logits/chosen": -1.9381850957870483,
351
+ "logits/rejected": -1.9563757181167603,
352
+ "logps/chosen": -20.314172744750977,
353
+ "logps/rejected": -45.916996002197266,
354
+ "loss": 0.5276,
355
+ "rewards/accuracies": 0.25,
356
+ "rewards/chosen": 0.9397296905517578,
357
+ "rewards/margins": 1.2702549695968628,
358
+ "rewards/rejected": -0.33052533864974976,
359
+ "step": 180
360
+ },
361
+ {
362
+ "epoch": 2.93,
363
+ "eval_logits/chosen": -1.7637720108032227,
364
+ "eval_logits/rejected": -1.8018139600753784,
365
+ "eval_logps/chosen": -45.44319534301758,
366
+ "eval_logps/rejected": -84.9321517944336,
367
+ "eval_loss": 0.40118029713630676,
368
+ "eval_rewards/accuracies": 0.4642857015132904,
369
+ "eval_rewards/chosen": 1.762328028678894,
370
+ "eval_rewards/margins": 2.1875970363616943,
371
+ "eval_rewards/rejected": -0.425269216299057,
372
+ "eval_runtime": 8.1311,
373
+ "eval_samples_per_second": 3.444,
374
+ "eval_steps_per_second": 1.722,
375
+ "step": 180
376
+ },
377
+ {
378
+ "epoch": 3.09,
379
+ "grad_norm": 9.36091136932373,
380
+ "learning_rate": 2.5211267605633806e-06,
381
+ "logits/chosen": -1.8772424459457397,
382
+ "logits/rejected": -1.8817323446273804,
383
+ "logps/chosen": -24.47315788269043,
384
+ "logps/rejected": -39.80836486816406,
385
+ "loss": 0.5178,
386
+ "rewards/accuracies": 0.30000001192092896,
387
+ "rewards/chosen": 0.9229831695556641,
388
+ "rewards/margins": 1.3109080791473389,
389
+ "rewards/rejected": -0.38792505860328674,
390
+ "step": 190
391
+ },
392
+ {
393
+ "epoch": 3.25,
394
+ "grad_norm": 1.1417157649993896,
395
+ "learning_rate": 2.3802816901408452e-06,
396
+ "logits/chosen": -1.8643680810928345,
397
+ "logits/rejected": -1.8863565921783447,
398
+ "logps/chosen": -22.632598876953125,
399
+ "logps/rejected": -55.38536834716797,
400
+ "loss": 0.5328,
401
+ "rewards/accuracies": 0.25,
402
+ "rewards/chosen": 1.202460527420044,
403
+ "rewards/margins": 1.351302146911621,
404
+ "rewards/rejected": -0.1488417685031891,
405
+ "step": 200
406
+ },
407
+ {
408
+ "epoch": 3.41,
409
+ "grad_norm": 3.8279953002929688,
410
+ "learning_rate": 2.2394366197183103e-06,
411
+ "logits/chosen": -1.8616552352905273,
412
+ "logits/rejected": -1.8696205615997314,
413
+ "logps/chosen": -26.352832794189453,
414
+ "logps/rejected": -42.96009063720703,
415
+ "loss": 0.5059,
416
+ "rewards/accuracies": 0.2750000059604645,
417
+ "rewards/chosen": 1.3207988739013672,
418
+ "rewards/margins": 1.787398099899292,
419
+ "rewards/rejected": -0.4665992856025696,
420
+ "step": 210
421
+ },
422
+ {
423
+ "epoch": 3.41,
424
+ "eval_logits/chosen": -1.7637497186660767,
425
+ "eval_logits/rejected": -1.8021754026412964,
426
+ "eval_logps/chosen": -45.08576202392578,
427
+ "eval_logps/rejected": -85.06809997558594,
428
+ "eval_loss": 0.39926525950431824,
429
+ "eval_rewards/accuracies": 0.4642857015132904,
430
+ "eval_rewards/chosen": 1.8695563077926636,
431
+ "eval_rewards/margins": 2.33561110496521,
432
+ "eval_rewards/rejected": -0.46605488657951355,
433
+ "eval_runtime": 8.1323,
434
+ "eval_samples_per_second": 3.443,
435
+ "eval_steps_per_second": 1.722,
436
+ "step": 210
437
+ },
438
+ {
439
+ "epoch": 3.58,
440
+ "grad_norm": 0.5771293044090271,
441
+ "learning_rate": 2.098591549295775e-06,
442
+ "logits/chosen": -1.7401905059814453,
443
+ "logits/rejected": -1.7726894617080688,
444
+ "logps/chosen": -59.92805099487305,
445
+ "logps/rejected": -111.60662841796875,
446
+ "loss": 0.3064,
447
+ "rewards/accuracies": 0.574999988079071,
448
+ "rewards/chosen": 2.7733664512634277,
449
+ "rewards/margins": 3.541491746902466,
450
+ "rewards/rejected": -0.7681252360343933,
451
+ "step": 220
452
+ },
453
+ {
454
+ "epoch": 3.74,
455
+ "grad_norm": 0.03903874009847641,
456
+ "learning_rate": 1.9577464788732395e-06,
457
+ "logits/chosen": -1.8807846307754517,
458
+ "logits/rejected": -1.900983214378357,
459
+ "logps/chosen": -36.41189956665039,
460
+ "logps/rejected": -73.43792724609375,
461
+ "loss": 0.4857,
462
+ "rewards/accuracies": 0.375,
463
+ "rewards/chosen": 1.912959098815918,
464
+ "rewards/margins": 2.3472061157226562,
465
+ "rewards/rejected": -0.4342469274997711,
466
+ "step": 230
467
+ },
468
+ {
469
+ "epoch": 3.9,
470
+ "grad_norm": 7.481461524963379,
471
+ "learning_rate": 1.8169014084507045e-06,
472
+ "logits/chosen": -1.8599838018417358,
473
+ "logits/rejected": -1.8959333896636963,
474
+ "logps/chosen": -37.08423614501953,
475
+ "logps/rejected": -75.9119644165039,
476
+ "loss": 0.4308,
477
+ "rewards/accuracies": 0.4000000059604645,
478
+ "rewards/chosen": 1.5218284130096436,
479
+ "rewards/margins": 2.266434669494629,
480
+ "rewards/rejected": -0.7446064352989197,
481
+ "step": 240
482
+ },
483
+ {
484
+ "epoch": 3.9,
485
+ "eval_logits/chosen": -1.7680739164352417,
486
+ "eval_logits/rejected": -1.8067959547042847,
487
+ "eval_logps/chosen": -44.73001480102539,
488
+ "eval_logps/rejected": -85.37883758544922,
489
+ "eval_loss": 0.3971562683582306,
490
+ "eval_rewards/accuracies": 0.4642857015132904,
491
+ "eval_rewards/chosen": 1.9762812852859497,
492
+ "eval_rewards/margins": 2.5355570316314697,
493
+ "eval_rewards/rejected": -0.5592758059501648,
494
+ "eval_runtime": 8.1317,
495
+ "eval_samples_per_second": 3.443,
496
+ "eval_steps_per_second": 1.722,
497
+ "step": 240
498
+ },
499
+ {
500
+ "epoch": 4.07,
501
+ "grad_norm": 14.042320251464844,
502
+ "learning_rate": 1.676056338028169e-06,
503
+ "logits/chosen": -1.8893840312957764,
504
+ "logits/rejected": -1.906826376914978,
505
+ "logps/chosen": -37.212867736816406,
506
+ "logps/rejected": -72.95481872558594,
507
+ "loss": 0.4421,
508
+ "rewards/accuracies": 0.375,
509
+ "rewards/chosen": 1.7997238636016846,
510
+ "rewards/margins": 2.3047571182250977,
511
+ "rewards/rejected": -0.5050331354141235,
512
+ "step": 250
513
+ },
514
+ {
515
+ "epoch": 4.23,
516
+ "grad_norm": 0.7587959170341492,
517
+ "learning_rate": 1.5352112676056339e-06,
518
+ "logits/chosen": -1.8049319982528687,
519
+ "logits/rejected": -1.848043441772461,
520
+ "logps/chosen": -41.58928298950195,
521
+ "logps/rejected": -108.19120025634766,
522
+ "loss": 0.4398,
523
+ "rewards/accuracies": 0.4000000059604645,
524
+ "rewards/chosen": 1.4899482727050781,
525
+ "rewards/margins": 2.264251470565796,
526
+ "rewards/rejected": -0.7743033766746521,
527
+ "step": 260
528
+ },
529
+ {
530
+ "epoch": 4.39,
531
+ "grad_norm": 0.06431450694799423,
532
+ "learning_rate": 1.3943661971830987e-06,
533
+ "logits/chosen": -1.892024278640747,
534
+ "logits/rejected": -1.9154161214828491,
535
+ "logps/chosen": -34.56536102294922,
536
+ "logps/rejected": -67.05437469482422,
537
+ "loss": 0.4277,
538
+ "rewards/accuracies": 0.4000000059604645,
539
+ "rewards/chosen": 2.181830883026123,
540
+ "rewards/margins": 2.7015929222106934,
541
+ "rewards/rejected": -0.5197622776031494,
542
+ "step": 270
543
+ },
544
+ {
545
+ "epoch": 4.39,
546
+ "eval_logits/chosen": -1.771107792854309,
547
+ "eval_logits/rejected": -1.8099576234817505,
548
+ "eval_logps/chosen": -44.553104400634766,
549
+ "eval_logps/rejected": -85.62330627441406,
550
+ "eval_loss": 0.39542675018310547,
551
+ "eval_rewards/accuracies": 0.4642857015132904,
552
+ "eval_rewards/chosen": 2.029355764389038,
553
+ "eval_rewards/margins": 2.661973237991333,
554
+ "eval_rewards/rejected": -0.632617175579071,
555
+ "eval_runtime": 8.1303,
556
+ "eval_samples_per_second": 3.444,
557
+ "eval_steps_per_second": 1.722,
558
+ "step": 270
559
+ },
560
+ {
561
+ "epoch": 4.55,
562
+ "grad_norm": 0.8766132593154907,
563
+ "learning_rate": 1.2535211267605635e-06,
564
+ "logits/chosen": -1.9151760339736938,
565
+ "logits/rejected": -1.9344974756240845,
566
+ "logps/chosen": -23.768444061279297,
567
+ "logps/rejected": -53.511009216308594,
568
+ "loss": 0.4885,
569
+ "rewards/accuracies": 0.30000001192092896,
570
+ "rewards/chosen": 1.5792860984802246,
571
+ "rewards/margins": 2.160665512084961,
572
+ "rewards/rejected": -0.5813794136047363,
573
+ "step": 280
574
+ },
575
+ {
576
+ "epoch": 4.72,
577
+ "grad_norm": 0.4080682694911957,
578
+ "learning_rate": 1.1126760563380283e-06,
579
+ "logits/chosen": -1.846788763999939,
580
+ "logits/rejected": -1.8602848052978516,
581
+ "logps/chosen": -42.09468460083008,
582
+ "logps/rejected": -71.29743194580078,
583
+ "loss": 0.4409,
584
+ "rewards/accuracies": 0.4000000059604645,
585
+ "rewards/chosen": 1.980571985244751,
586
+ "rewards/margins": 2.5399861335754395,
587
+ "rewards/rejected": -0.5594138503074646,
588
+ "step": 290
589
+ },
590
+ {
591
+ "epoch": 4.88,
592
+ "grad_norm": 0.5663866400718689,
593
+ "learning_rate": 9.71830985915493e-07,
594
+ "logits/chosen": -1.7880895137786865,
595
+ "logits/rejected": -1.8192650079727173,
596
+ "logps/chosen": -38.058753967285156,
597
+ "logps/rejected": -75.80699157714844,
598
+ "loss": 0.4366,
599
+ "rewards/accuracies": 0.44999998807907104,
600
+ "rewards/chosen": 2.0137667655944824,
601
+ "rewards/margins": 3.0218002796173096,
602
+ "rewards/rejected": -1.0080333948135376,
603
+ "step": 300
604
+ },
605
+ {
606
+ "epoch": 4.88,
607
+ "eval_logits/chosen": -1.7717950344085693,
608
+ "eval_logits/rejected": -1.8107479810714722,
609
+ "eval_logps/chosen": -44.3961067199707,
610
+ "eval_logps/rejected": -85.71527862548828,
611
+ "eval_loss": 0.39505863189697266,
612
+ "eval_rewards/accuracies": 0.4642857015132904,
613
+ "eval_rewards/chosen": 2.0764551162719727,
614
+ "eval_rewards/margins": 2.736663341522217,
615
+ "eval_rewards/rejected": -0.6602078676223755,
616
+ "eval_runtime": 8.135,
617
+ "eval_samples_per_second": 3.442,
618
+ "eval_steps_per_second": 1.721,
619
+ "step": 300
620
+ },
621
+ {
622
+ "epoch": 5.04,
623
+ "grad_norm": 3.4099764823913574,
624
+ "learning_rate": 8.309859154929578e-07,
625
+ "logits/chosen": -1.8781278133392334,
626
+ "logits/rejected": -1.8944752216339111,
627
+ "logps/chosen": -38.76420593261719,
628
+ "logps/rejected": -69.38748931884766,
629
+ "loss": 0.4198,
630
+ "rewards/accuracies": 0.4000000059604645,
631
+ "rewards/chosen": 1.978071928024292,
632
+ "rewards/margins": 2.7254767417907715,
633
+ "rewards/rejected": -0.7474048137664795,
634
+ "step": 310
635
+ },
636
+ {
637
+ "epoch": 5.2,
638
+ "grad_norm": 0.0851665586233139,
639
+ "learning_rate": 6.901408450704226e-07,
640
+ "logits/chosen": -1.8191150426864624,
641
+ "logits/rejected": -1.8379017114639282,
642
+ "logps/chosen": -37.87184524536133,
643
+ "logps/rejected": -69.2011947631836,
644
+ "loss": 0.4166,
645
+ "rewards/accuracies": 0.42500001192092896,
646
+ "rewards/chosen": 2.0732247829437256,
647
+ "rewards/margins": 2.8314859867095947,
648
+ "rewards/rejected": -0.7582610845565796,
649
+ "step": 320
650
+ },
651
+ {
652
+ "epoch": 5.37,
653
+ "grad_norm": 0.01842368021607399,
654
+ "learning_rate": 5.492957746478875e-07,
655
+ "logits/chosen": -1.8699190616607666,
656
+ "logits/rejected": -1.8912782669067383,
657
+ "logps/chosen": -34.895206451416016,
658
+ "logps/rejected": -63.4892463684082,
659
+ "loss": 0.4359,
660
+ "rewards/accuracies": 0.375,
661
+ "rewards/chosen": 1.559017300605774,
662
+ "rewards/margins": 2.468773126602173,
663
+ "rewards/rejected": -0.9097555875778198,
664
+ "step": 330
665
+ },
666
+ {
667
+ "epoch": 5.37,
668
+ "eval_logits/chosen": -1.7724134922027588,
669
+ "eval_logits/rejected": -1.8115413188934326,
670
+ "eval_logps/chosen": -44.29490280151367,
671
+ "eval_logps/rejected": -85.83031463623047,
672
+ "eval_loss": 0.394061416387558,
673
+ "eval_rewards/accuracies": 0.4642857015132904,
674
+ "eval_rewards/chosen": 2.1068155765533447,
675
+ "eval_rewards/margins": 2.801534414291382,
676
+ "eval_rewards/rejected": -0.6947189569473267,
677
+ "eval_runtime": 8.1309,
678
+ "eval_samples_per_second": 3.444,
679
+ "eval_steps_per_second": 1.722,
680
+ "step": 330
681
+ },
682
+ {
683
+ "epoch": 5.53,
684
+ "grad_norm": 0.5016012787818909,
685
+ "learning_rate": 4.0845070422535216e-07,
686
+ "logits/chosen": -1.8920612335205078,
687
+ "logits/rejected": -1.9220449924468994,
688
+ "logps/chosen": -36.482994079589844,
689
+ "logps/rejected": -80.28797149658203,
690
+ "loss": 0.4185,
691
+ "rewards/accuracies": 0.4000000059604645,
692
+ "rewards/chosen": 2.296034574508667,
693
+ "rewards/margins": 3.2091434001922607,
694
+ "rewards/rejected": -0.9131087064743042,
695
+ "step": 340
696
+ },
697
+ {
698
+ "epoch": 5.69,
699
+ "grad_norm": 0.9488142728805542,
700
+ "learning_rate": 2.676056338028169e-07,
701
+ "logits/chosen": -1.808159589767456,
702
+ "logits/rejected": -1.8219493627548218,
703
+ "logps/chosen": -28.93426513671875,
704
+ "logps/rejected": -51.149330139160156,
705
+ "loss": 0.4757,
706
+ "rewards/accuracies": 0.32499998807907104,
707
+ "rewards/chosen": 1.7832109928131104,
708
+ "rewards/margins": 2.264533758163452,
709
+ "rewards/rejected": -0.4813228249549866,
710
+ "step": 350
711
+ },
712
+ {
713
+ "epoch": 5.85,
714
+ "grad_norm": 0.636468231678009,
715
+ "learning_rate": 1.267605633802817e-07,
716
+ "logits/chosen": -1.8369605541229248,
717
+ "logits/rejected": -1.8785759210586548,
718
+ "logps/chosen": -39.411865234375,
719
+ "logps/rejected": -105.97831726074219,
720
+ "loss": 0.4413,
721
+ "rewards/accuracies": 0.44999998807907104,
722
+ "rewards/chosen": 2.0761430263519287,
723
+ "rewards/margins": 2.9189963340759277,
724
+ "rewards/rejected": -0.8428531885147095,
725
+ "step": 360
726
+ },
727
+ {
728
+ "epoch": 5.85,
729
+ "eval_logits/chosen": -1.773056983947754,
730
+ "eval_logits/rejected": -1.8121978044509888,
731
+ "eval_logps/chosen": -44.24784469604492,
732
+ "eval_logps/rejected": -85.88829040527344,
733
+ "eval_loss": 0.3940436840057373,
734
+ "eval_rewards/accuracies": 0.4642857015132904,
735
+ "eval_rewards/chosen": 2.12093186378479,
736
+ "eval_rewards/margins": 2.8330442905426025,
737
+ "eval_rewards/rejected": -0.7121123671531677,
738
+ "eval_runtime": 8.1312,
739
+ "eval_samples_per_second": 3.444,
740
+ "eval_steps_per_second": 1.722,
741
+ "step": 360
742
+ }
743
+ ],
744
+ "logging_steps": 10,
745
+ "max_steps": 366,
746
+ "num_input_tokens_seen": 0,
747
+ "num_train_epochs": 6,
748
+ "save_steps": 90,
749
+ "total_flos": 0.0,
750
+ "train_batch_size": 2,
751
+ "trial_name": null,
752
+ "trial_params": null
753
+ }
checkpoint-360/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939ad560073d3849ca3df77f21cfdd99ed81ae8d8825d2850e2ed49a039d33b0
3
+ size 5304
checkpoint-90/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
checkpoint-90/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Weni/WeniGPT-Agents-Mistral-1.0.6-SFT-merged",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "v_proj"
25
+ ],
26
+ "task_type": "CAUSAL_LM",
27
+ "use_dora": false,
28
+ "use_rslora": false
29
+ }
checkpoint-90/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dad4aca1bf23ab903726ef65101b7c651b5d6b541fba421f867942cb1ca63dc1
3
+ size 13648432
checkpoint-90/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:818fbc7386cde3ef1b5d6e7d6b47b4f942cf46febe754a0bcf6f2e7c93930874
3
+ size 27370618
checkpoint-90/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b3ee827a7a00012c0a116546df467feee35e70376d81a7a85b1a70eb90414d3
3
+ size 14244
checkpoint-90/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:110eab811c956cf7695e29e2b3615bcc4bc8bc3447e433b1095128ed730c468d
3
+ size 1064
checkpoint-90/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": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-90/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-90/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-90/tokenizer_config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'system' %}{{ '<<SYS>>\\n' + message['content'] + '\\n<</SYS>>\\n\\n' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + ' ' + eos_token }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "max_lenght": 8192,
37
+ "max_length": 8192,
38
+ "model_max_length": 1000000000000000019884624838656,
39
+ "pad_token": "<unk>",
40
+ "padding": true,
41
+ "sp_model_kwargs": {},
42
+ "spaces_between_special_tokens": false,
43
+ "stride": 0,
44
+ "tokenizer_class": "LlamaTokenizer",
45
+ "truncation_side": "right",
46
+ "truncation_strategy": "longest_first",
47
+ "unk_token": "<unk>",
48
+ "use_default_system_prompt": false
49
+ }
checkpoint-90/trainer_state.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.4401554763317108,
3
+ "best_model_checkpoint": "./mistral/19-04-24-Weni-WeniGPT-Agents-Mistral-1.0.6-SFT-1.0.3-DPO_Experiment on DPO with other hyperparameters and best SFT model of WeniGPT-2_max_steps-366_batch_4_2024-04-19_ppid_9/checkpoint-90",
4
+ "epoch": 1.4634146341463414,
5
+ "eval_steps": 30,
6
+ "global_step": 90,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.16,
13
+ "grad_norm": 29.063692092895508,
14
+ "learning_rate": 3.181818181818182e-06,
15
+ "logits/chosen": -1.7455532550811768,
16
+ "logits/rejected": -1.7793405055999756,
17
+ "logps/chosen": -54.72136306762695,
18
+ "logps/rejected": -97.28812408447266,
19
+ "loss": 0.6924,
20
+ "rewards/accuracies": 0.15000000596046448,
21
+ "rewards/chosen": 0.003122234484180808,
22
+ "rewards/margins": 0.0015356539515778422,
23
+ "rewards/rejected": 0.0015865802997723222,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.33,
28
+ "grad_norm": 15.157337188720703,
29
+ "learning_rate": 4.9154929577464795e-06,
30
+ "logits/chosen": -1.8641210794448853,
31
+ "logits/rejected": -1.8705828189849854,
32
+ "logps/chosen": -40.3618049621582,
33
+ "logps/rejected": -55.96257400512695,
34
+ "loss": 0.6737,
35
+ "rewards/accuracies": 0.32499998807907104,
36
+ "rewards/chosen": 0.04275550693273544,
37
+ "rewards/margins": 0.040880247950553894,
38
+ "rewards/rejected": 0.0018752537434920669,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.49,
43
+ "grad_norm": 13.148392677307129,
44
+ "learning_rate": 4.774647887323944e-06,
45
+ "logits/chosen": -1.8284633159637451,
46
+ "logits/rejected": -1.8519256114959717,
47
+ "logps/chosen": -44.69489288330078,
48
+ "logps/rejected": -76.79936981201172,
49
+ "loss": 0.6371,
50
+ "rewards/accuracies": 0.42500001192092896,
51
+ "rewards/chosen": 0.12410124391317368,
52
+ "rewards/margins": 0.1248731017112732,
53
+ "rewards/rejected": -0.0007718756678514183,
54
+ "step": 30
55
+ },
56
+ {
57
+ "epoch": 0.49,
58
+ "eval_logits/chosen": -1.7379764318466187,
59
+ "eval_logits/rejected": -1.7726188898086548,
60
+ "eval_logps/chosen": -50.49373245239258,
61
+ "eval_logps/rejected": -83.54340362548828,
62
+ "eval_loss": 0.5864880681037903,
63
+ "eval_rewards/accuracies": 0.4642857015132904,
64
+ "eval_rewards/chosen": 0.24716782569885254,
65
+ "eval_rewards/margins": 0.25581416487693787,
66
+ "eval_rewards/rejected": -0.008646338246762753,
67
+ "eval_runtime": 8.1282,
68
+ "eval_samples_per_second": 3.445,
69
+ "eval_steps_per_second": 1.722,
70
+ "step": 30
71
+ },
72
+ {
73
+ "epoch": 0.65,
74
+ "grad_norm": 24.143388748168945,
75
+ "learning_rate": 4.633802816901409e-06,
76
+ "logits/chosen": -1.8080145120620728,
77
+ "logits/rejected": -1.8319604396820068,
78
+ "logps/chosen": -46.848201751708984,
79
+ "logps/rejected": -81.42877960205078,
80
+ "loss": 0.5649,
81
+ "rewards/accuracies": 0.42500001192092896,
82
+ "rewards/chosen": 0.3360167443752289,
83
+ "rewards/margins": 0.34645381569862366,
84
+ "rewards/rejected": -0.010437069460749626,
85
+ "step": 40
86
+ },
87
+ {
88
+ "epoch": 0.81,
89
+ "grad_norm": 0.0,
90
+ "learning_rate": 4.492957746478874e-06,
91
+ "logits/chosen": -1.8638660907745361,
92
+ "logits/rejected": -1.8754875659942627,
93
+ "logps/chosen": -22.06886863708496,
94
+ "logps/rejected": -41.17422103881836,
95
+ "loss": 0.6377,
96
+ "rewards/accuracies": 0.20000000298023224,
97
+ "rewards/chosen": 0.25195080041885376,
98
+ "rewards/margins": 0.16642150282859802,
99
+ "rewards/rejected": 0.08552931249141693,
100
+ "step": 50
101
+ },
102
+ {
103
+ "epoch": 0.98,
104
+ "grad_norm": 7.51575231552124,
105
+ "learning_rate": 4.352112676056338e-06,
106
+ "logits/chosen": -1.8215672969818115,
107
+ "logits/rejected": -1.8419084548950195,
108
+ "logps/chosen": -44.14409255981445,
109
+ "logps/rejected": -77.38871002197266,
110
+ "loss": 0.5496,
111
+ "rewards/accuracies": 0.3499999940395355,
112
+ "rewards/chosen": 0.4203863739967346,
113
+ "rewards/margins": 0.458610475063324,
114
+ "rewards/rejected": -0.038224123418331146,
115
+ "step": 60
116
+ },
117
+ {
118
+ "epoch": 0.98,
119
+ "eval_logits/chosen": -1.7419661283493042,
120
+ "eval_logits/rejected": -1.7773857116699219,
121
+ "eval_logps/chosen": -49.36268997192383,
122
+ "eval_logps/rejected": -83.60606384277344,
123
+ "eval_loss": 0.4963766038417816,
124
+ "eval_rewards/accuracies": 0.4642857015132904,
125
+ "eval_rewards/chosen": 0.5864797234535217,
126
+ "eval_rewards/margins": 0.613922655582428,
127
+ "eval_rewards/rejected": -0.02744293212890625,
128
+ "eval_runtime": 8.1315,
129
+ "eval_samples_per_second": 3.443,
130
+ "eval_steps_per_second": 1.722,
131
+ "step": 60
132
+ },
133
+ {
134
+ "epoch": 1.14,
135
+ "grad_norm": 3.454394817352295,
136
+ "learning_rate": 4.211267605633803e-06,
137
+ "logits/chosen": -1.7844343185424805,
138
+ "logits/rejected": -1.8126220703125,
139
+ "logps/chosen": -39.737998962402344,
140
+ "logps/rejected": -78.76033782958984,
141
+ "loss": 0.4925,
142
+ "rewards/accuracies": 0.4000000059604645,
143
+ "rewards/chosen": 0.6417733430862427,
144
+ "rewards/margins": 0.7573493123054504,
145
+ "rewards/rejected": -0.11557593196630478,
146
+ "step": 70
147
+ },
148
+ {
149
+ "epoch": 1.3,
150
+ "grad_norm": 14.345088005065918,
151
+ "learning_rate": 4.070422535211268e-06,
152
+ "logits/chosen": -1.822148084640503,
153
+ "logits/rejected": -1.8463541269302368,
154
+ "logps/chosen": -35.735836029052734,
155
+ "logps/rejected": -75.4683837890625,
156
+ "loss": 0.4965,
157
+ "rewards/accuracies": 0.375,
158
+ "rewards/chosen": 0.6439998745918274,
159
+ "rewards/margins": 0.8037986755371094,
160
+ "rewards/rejected": -0.1597987860441208,
161
+ "step": 80
162
+ },
163
+ {
164
+ "epoch": 1.46,
165
+ "grad_norm": 12.988151550292969,
166
+ "learning_rate": 3.9295774647887325e-06,
167
+ "logits/chosen": -1.858496069908142,
168
+ "logits/rejected": -1.8683990240097046,
169
+ "logps/chosen": -30.166736602783203,
170
+ "logps/rejected": -50.970542907714844,
171
+ "loss": 0.5185,
172
+ "rewards/accuracies": 0.30000001192092896,
173
+ "rewards/chosen": 0.6545813679695129,
174
+ "rewards/margins": 0.7556509971618652,
175
+ "rewards/rejected": -0.10106959193944931,
176
+ "step": 90
177
+ },
178
+ {
179
+ "epoch": 1.46,
180
+ "eval_logits/chosen": -1.7461166381835938,
181
+ "eval_logits/rejected": -1.7827314138412476,
182
+ "eval_logps/chosen": -47.9538688659668,
183
+ "eval_logps/rejected": -83.84149169921875,
184
+ "eval_loss": 0.4401554763317108,
185
+ "eval_rewards/accuracies": 0.4642857015132904,
186
+ "eval_rewards/chosen": 1.0091263055801392,
187
+ "eval_rewards/margins": 1.1071958541870117,
188
+ "eval_rewards/rejected": -0.09806957095861435,
189
+ "eval_runtime": 8.1286,
190
+ "eval_samples_per_second": 3.445,
191
+ "eval_steps_per_second": 1.722,
192
+ "step": 90
193
+ }
194
+ ],
195
+ "logging_steps": 10,
196
+ "max_steps": 366,
197
+ "num_input_tokens_seen": 0,
198
+ "num_train_epochs": 6,
199
+ "save_steps": 90,
200
+ "total_flos": 0.0,
201
+ "train_batch_size": 2,
202
+ "trial_name": null,
203
+ "trial_params": null
204
+ }
checkpoint-90/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939ad560073d3849ca3df77f21cfdd99ed81ae8d8825d2850e2ed49a039d33b0
3
+ size 5304