Upload folder using huggingface_hub
Browse files- README.md +81 -0
- checkpoint-100/README.md +204 -0
- checkpoint-100/adapter_config.json +29 -0
- checkpoint-100/adapter_model.safetensors +3 -0
- checkpoint-100/optimizer.pt +3 -0
- checkpoint-100/rng_state.pth +3 -0
- checkpoint-100/scheduler.pt +3 -0
- checkpoint-100/special_tokens_map.json +29 -0
- checkpoint-100/tokenizer.json +0 -0
- checkpoint-100/tokenizer.model +3 -0
- checkpoint-100/tokenizer_config.json +50 -0
- checkpoint-100/trainer_state.json +112 -0
- checkpoint-100/training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: "trl"
|
4 |
+
tags:
|
5 |
+
- DPO
|
6 |
+
- WeniGPT
|
7 |
+
base_model: Weni/WeniGPT-2.2.3-Zephyr-7B-merged-LLM_Base_2.0.3_SFT
|
8 |
+
model-index:
|
9 |
+
- name: Weni/WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-DPO-binarized
|
10 |
+
results: []
|
11 |
+
language: ['en']
|
12 |
+
---
|
13 |
+
|
14 |
+
# Weni/WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-DPO-binarized
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [Weni/WeniGPT-2.2.3-Zephyr-7B-merged-LLM_Base_2.0.3_SFT] on the dataset HuggingFaceH4/ultrafeedback_binarized 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': 1.6283894777297974, 'eval_runtime': 99.8179, 'eval_samples_per_second': 2.004, 'eval_steps_per_second': 0.501, 'eval_rewards/chosen': 0.8732965588569641, 'eval_rewards/rejected': -6.086017608642578, 'eval_rewards/accuracies': 0.5649999976158142, 'eval_rewards/margins': 6.959313869476318, 'eval_logps/rejected': -357.7032165527344, 'eval_logps/chosen': -362.0609130859375, 'eval_logits/rejected': -2.5749547481536865, 'eval_logits/chosen': -2.5779407024383545, 'epoch': 1.0}
|
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-merged-LLM_Base_2.0.3_SFT with the following prompt:
|
28 |
+
|
29 |
+
```
|
30 |
+
Prompt:
|
31 |
+
<|user|>{prompt}</s>
|
32 |
+
|
33 |
+
|
34 |
+
Chosen:
|
35 |
+
<|assistant|>{chosen}</s>
|
36 |
+
|
37 |
+
|
38 |
+
Rejected:
|
39 |
+
<|assistant|>{rejected}</s>
|
40 |
+
```
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 0.0002
|
46 |
+
- per_device_train_batch_size: 4
|
47 |
+
- per_device_eval_batch_size: 4
|
48 |
+
- gradient_accumulation_steps: 4
|
49 |
+
- num_gpus: 1
|
50 |
+
- total_train_batch_size: 16
|
51 |
+
- optimizer: AdamW
|
52 |
+
- lr_scheduler_type: cosine
|
53 |
+
- num_steps: 112
|
54 |
+
- quantization_type: bitsandbytes
|
55 |
+
- LoRA: ("\n - bits: 4\n - use_exllama: True\n - device_map: auto\n - use_cache: False\n - lora_r: 16\n - lora_alpha: 16\n - lora_dropout: 0.05\n - bias: none\n - target_modules: ['q_proj', 'k_proj', 'v_proj', 'o_proj']\n - task_type: CAUSAL_LM",)
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
### Framework versions
|
60 |
+
|
61 |
+
- transformers==4.38.2
|
62 |
+
- datasets==2.17.1
|
63 |
+
- peft==0.8.2
|
64 |
+
- safetensors==0.4.2
|
65 |
+
- evaluate==0.4.1
|
66 |
+
- bitsandbytes==0.42
|
67 |
+
- huggingface_hub==0.20.3
|
68 |
+
- seqeval==1.2.2
|
69 |
+
- optimum==1.17.1
|
70 |
+
- auto-gptq==0.7.0
|
71 |
+
- gpustat==1.1.1
|
72 |
+
- deepspeed==0.13.2
|
73 |
+
- wandb==0.16.3
|
74 |
+
- trl==0.7.11
|
75 |
+
- accelerate==0.27.2
|
76 |
+
- coloredlogs==15.0.1
|
77 |
+
- traitlets==5.14.1
|
78 |
+
- autoawq@https://github.com/casper-hansen/AutoAWQ/releases/download/v0.2.0/autoawq-0.2.0+cu118-cp310-cp310-linux_x86_64.whl
|
79 |
+
|
80 |
+
### Hardware
|
81 |
+
- Cloud provided: runpod.io
|
checkpoint-100/README.md
ADDED
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: Weni/WeniGPT-2.2.3-Zephyr-7B-merged-LLM_Base_2.0.3_SFT
|
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/WeniGPT-2.2.3-Zephyr-7B-merged-LLM_Base_2.0.3_SFT",
|
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.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 16,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"q_proj",
|
23 |
+
"v_proj",
|
24 |
+
"o_proj",
|
25 |
+
"k_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:67890ffd7c6595dfdb963fcb9342a39db693733ab60a8696298e2235c48ff73e
|
3 |
+
size 54560368
|
checkpoint-100/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6eca6ba184fafba31150f61d00677ba7e72f1ed0fff0525bac0fabef2be99198
|
3 |
+
size 109267450
|
checkpoint-100/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36
|
3 |
+
size 14244
|
checkpoint-100/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7371f521e4465c940bcb0f9d80acd26b412598124775bb14605e26cdd0d9bde3
|
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": 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 |
+
"<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": 1.6283894777297974,
|
3 |
+
"best_model_checkpoint": "./Zephyr/09-03-24-Weni-WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-DPO-binarized_DPO tests with binarized dataset-2_max_steps-112_batch_16_2024-03-09_ppid_7/checkpoint-100",
|
4 |
+
"epoch": 0.8888888888888888,
|
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.18,
|
13 |
+
"grad_norm": 65.50724029541016,
|
14 |
+
"learning_rate": 0.000194,
|
15 |
+
"logits/chosen": -2.6164324283599854,
|
16 |
+
"logits/rejected": -2.6339125633239746,
|
17 |
+
"logps/chosen": -366.4737854003906,
|
18 |
+
"logps/rejected": -344.0569763183594,
|
19 |
+
"loss": 1.0162,
|
20 |
+
"rewards/accuracies": 0.3218750059604645,
|
21 |
+
"rewards/chosen": -0.37838560342788696,
|
22 |
+
"rewards/margins": 0.8077453374862671,
|
23 |
+
"rewards/rejected": -1.1861308813095093,
|
24 |
+
"step": 20
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.36,
|
28 |
+
"grad_norm": 302.9382629394531,
|
29 |
+
"learning_rate": 0.000154,
|
30 |
+
"logits/chosen": -2.624668598175049,
|
31 |
+
"logits/rejected": -2.626055955886841,
|
32 |
+
"logps/chosen": -387.1952209472656,
|
33 |
+
"logps/rejected": -358.3865661621094,
|
34 |
+
"loss": 2.0677,
|
35 |
+
"rewards/accuracies": 0.5562499761581421,
|
36 |
+
"rewards/chosen": 8.134626388549805,
|
37 |
+
"rewards/margins": 6.054707050323486,
|
38 |
+
"rewards/rejected": 2.0799195766448975,
|
39 |
+
"step": 40
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.53,
|
43 |
+
"grad_norm": 105.22598266601562,
|
44 |
+
"learning_rate": 0.00011399999999999999,
|
45 |
+
"logits/chosen": -2.7092220783233643,
|
46 |
+
"logits/rejected": -2.7026538848876953,
|
47 |
+
"logps/chosen": -317.4967041015625,
|
48 |
+
"logps/rejected": -311.2018737792969,
|
49 |
+
"loss": 2.2608,
|
50 |
+
"rewards/accuracies": 0.47187501192092896,
|
51 |
+
"rewards/chosen": 0.6841039657592773,
|
52 |
+
"rewards/margins": 5.323451042175293,
|
53 |
+
"rewards/rejected": -4.639346599578857,
|
54 |
+
"step": 60
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.71,
|
58 |
+
"grad_norm": 82.97381591796875,
|
59 |
+
"learning_rate": 7.4e-05,
|
60 |
+
"logits/chosen": -2.659626007080078,
|
61 |
+
"logits/rejected": -2.6671993732452393,
|
62 |
+
"logps/chosen": -358.8479919433594,
|
63 |
+
"logps/rejected": -344.2733154296875,
|
64 |
+
"loss": 2.3074,
|
65 |
+
"rewards/accuracies": 0.512499988079071,
|
66 |
+
"rewards/chosen": -0.8363685607910156,
|
67 |
+
"rewards/margins": 4.435623645782471,
|
68 |
+
"rewards/rejected": -5.2719926834106445,
|
69 |
+
"step": 80
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.89,
|
73 |
+
"grad_norm": 139.97763061523438,
|
74 |
+
"learning_rate": 3.4000000000000007e-05,
|
75 |
+
"logits/chosen": -2.6330013275146484,
|
76 |
+
"logits/rejected": -2.6500449180603027,
|
77 |
+
"logps/chosen": -378.33270263671875,
|
78 |
+
"logps/rejected": -368.93402099609375,
|
79 |
+
"loss": 2.0157,
|
80 |
+
"rewards/accuracies": 0.5093749761581421,
|
81 |
+
"rewards/chosen": -0.5400040745735168,
|
82 |
+
"rewards/margins": 4.212619304656982,
|
83 |
+
"rewards/rejected": -4.752623558044434,
|
84 |
+
"step": 100
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.89,
|
88 |
+
"eval_logits/chosen": -2.5779407024383545,
|
89 |
+
"eval_logits/rejected": -2.5749547481536865,
|
90 |
+
"eval_logps/chosen": -362.0609130859375,
|
91 |
+
"eval_logps/rejected": -357.7032165527344,
|
92 |
+
"eval_loss": 1.6283894777297974,
|
93 |
+
"eval_rewards/accuracies": 0.5649999976158142,
|
94 |
+
"eval_rewards/chosen": 0.8732965588569641,
|
95 |
+
"eval_rewards/margins": 6.959313869476318,
|
96 |
+
"eval_rewards/rejected": -6.086017608642578,
|
97 |
+
"eval_runtime": 99.816,
|
98 |
+
"eval_samples_per_second": 2.004,
|
99 |
+
"eval_steps_per_second": 0.501,
|
100 |
+
"step": 100
|
101 |
+
}
|
102 |
+
],
|
103 |
+
"logging_steps": 20,
|
104 |
+
"max_steps": 112,
|
105 |
+
"num_input_tokens_seen": 0,
|
106 |
+
"num_train_epochs": 1,
|
107 |
+
"save_steps": 100,
|
108 |
+
"total_flos": 0.0,
|
109 |
+
"train_batch_size": 4,
|
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:5c7bfaa4b1db6c46bcee7e957faddcec660661bcf64a0a6e6a239a38a902826c
|
3 |
+
size 5240
|