ironrock commited on
Commit
977d132
1 Parent(s): 994662b

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,73 +1,119 @@
1
  ---
2
- library_name: peft
 
3
  tags:
4
- - trl
5
- - dpo
6
- - generated_from_trainer
7
  base_model: Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged
8
  model-index:
9
- - name: ZeroShot-3.4.7-Mistral-7b-DPO-1.0.0
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
- # ZeroShot-3.4.7-Mistral-7b-DPO-1.0.0
17
 
18
- This model is a fine-tuned version of [Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged](https://huggingface.co/Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.1629
21
- - Rewards/chosen: 0.4817
22
- - Rewards/rejected: -2.8132
23
- - Rewards/accuracies: 0.8977
24
- - Rewards/margins: 3.2949
25
- - Logps/rejected: -46.6655
26
- - Logps/chosen: -15.8817
27
- - Logits/rejected: -0.5753
28
- - Logits/chosen: -0.6695
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: 0.0002
48
- - train_batch_size: 8
49
- - eval_batch_size: 8
50
- - seed: 42
51
  - gradient_accumulation_steps: 4
 
52
  - total_train_batch_size: 32
53
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
- - lr_scheduler_type: linear
55
- - lr_scheduler_warmup_ratio: 0.1
56
- - training_steps: 144
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.3185 | 1.02 | 50 | 0.2358 | 0.7735 | -2.1314 | 0.8864 | 2.9049 | -39.8482 | -12.9635 | -0.7282 | -0.8334 |
64
- | 0.2257 | 2.04 | 100 | 0.1629 | 0.4817 | -2.8132 | 0.8977 | 3.2949 | -46.6655 | -15.8817 | -0.5753 | -0.6695 |
65
-
66
-
67
  ### Framework versions
68
 
69
- - PEFT 0.8.2
70
- - Transformers 4.38.2
71
- - Pytorch 2.1.0+cu118
72
- - Datasets 2.17.1
73
- - Tokenizers 0.15.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ library_name: "trl"
4
  tags:
5
+ - DPO
6
+ - ZeroShot
 
7
  base_model: Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged
8
  model-index:
9
+ - name: Weni/ZeroShot-3.4.7-Mistral-7b-DPO-1.0.0
10
  results: []
11
+ language: ['en', 'es', 'pt']
12
  ---
13
 
14
+ # Weni/ZeroShot-3.4.7-Mistral-7b-DPO-1.0.0
 
15
 
16
+ This model is a fine-tuned version of [Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged] on the dataset Weni/zeroshot-dpo-1.1.0 with the DPO trainer. It is part of the ZeroShot project for [Weni](https://weni.ai/).
17
 
 
18
  It achieves the following results on the evaluation set:
19
+ {'eval_loss': 0.16294628381729126, 'eval_runtime': 78.4158, 'eval_samples_per_second': 2.219, 'eval_steps_per_second': 0.281, 'eval_rewards/chosen': 0.48170650005340576, 'eval_rewards/rejected': -2.8131513595581055, 'eval_rewards/accuracies': 0.8977272510528564, 'eval_rewards/margins': 3.294857978820801, 'eval_logps/rejected': -46.66548156738281, 'eval_logps/chosen': -15.8816556930542, 'eval_logits/rejected': -0.575288712978363, 'eval_logits/chosen': -0.6694537997245789, 'epoch': 2.94}
 
 
 
 
 
 
 
 
20
 
21
+ ## Intended uses & limitations
22
 
23
+ This model has not been trained to avoid specific intructions.
24
 
25
+ ## Training procedure
26
 
27
+ Finetuning was done on the model Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged with the following prompt:
28
 
29
+ ```
30
+ ---------------------
31
+ Portuguese:
32
+ [INST] Você é muito especialista em classificar a frase do usuário em um chatbot sobre: {context}
33
+ Pare, pense bem e responda com APENAS UM ÚNICO \`id\` da classe que melhor represente a intenção para a frase do usuário de acordo com a análise de seu contexto, responda APENAS com o \`id\` da classe só se você tiver muita certeza e não explique o motivo. Na ausência, falta de informações ou caso a frase do usuário não se enquadre em nenhuma classe, classifique como "-1".
34
 
35
+ # Essas são as Classes com seus Id e Contexto:
36
+ {all_classes}
37
 
38
+ # Frase do usuário: {input}
39
+ # Id da Classe: [/INST]
40
+
41
+
42
+ ---------------------
43
+ Spanish:
44
+ [INST] Eres muy experto en clasificar la frase del usuario en un chatbot sobre: {context}
45
+ Deténgase, piense bien y responda con SOLO UN ÚNICO \`id\` de la clase que mejor represente la intención para la frase del usuario de acuerdo con el análisis de su contexto, responda SOLO con el \`id\` de la clase si está muy seguro y no explique el motivo. En ausencia, falta de información o en caso de que la frase del usuario no se ajuste a ninguna clase, clasifique como "-1".
46
+
47
+ # Estas son las Clases con sus Id y Contexto:
48
+ {all_classes}
49
+
50
+ # Frase del usuario: {input}
51
+ # Id de la Clase: [/INST]
52
+
53
+
54
+ ---------------------
55
+ English:
56
+ [INST] You are very expert in classifying the user sentence in a chatbot about: {context}
57
+ Stop, think carefully, and respond with ONLY ONE SINGLE \`id\` of the class that best represents the intention for the user's sentence according to the analysis of its context, respond ONLY with the \`id\` of the class if you are very sure and do not explain the reason. In the absence, lack of information, or if the user's sentence does not fit into any class, classify as "-1".
58
+
59
+ # These are the Classes and its Context:
60
+ {all_classes}
61
+
62
+ # User's sentence: {input}
63
+ # Class Id: [/INST]
64
+
65
+
66
+ ---------------------
67
+ Chosen_response:
68
+ {chosen_response}
69
+
70
+
71
+ ---------------------
72
+ Rejected_response:
73
+ {rejected_response}
74
+
75
+
76
+ ---------------------
77
+
78
+ ```
79
 
80
  ### Training hyperparameters
81
 
82
  The following hyperparameters were used during training:
83
  - learning_rate: 0.0002
84
+ - per_device_train_batch_size: 8
85
+ - per_device_eval_batch_size: 8
 
86
  - gradient_accumulation_steps: 4
87
+ - num_gpus: 1
88
  - total_train_batch_size: 32
89
+ - optimizer: AdamW
90
+ - lr_scheduler_type: cosine
91
+ - num_steps: 144
92
+ - quantization_type: bitsandbytes
93
+ - 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.1\n - bias: none\n - target_modules: ['q_proj', 'k_proj', 'v_proj', 'o_proj']\n - task_type: CAUSAL_LM",)
94
 
95
  ### Training results
96
 
 
 
 
 
 
 
97
  ### Framework versions
98
 
99
+ - transformers==4.38.2
100
+ - datasets==2.17.1
101
+ - peft==0.8.2
102
+ - safetensors==0.4.2
103
+ - evaluate==0.4.1
104
+ - bitsandbytes==0.42
105
+ - huggingface_hub==0.20.3
106
+ - seqeval==1.2.2
107
+ - optimum==1.17.1
108
+ - auto-gptq==0.7.0
109
+ - gpustat==1.1.1
110
+ - deepspeed==0.13.2
111
+ - wandb==0.16.3
112
+ - trl==0.7.11
113
+ - accelerate==0.27.2
114
+ - coloredlogs==15.0.1
115
+ - traitlets==5.14.1
116
+ - autoawq@https://github.com/casper-hansen/AutoAWQ/releases/download/v0.2.0/autoawq-0.2.0+cu118-cp310-cp310-linux_x86_64.whl
117
+
118
+ ### Hardware
119
+ - Cloud provided: runpod.io
checkpoint-100/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-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
+
201
+
202
+ ### Framework versions
203
+
204
+ - PEFT 0.8.2
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Weni/ZeroShot-3.3.34-Mistral-7b-Multilanguage-3.3.0-merged",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 8,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "q_proj",
23
+ "k_proj",
24
+ "o_proj",
25
+ "v_proj"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_rslora": false
29
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b39bb6dc76ffae4b790818920d9bb770403f79b26951a34f7d8c0b0518aa80c3
3
+ size 27297032
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85eb56d47aa727e324dc6bb814a26d8b56975d9ea77ae8cd48c368a94478847d
3
+ size 54740730
checkpoint-100/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-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14afede1cfd5a44bf16530d46c72861c950d8a659300f9dd3414af22857fccab
3
+ size 1064
checkpoint-100/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-100/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-100/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": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "max_lenght": 2048,
37
+ "max_length": 2048,
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-100/trainer_state.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.16294628381729126,
3
+ "best_model_checkpoint": "./Mistral/14-03-24-Weni-ZeroShot-3.4.7-Mistral-7b-DPO-1.0.0_ZeroShot DPO Training a improved dataset and best hyperparameters found so far-2_max_steps-144_batch_32_2024-03-14_ppid_9/checkpoint-100",
4
+ "epoch": 2.0408163265306123,
5
+ "eval_steps": 50,
6
+ "global_step": 100,
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.41,
13
+ "grad_norm": 5.712127208709717,
14
+ "learning_rate": 0.0001937984496124031,
15
+ "logits/chosen": -0.9182177782058716,
16
+ "logits/rejected": -0.8624125719070435,
17
+ "logps/chosen": -20.338306427001953,
18
+ "logps/rejected": -30.975902557373047,
19
+ "loss": 0.436,
20
+ "rewards/accuracies": 0.7093750238418579,
21
+ "rewards/chosen": 0.03981679677963257,
22
+ "rewards/margins": 1.3287527561187744,
23
+ "rewards/rejected": -1.288935899734497,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.82,
28
+ "grad_norm": 2.6526589393615723,
29
+ "learning_rate": 0.00016279069767441862,
30
+ "logits/chosen": -0.16490581631660461,
31
+ "logits/rejected": -0.056700706481933594,
32
+ "logps/chosen": -17.591310501098633,
33
+ "logps/rejected": -40.76393127441406,
34
+ "loss": 0.3185,
35
+ "rewards/accuracies": 0.856249988079071,
36
+ "rewards/chosen": 0.4018515944480896,
37
+ "rewards/margins": 2.6139047145843506,
38
+ "rewards/rejected": -2.2120535373687744,
39
+ "step": 40
40
+ },
41
+ {
42
+ "epoch": 1.02,
43
+ "eval_logits/chosen": -0.8333766460418701,
44
+ "eval_logits/rejected": -0.7281509041786194,
45
+ "eval_logps/chosen": -12.963512420654297,
46
+ "eval_logps/rejected": -39.84817886352539,
47
+ "eval_loss": 0.23576030135154724,
48
+ "eval_rewards/accuracies": 0.8863636255264282,
49
+ "eval_rewards/chosen": 0.7735208868980408,
50
+ "eval_rewards/margins": 2.904942035675049,
51
+ "eval_rewards/rejected": -2.1314210891723633,
52
+ "eval_runtime": 78.4236,
53
+ "eval_samples_per_second": 2.219,
54
+ "eval_steps_per_second": 0.281,
55
+ "step": 50
56
+ },
57
+ {
58
+ "epoch": 1.22,
59
+ "grad_norm": 3.620206356048584,
60
+ "learning_rate": 0.0001317829457364341,
61
+ "logits/chosen": -0.6694058179855347,
62
+ "logits/rejected": -0.5974010229110718,
63
+ "logps/chosen": -13.744880676269531,
64
+ "logps/rejected": -37.68608093261719,
65
+ "loss": 0.2533,
66
+ "rewards/accuracies": 0.887499988079071,
67
+ "rewards/chosen": 0.7727169990539551,
68
+ "rewards/margins": 2.70760178565979,
69
+ "rewards/rejected": -1.934884786605835,
70
+ "step": 60
71
+ },
72
+ {
73
+ "epoch": 1.63,
74
+ "grad_norm": 1.9389252662658691,
75
+ "learning_rate": 0.00010077519379844962,
76
+ "logits/chosen": -0.7864009737968445,
77
+ "logits/rejected": -0.7458208799362183,
78
+ "logps/chosen": -14.465707778930664,
79
+ "logps/rejected": -47.313682556152344,
80
+ "loss": 0.1986,
81
+ "rewards/accuracies": 0.910937488079071,
82
+ "rewards/chosen": 0.6803622841835022,
83
+ "rewards/margins": 3.599208354949951,
84
+ "rewards/rejected": -2.9188458919525146,
85
+ "step": 80
86
+ },
87
+ {
88
+ "epoch": 2.04,
89
+ "grad_norm": 3.7315940856933594,
90
+ "learning_rate": 6.976744186046513e-05,
91
+ "logits/chosen": -0.6323219537734985,
92
+ "logits/rejected": -0.5668066740036011,
93
+ "logps/chosen": -21.151926040649414,
94
+ "logps/rejected": -48.24977493286133,
95
+ "loss": 0.2257,
96
+ "rewards/accuracies": 0.8984375,
97
+ "rewards/chosen": -0.01782902702689171,
98
+ "rewards/margins": 2.9440131187438965,
99
+ "rewards/rejected": -2.9618420600891113,
100
+ "step": 100
101
+ },
102
+ {
103
+ "epoch": 2.04,
104
+ "eval_logits/chosen": -0.6694537997245789,
105
+ "eval_logits/rejected": -0.575288712978363,
106
+ "eval_logps/chosen": -15.8816556930542,
107
+ "eval_logps/rejected": -46.66548156738281,
108
+ "eval_loss": 0.16294628381729126,
109
+ "eval_rewards/accuracies": 0.8977272510528564,
110
+ "eval_rewards/chosen": 0.48170650005340576,
111
+ "eval_rewards/margins": 3.294857978820801,
112
+ "eval_rewards/rejected": -2.8131513595581055,
113
+ "eval_runtime": 78.4229,
114
+ "eval_samples_per_second": 2.219,
115
+ "eval_steps_per_second": 0.281,
116
+ "step": 100
117
+ }
118
+ ],
119
+ "logging_steps": 20,
120
+ "max_steps": 144,
121
+ "num_input_tokens_seen": 0,
122
+ "num_train_epochs": 3,
123
+ "save_steps": 100,
124
+ "total_flos": 0.0,
125
+ "train_batch_size": 8,
126
+ "trial_name": null,
127
+ "trial_params": null
128
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82dfc446835e7968194e1eb4b3cb152f7e90d1269138b2ef5cb515236cbaa517
3
+ size 5304