beamaia commited on
Commit
25e43ba
1 Parent(s): 58bcbc4

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,74 +1,86 @@
1
  ---
2
  license: mit
3
- library_name: peft
4
  tags:
5
- - trl
6
- - dpo
7
- - generated_from_trainer
8
- base_model: HuggingFaceH4/zephyr-7b-beta
9
  model-index:
10
- - name: WeniGPT-2.4.1-Zephyr-7B-3-epochs-LLM_Base_2.0.3_DPO
11
  results: []
 
12
  ---
13
 
14
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
- should probably proofread and complete it, then remove this comment. -->
16
 
17
- # WeniGPT-2.4.1-Zephyr-7B-3-epochs-LLM_Base_2.0.3_DPO
18
 
19
- This model is a fine-tuned version of [HuggingFaceH4/zephyr-7b-beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.6603
22
- - Rewards/chosen: -0.0862
23
- - Rewards/rejected: -0.8016
24
- - Rewards/accuracies: 0.0500
25
- - Rewards/margins: 0.7154
26
- - Logps/rejected: -15.9648
27
- - Logps/chosen: -5.8822
28
- - Logits/rejected: -2.0424
29
- - Logits/chosen: -2.0422
30
 
31
- ## Model description
32
 
33
- More information needed
34
 
35
- ## Intended uses & limitations
36
 
37
- More information needed
38
 
39
- ## Training and evaluation data
 
 
 
 
 
 
40
 
41
- More information needed
 
 
 
 
 
 
42
 
43
- ## Training procedure
44
 
45
  ### Training hyperparameters
46
 
47
  The following hyperparameters were used during training:
48
  - learning_rate: 5e-05
49
- - train_batch_size: 8
50
- - eval_batch_size: 8
51
- - seed: 42
52
  - gradient_accumulation_steps: 4
 
53
  - total_train_batch_size: 32
54
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
- - lr_scheduler_type: linear
56
- - lr_scheduler_warmup_ratio: 0.1
57
- - training_steps: 267
58
- - mixed_precision_training: Native AMP
59
 
60
  ### Training results
61
 
62
- | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
63
- |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
64
- | 0.645 | 1.12 | 100 | 0.6629 | -0.0384 | -0.7857 | 0.0469 | 0.7473 | -15.8056 | -5.4039 | -2.0586 | -2.0584 |
65
- | 0.6487 | 2.23 | 200 | 0.6603 | -0.0862 | -0.8016 | 0.0500 | 0.7154 | -15.9648 | -5.8822 | -2.0424 | -2.0422 |
66
-
67
-
68
  ### Framework versions
69
 
70
- - PEFT 0.8.2
71
- - Transformers 4.38.2
72
- - Pytorch 2.1.0+cu118
73
- - Datasets 2.17.1
74
- - Tokenizers 0.15.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ library_name: "trl"
4
  tags:
5
+ - DPO
6
+ - WeniGPT
7
+ base_model: Weni/WeniGPT-2.2.3-Zephyr-7B-LLM_Base_2.0.3_SFT
 
8
  model-index:
9
+ - name: Weni/WeniGPT-2.4.1-Zephyr-7B-3-epochs-LLM_Base_2.0.3_DPO
10
  results: []
11
+ language: ['pt']
12
  ---
13
 
14
+ # Weni/WeniGPT-2.4.1-Zephyr-7B-3-epochs-LLM_Base_2.0.3_DPO
 
15
 
16
+ This model is a fine-tuned version of [Weni/WeniGPT-2.2.3-Zephyr-7B-LLM_Base_2.0.3_SFT] on the dataset Weni/WeniGPT-QA-1.0.1_DPO with the DPO trainer. It is part of the WeniGPT project for [Weni](https://weni.ai/).
17
 
 
18
  It achieves the following results on the evaluation set:
19
+ {'eval_loss': 0.6602855324745178, 'eval_runtime': 184.5803, 'eval_samples_per_second': 1.723, 'eval_steps_per_second': 0.217, 'eval_rewards/chosen': -0.08619274199008942, 'eval_rewards/rejected': -0.8016107678413391, 'eval_rewards/accuracies': 0.05000000074505806, 'eval_rewards/margins': 0.7154179811477661, 'eval_logps/rejected': -15.964799880981445, 'eval_logps/chosen': -5.8821868896484375, 'eval_logits/rejected': -2.0424394607543945, 'eval_logits/chosen': -2.042232036590576, 'epoch': 2.98}
 
 
 
 
 
 
 
 
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/WeniGPT-2.2.3-Zephyr-7B-LLM_Base_2.0.3_SFT with the following prompt:
28
 
29
+ ```
30
+ ---------------------
31
+ Pt:
32
+ ### Instruction:
33
+ Você é um médico tratando um paciente com amnésia. Para responder as perguntas do paciente, você irá ler um texto anteriormente para se contextualizar. Se você trouxer informações desconhecidas, fora do texto lido, poderá deixar o paciente confuso. Se o paciente fizer uma questão sobre informações não presentes no texto, você precisa responder de forma educada que você não tem informação suficiente para responder, pois se tentar responder, pode trazer informações que não ajudarão o paciente recuperar sua memória.Lembre, se não estiver no texto, você precisa responder de forma educada que você não tem informação suficiente para responder. Precisamos ajudar o paciente.
34
+ </s>### Input:
35
+ TEXTO: {context}
36
 
37
+ PERGUNTA: {question}
38
+ </s>
39
+ ### Response:
40
+ RESPOSTA: {chosen_response}</s>
41
+ ### Response:
42
+ RESPOSTA: {rejected_response}</s>
43
+ ---------------------
44
 
45
+ ```
46
 
47
  ### Training hyperparameters
48
 
49
  The following hyperparameters were used during training:
50
  - learning_rate: 5e-05
51
+ - per_device_train_batch_size: 8
52
+ - per_device_eval_batch_size: 8
 
53
  - gradient_accumulation_steps: 4
54
+ - num_gpus: 1
55
  - total_train_batch_size: 32
56
+ - optimizer: AdamW
57
+ - lr_scheduler_type: cosine
58
+ - num_steps: 267
59
+ - quantization_type: bitsandbytes
60
+ - 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",)
61
 
62
  ### Training results
63
 
 
 
 
 
 
 
64
  ### Framework versions
65
 
66
+ - transformers==4.38.2
67
+ - datasets==2.17.1
68
+ - peft==0.8.2
69
+ - safetensors==0.4.2
70
+ - evaluate==0.4.1
71
+ - bitsandbytes==0.42
72
+ - huggingface_hub==0.20.3
73
+ - seqeval==1.2.2
74
+ - optimum==1.17.1
75
+ - auto-gptq==0.7.0
76
+ - gpustat==1.1.1
77
+ - deepspeed==0.13.2
78
+ - wandb==0.16.3
79
+ - trl==0.7.11
80
+ - accelerate==0.27.2
81
+ - coloredlogs==15.0.1
82
+ - traitlets==5.14.1
83
+ - autoawq@https://github.com/casper-hansen/AutoAWQ/releases/download/v0.2.0/autoawq-0.2.0+cu118-cp310-cp310-linux_x86_64.whl
84
+
85
+ ### Hardware
86
+ - Cloud provided: runpod.io
checkpoint-100/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: HuggingFaceH4/zephyr-7b-beta
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": "HuggingFaceH4/zephyr-7b-beta",
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
+ "v_proj",
23
+ "q_proj",
24
+ "k_proj",
25
+ "o_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:200462bb676302eca51748672a69af70e6fe58feb201ceaa8aa3ed52699ebfbc
3
+ size 27297032
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0566c09e0c1666911e65fca1fbe3506f27b066107bc840f7083e12199532e377
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:9196a1e708bf24d6abba41cce3f8558820acc3e50f9394c5955e29eb41ffea3d
3
+ size 14244
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e85eb5e8ce1c87a3053dd36ae0a5432c9d3f45c4a2b29b3840650475400188a7
3
+ size 1064
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": "<unk>",
22
+ "unk_token": {
23
+ "content": "<unk>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ }
29
+ }
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,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
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
+ "<unk>",
32
+ "<s>",
33
+ "</s>"
34
+ ],
35
+ "bos_token": "<s>",
36
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
37
+ "clean_up_tokenization_spaces": false,
38
+ "eos_token": "</s>",
39
+ "legacy": true,
40
+ "max_lenght": 2048,
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "<unk>",
43
+ "padding": true,
44
+ "sp_model_kwargs": {},
45
+ "spaces_between_special_tokens": false,
46
+ "tokenizer_class": "LlamaTokenizer",
47
+ "truncation_side": "left",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": true
50
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6628985404968262,
3
+ "best_model_checkpoint": "./Zephyr/14-03-24-Weni-WeniGPT-2.4.1-Zephyr-7B-3-epochs-LLM_Base_2.0.3_DPO_WeniGPT DPO training-2_max_steps-267_batch_32_2024-03-14_ppid_9/checkpoint-100",
4
+ "epoch": 1.1173184357541899,
5
+ "eval_steps": 100,
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.22,
13
+ "grad_norm": 2.263607978820801,
14
+ "learning_rate": 3.518518518518519e-05,
15
+ "logits/chosen": -2.214717149734497,
16
+ "logits/rejected": -2.2155280113220215,
17
+ "logps/chosen": -5.710334777832031,
18
+ "logps/rejected": -9.765484809875488,
19
+ "loss": 0.6883,
20
+ "rewards/accuracies": 0.04062499850988388,
21
+ "rewards/chosen": 0.009401815943419933,
22
+ "rewards/margins": 0.012448241002857685,
23
+ "rewards/rejected": -0.0030464245937764645,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.45,
28
+ "grad_norm": 0.008143444545567036,
29
+ "learning_rate": 4.75e-05,
30
+ "logits/chosen": -2.2037911415100098,
31
+ "logits/rejected": -2.2049593925476074,
32
+ "logps/chosen": -4.532853126525879,
33
+ "logps/rejected": -9.577239036560059,
34
+ "loss": 0.6685,
35
+ "rewards/accuracies": 0.05000000074505806,
36
+ "rewards/chosen": 0.05643541365861893,
37
+ "rewards/margins": 0.14316150546073914,
38
+ "rewards/rejected": -0.0867261067032814,
39
+ "step": 40
40
+ },
41
+ {
42
+ "epoch": 0.67,
43
+ "grad_norm": 0.03508400544524193,
44
+ "learning_rate": 4.3333333333333334e-05,
45
+ "logits/chosen": -2.1209869384765625,
46
+ "logits/rejected": -2.1222269535064697,
47
+ "logps/chosen": -8.109282493591309,
48
+ "logps/rejected": -18.921493530273438,
49
+ "loss": 0.648,
50
+ "rewards/accuracies": 0.06875000149011612,
51
+ "rewards/chosen": -0.08420856297016144,
52
+ "rewards/margins": 0.552670955657959,
53
+ "rewards/rejected": -0.636879563331604,
54
+ "step": 60
55
+ },
56
+ {
57
+ "epoch": 0.89,
58
+ "grad_norm": 9.134880656347377e-07,
59
+ "learning_rate": 3.9166666666666665e-05,
60
+ "logits/chosen": -2.05387020111084,
61
+ "logits/rejected": -2.0554463863372803,
62
+ "logps/chosen": -10.270573616027832,
63
+ "logps/rejected": -23.5235595703125,
64
+ "loss": 0.6617,
65
+ "rewards/accuracies": 0.0703125,
66
+ "rewards/chosen": -0.29610732197761536,
67
+ "rewards/margins": 0.937633216381073,
68
+ "rewards/rejected": -1.2337405681610107,
69
+ "step": 80
70
+ },
71
+ {
72
+ "epoch": 1.12,
73
+ "grad_norm": 0.011362694203853607,
74
+ "learning_rate": 3.5e-05,
75
+ "logits/chosen": -2.0597641468048096,
76
+ "logits/rejected": -2.061570167541504,
77
+ "logps/chosen": -8.65438175201416,
78
+ "logps/rejected": -23.752864837646484,
79
+ "loss": 0.645,
80
+ "rewards/accuracies": 0.0703125,
81
+ "rewards/chosen": -0.09740939736366272,
82
+ "rewards/margins": 1.0688247680664062,
83
+ "rewards/rejected": -1.1662342548370361,
84
+ "step": 100
85
+ },
86
+ {
87
+ "epoch": 1.12,
88
+ "eval_logits/chosen": -2.0584123134613037,
89
+ "eval_logits/rejected": -2.058645725250244,
90
+ "eval_logps/chosen": -5.4038591384887695,
91
+ "eval_logps/rejected": -15.805567741394043,
92
+ "eval_loss": 0.6628985404968262,
93
+ "eval_rewards/accuracies": 0.046875,
94
+ "eval_rewards/chosen": -0.038359977304935455,
95
+ "eval_rewards/margins": 0.7473276853561401,
96
+ "eval_rewards/rejected": -0.7856876254081726,
97
+ "eval_runtime": 184.5849,
98
+ "eval_samples_per_second": 1.723,
99
+ "eval_steps_per_second": 0.217,
100
+ "step": 100
101
+ }
102
+ ],
103
+ "logging_steps": 20,
104
+ "max_steps": 267,
105
+ "num_input_tokens_seen": 0,
106
+ "num_train_epochs": 3,
107
+ "save_steps": 100,
108
+ "total_flos": 0.0,
109
+ "train_batch_size": 8,
110
+ "trial_name": null,
111
+ "trial_params": null
112
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a385849d1a05b1f7ea603748a6cabbad64cd68095c966fe10e782d984f338a4a
3
+ size 5240
checkpoint-200/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: HuggingFaceH4/zephyr-7b-beta
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-200/adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "HuggingFaceH4/zephyr-7b-beta",
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
+ "v_proj",
23
+ "q_proj",
24
+ "k_proj",
25
+ "o_proj"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_rslora": false
29
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d49daf3c9a2d5ec22a597c843781e72da838bfb9a8fd067070ddca9c853a4b79
3
+ size 27297032
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78e50b6921a7b70c8e10b3ba3489636fca10c9d1064d8ad82da294edbcbef2ce
3
+ size 54740730
checkpoint-200/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-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4b4f2f944de5e5959a283a56f4d070e16f6730d7f6918f50d96cbc609fd08ec
3
+ size 1064
checkpoint-200/special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": "<unk>",
22
+ "unk_token": {
23
+ "content": "<unk>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false
28
+ }
29
+ }
checkpoint-200/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-200/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
checkpoint-200/tokenizer_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": true,
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
+ "<unk>",
32
+ "<s>",
33
+ "</s>"
34
+ ],
35
+ "bos_token": "<s>",
36
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
37
+ "clean_up_tokenization_spaces": false,
38
+ "eos_token": "</s>",
39
+ "legacy": true,
40
+ "max_lenght": 2048,
41
+ "model_max_length": 1000000000000000019884624838656,
42
+ "pad_token": "<unk>",
43
+ "padding": true,
44
+ "sp_model_kwargs": {},
45
+ "spaces_between_special_tokens": false,
46
+ "tokenizer_class": "LlamaTokenizer",
47
+ "truncation_side": "left",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": true
50
+ }
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6602855324745178,
3
+ "best_model_checkpoint": "./Zephyr/14-03-24-Weni-WeniGPT-2.4.1-Zephyr-7B-3-epochs-LLM_Base_2.0.3_DPO_WeniGPT DPO training-2_max_steps-267_batch_32_2024-03-14_ppid_9/checkpoint-200",
4
+ "epoch": 2.2346368715083798,
5
+ "eval_steps": 100,
6
+ "global_step": 200,
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.22,
13
+ "grad_norm": 2.263607978820801,
14
+ "learning_rate": 3.518518518518519e-05,
15
+ "logits/chosen": -2.214717149734497,
16
+ "logits/rejected": -2.2155280113220215,
17
+ "logps/chosen": -5.710334777832031,
18
+ "logps/rejected": -9.765484809875488,
19
+ "loss": 0.6883,
20
+ "rewards/accuracies": 0.04062499850988388,
21
+ "rewards/chosen": 0.009401815943419933,
22
+ "rewards/margins": 0.012448241002857685,
23
+ "rewards/rejected": -0.0030464245937764645,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.45,
28
+ "grad_norm": 0.008143444545567036,
29
+ "learning_rate": 4.75e-05,
30
+ "logits/chosen": -2.2037911415100098,
31
+ "logits/rejected": -2.2049593925476074,
32
+ "logps/chosen": -4.532853126525879,
33
+ "logps/rejected": -9.577239036560059,
34
+ "loss": 0.6685,
35
+ "rewards/accuracies": 0.05000000074505806,
36
+ "rewards/chosen": 0.05643541365861893,
37
+ "rewards/margins": 0.14316150546073914,
38
+ "rewards/rejected": -0.0867261067032814,
39
+ "step": 40
40
+ },
41
+ {
42
+ "epoch": 0.67,
43
+ "grad_norm": 0.03508400544524193,
44
+ "learning_rate": 4.3333333333333334e-05,
45
+ "logits/chosen": -2.1209869384765625,
46
+ "logits/rejected": -2.1222269535064697,
47
+ "logps/chosen": -8.109282493591309,
48
+ "logps/rejected": -18.921493530273438,
49
+ "loss": 0.648,
50
+ "rewards/accuracies": 0.06875000149011612,
51
+ "rewards/chosen": -0.08420856297016144,
52
+ "rewards/margins": 0.552670955657959,
53
+ "rewards/rejected": -0.636879563331604,
54
+ "step": 60
55
+ },
56
+ {
57
+ "epoch": 0.89,
58
+ "grad_norm": 9.134880656347377e-07,
59
+ "learning_rate": 3.9166666666666665e-05,
60
+ "logits/chosen": -2.05387020111084,
61
+ "logits/rejected": -2.0554463863372803,
62
+ "logps/chosen": -10.270573616027832,
63
+ "logps/rejected": -23.5235595703125,
64
+ "loss": 0.6617,
65
+ "rewards/accuracies": 0.0703125,
66
+ "rewards/chosen": -0.29610732197761536,
67
+ "rewards/margins": 0.937633216381073,
68
+ "rewards/rejected": -1.2337405681610107,
69
+ "step": 80
70
+ },
71
+ {
72
+ "epoch": 1.12,
73
+ "grad_norm": 0.011362694203853607,
74
+ "learning_rate": 3.5e-05,
75
+ "logits/chosen": -2.0597641468048096,
76
+ "logits/rejected": -2.061570167541504,
77
+ "logps/chosen": -8.65438175201416,
78
+ "logps/rejected": -23.752864837646484,
79
+ "loss": 0.645,
80
+ "rewards/accuracies": 0.0703125,
81
+ "rewards/chosen": -0.09740939736366272,
82
+ "rewards/margins": 1.0688247680664062,
83
+ "rewards/rejected": -1.1662342548370361,
84
+ "step": 100
85
+ },
86
+ {
87
+ "epoch": 1.12,
88
+ "eval_logits/chosen": -2.0584123134613037,
89
+ "eval_logits/rejected": -2.058645725250244,
90
+ "eval_logps/chosen": -5.4038591384887695,
91
+ "eval_logps/rejected": -15.805567741394043,
92
+ "eval_loss": 0.6628985404968262,
93
+ "eval_rewards/accuracies": 0.046875,
94
+ "eval_rewards/chosen": -0.038359977304935455,
95
+ "eval_rewards/margins": 0.7473276853561401,
96
+ "eval_rewards/rejected": -0.7856876254081726,
97
+ "eval_runtime": 184.5849,
98
+ "eval_samples_per_second": 1.723,
99
+ "eval_steps_per_second": 0.217,
100
+ "step": 100
101
+ },
102
+ {
103
+ "epoch": 1.34,
104
+ "grad_norm": 0.0013161306269466877,
105
+ "learning_rate": 3.0833333333333335e-05,
106
+ "logits/chosen": -2.0432400703430176,
107
+ "logits/rejected": -2.044841766357422,
108
+ "logps/chosen": -6.820550441741943,
109
+ "logps/rejected": -21.021259307861328,
110
+ "loss": 0.6477,
111
+ "rewards/accuracies": 0.06562499701976776,
112
+ "rewards/chosen": -0.02809135988354683,
113
+ "rewards/margins": 1.0132167339324951,
114
+ "rewards/rejected": -1.0413081645965576,
115
+ "step": 120
116
+ },
117
+ {
118
+ "epoch": 1.56,
119
+ "grad_norm": 8.640726264275145e-06,
120
+ "learning_rate": 2.6666666666666667e-05,
121
+ "logits/chosen": -2.054994821548462,
122
+ "logits/rejected": -2.0564422607421875,
123
+ "logps/chosen": -5.1008477210998535,
124
+ "logps/rejected": -13.319849014282227,
125
+ "loss": 0.6628,
126
+ "rewards/accuracies": 0.04374999925494194,
127
+ "rewards/chosen": -0.057785846292972565,
128
+ "rewards/margins": 0.5807012319564819,
129
+ "rewards/rejected": -0.6384871006011963,
130
+ "step": 140
131
+ },
132
+ {
133
+ "epoch": 1.79,
134
+ "grad_norm": 0.0,
135
+ "learning_rate": 2.25e-05,
136
+ "logits/chosen": -2.040984869003296,
137
+ "logits/rejected": -2.042287826538086,
138
+ "logps/chosen": -7.02631139755249,
139
+ "logps/rejected": -23.568788528442383,
140
+ "loss": 0.6466,
141
+ "rewards/accuracies": 0.06718750298023224,
142
+ "rewards/chosen": -0.03699848800897598,
143
+ "rewards/margins": 1.1374967098236084,
144
+ "rewards/rejected": -1.1744953393936157,
145
+ "step": 160
146
+ },
147
+ {
148
+ "epoch": 2.01,
149
+ "grad_norm": 0.00016398979641962796,
150
+ "learning_rate": 1.8333333333333333e-05,
151
+ "logits/chosen": -2.0391345024108887,
152
+ "logits/rejected": -2.0405616760253906,
153
+ "logps/chosen": -6.764143943786621,
154
+ "logps/rejected": -21.696426391601562,
155
+ "loss": 0.6527,
156
+ "rewards/accuracies": 0.05833333730697632,
157
+ "rewards/chosen": -0.05727072432637215,
158
+ "rewards/margins": 1.0412245988845825,
159
+ "rewards/rejected": -1.098495364189148,
160
+ "step": 180
161
+ },
162
+ {
163
+ "epoch": 2.23,
164
+ "grad_norm": 7.534373480666545e-07,
165
+ "learning_rate": 1.4166666666666668e-05,
166
+ "logits/chosen": -2.037209987640381,
167
+ "logits/rejected": -2.038935899734497,
168
+ "logps/chosen": -6.84408712387085,
169
+ "logps/rejected": -22.35368537902832,
170
+ "loss": 0.6487,
171
+ "rewards/accuracies": 0.06406249850988388,
172
+ "rewards/chosen": -0.04177577421069145,
173
+ "rewards/margins": 1.066990852355957,
174
+ "rewards/rejected": -1.1087664365768433,
175
+ "step": 200
176
+ },
177
+ {
178
+ "epoch": 2.23,
179
+ "eval_logits/chosen": -2.042232036590576,
180
+ "eval_logits/rejected": -2.0424394607543945,
181
+ "eval_logps/chosen": -5.8821868896484375,
182
+ "eval_logps/rejected": -15.964799880981445,
183
+ "eval_loss": 0.6602855324745178,
184
+ "eval_rewards/accuracies": 0.05000000074505806,
185
+ "eval_rewards/chosen": -0.08619274199008942,
186
+ "eval_rewards/margins": 0.7154179811477661,
187
+ "eval_rewards/rejected": -0.8016107678413391,
188
+ "eval_runtime": 184.5752,
189
+ "eval_samples_per_second": 1.723,
190
+ "eval_steps_per_second": 0.217,
191
+ "step": 200
192
+ }
193
+ ],
194
+ "logging_steps": 20,
195
+ "max_steps": 267,
196
+ "num_input_tokens_seen": 0,
197
+ "num_train_epochs": 3,
198
+ "save_steps": 100,
199
+ "total_flos": 0.0,
200
+ "train_batch_size": 8,
201
+ "trial_name": null,
202
+ "trial_params": null
203
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a385849d1a05b1f7ea603748a6cabbad64cd68095c966fe10e782d984f338a4a
3
+ size 5240