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-binarized
|
10 |
+
results: []
|
11 |
+
language: ['en']
|
12 |
+
---
|
13 |
+
|
14 |
+
# Weni/WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-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.9671216011047363, 'eval_runtime': 94.0811, 'eval_samples_per_second': 2.126, 'eval_steps_per_second': 0.531, 'eval_rewards/chosen': 16.395244598388672, 'eval_rewards/rejected': 11.052546501159668, 'eval_rewards/accuracies': 0.5299999713897705, 'eval_rewards/margins': 5.342697620391846, 'eval_logps/rejected': -302.33038330078125, 'eval_logps/chosen': -315.1849365234375, 'eval_logits/rejected': -2.665374517440796, 'eval_logits/chosen': -2.6737234592437744, '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 |
+
"v_proj",
|
23 |
+
"k_proj",
|
24 |
+
"o_proj",
|
25 |
+
"q_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:89587a45e4563813d1a48847bde677aff820b46b52b5ef87486de1ca001301e7
|
3 |
+
size 54560368
|
checkpoint-100/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7d333a46ab3d406817fffcb5f2516de9632ede6e57dfa3f39287910cb397133
|
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:616a76f400d0591a56f650034351b9a0b8090ba09d5b1281f67f2fe928155a62
|
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.9671216011047363,
|
3 |
+
"best_model_checkpoint": "./Zephyr/08-03-24-Weni-WeniGPT-2.8.1-Zephyr-7B-zephyr-prompt-binarized_DPO tests with binarized dataset-2_max_steps-112_batch_16_2024-03-08_ppid_6084/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": 127.65515899658203,
|
14 |
+
"learning_rate": 0.000196,
|
15 |
+
"logits/chosen": -2.6218972206115723,
|
16 |
+
"logits/rejected": -2.633502721786499,
|
17 |
+
"logps/chosen": -354.8285217285156,
|
18 |
+
"logps/rejected": -330.65618896484375,
|
19 |
+
"loss": 0.9408,
|
20 |
+
"rewards/accuracies": 0.3187499940395355,
|
21 |
+
"rewards/chosen": 0.786542534828186,
|
22 |
+
"rewards/margins": 0.8856236338615417,
|
23 |
+
"rewards/rejected": -0.0990811362862587,
|
24 |
+
"step": 20
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.36,
|
28 |
+
"grad_norm": 100.33204650878906,
|
29 |
+
"learning_rate": 0.00015600000000000002,
|
30 |
+
"logits/chosen": -2.601306438446045,
|
31 |
+
"logits/rejected": -2.603407859802246,
|
32 |
+
"logps/chosen": -380.29278564453125,
|
33 |
+
"logps/rejected": -378.058837890625,
|
34 |
+
"loss": 2.3541,
|
35 |
+
"rewards/accuracies": 0.512499988079071,
|
36 |
+
"rewards/chosen": -21.387256622314453,
|
37 |
+
"rewards/margins": 5.288139820098877,
|
38 |
+
"rewards/rejected": -26.67539405822754,
|
39 |
+
"step": 40
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.53,
|
43 |
+
"grad_norm": 119.01980590820312,
|
44 |
+
"learning_rate": 0.000116,
|
45 |
+
"logits/chosen": -2.6841213703155518,
|
46 |
+
"logits/rejected": -2.687854766845703,
|
47 |
+
"logps/chosen": -386.38092041015625,
|
48 |
+
"logps/rejected": -352.339599609375,
|
49 |
+
"loss": 2.1735,
|
50 |
+
"rewards/accuracies": 0.515625,
|
51 |
+
"rewards/chosen": 3.8835861682891846,
|
52 |
+
"rewards/margins": 6.221602439880371,
|
53 |
+
"rewards/rejected": -2.3380165100097656,
|
54 |
+
"step": 60
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.71,
|
58 |
+
"grad_norm": 130.1094970703125,
|
59 |
+
"learning_rate": 7.6e-05,
|
60 |
+
"logits/chosen": -2.6585447788238525,
|
61 |
+
"logits/rejected": -2.6561551094055176,
|
62 |
+
"logps/chosen": -363.74505615234375,
|
63 |
+
"logps/rejected": -364.60345458984375,
|
64 |
+
"loss": 2.2803,
|
65 |
+
"rewards/accuracies": 0.534375011920929,
|
66 |
+
"rewards/chosen": 7.4982590675354,
|
67 |
+
"rewards/margins": 6.500301361083984,
|
68 |
+
"rewards/rejected": 0.9979569315910339,
|
69 |
+
"step": 80
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.89,
|
73 |
+
"grad_norm": 26.163677215576172,
|
74 |
+
"learning_rate": 3.6e-05,
|
75 |
+
"logits/chosen": -2.6528234481811523,
|
76 |
+
"logits/rejected": -2.6701245307922363,
|
77 |
+
"logps/chosen": -342.9712829589844,
|
78 |
+
"logps/rejected": -348.4390869140625,
|
79 |
+
"loss": 1.8369,
|
80 |
+
"rewards/accuracies": 0.5531250238418579,
|
81 |
+
"rewards/chosen": 12.970815658569336,
|
82 |
+
"rewards/margins": 6.94884729385376,
|
83 |
+
"rewards/rejected": 6.021969318389893,
|
84 |
+
"step": 100
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.89,
|
88 |
+
"eval_logits/chosen": -2.6737234592437744,
|
89 |
+
"eval_logits/rejected": -2.665374517440796,
|
90 |
+
"eval_logps/chosen": -315.1849365234375,
|
91 |
+
"eval_logps/rejected": -302.33038330078125,
|
92 |
+
"eval_loss": 1.9671216011047363,
|
93 |
+
"eval_rewards/accuracies": 0.5299999713897705,
|
94 |
+
"eval_rewards/chosen": 16.395244598388672,
|
95 |
+
"eval_rewards/margins": 5.342697620391846,
|
96 |
+
"eval_rewards/rejected": 11.052546501159668,
|
97 |
+
"eval_runtime": 94.1334,
|
98 |
+
"eval_samples_per_second": 2.125,
|
99 |
+
"eval_steps_per_second": 0.531,
|
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:cbe0007dd23e383da67bd08adca5a13eace7ddf8e00b362261d72e4c028b4c7d
|
3 |
+
size 5240
|