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.9.1-Zephyr-7B-zephyr-prompt-binarized-GPTQ
|
10 |
+
results: []
|
11 |
+
language: ['en']
|
12 |
+
---
|
13 |
+
|
14 |
+
# Weni/WeniGPT-2.9.1-Zephyr-7B-zephyr-prompt-binarized-GPTQ
|
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.4246530532836914, 'eval_runtime': 87.1748, 'eval_samples_per_second': 2.294, 'eval_steps_per_second': 0.574, 'eval_rewards/chosen': 7.902245998382568, 'eval_rewards/rejected': -1.2779319286346436, 'eval_rewards/accuracies': 0.6299999952316284, 'eval_rewards/margins': 9.18017864227295, 'eval_logps/rejected': -333.343017578125, 'eval_logps/chosen': -329.1789855957031, 'eval_logits/rejected': -2.569888114929199, 'eval_logits/chosen': -2.604318141937256, '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: qptq
|
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 |
+
"o_proj",
|
24 |
+
"k_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:4b984d632715ed32fb4ae6f8ef6b399bec052ac0a9e6a84ac3d2ec16342cda72
|
3 |
+
size 54560368
|
checkpoint-100/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a3326d8d3d8a4a6b60d412bd46c5129a693eeb7164afd80cba6d33e6976ab88
|
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.4246530532836914,
|
3 |
+
"best_model_checkpoint": "./Zephyr/08-03-24-Weni-WeniGPT-2.9.1-Zephyr-7B-zephyr-prompt-binarized-GPTQ_DPO tests with binarized dataset GPTQ-2_max_steps-112_batch_16_2024-03-08_ppid_6527/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": 88.23858642578125,
|
14 |
+
"learning_rate": 0.000194,
|
15 |
+
"logits/chosen": -2.577491283416748,
|
16 |
+
"logits/rejected": -2.571446657180786,
|
17 |
+
"logps/chosen": -345.53826904296875,
|
18 |
+
"logps/rejected": -335.17626953125,
|
19 |
+
"loss": 0.9894,
|
20 |
+
"rewards/accuracies": 0.3375000059604645,
|
21 |
+
"rewards/chosen": -1.2617301940917969,
|
22 |
+
"rewards/margins": 0.556836724281311,
|
23 |
+
"rewards/rejected": -1.818566918373108,
|
24 |
+
"step": 20
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.36,
|
28 |
+
"grad_norm": 98.59651947021484,
|
29 |
+
"learning_rate": 0.000154,
|
30 |
+
"logits/chosen": -2.637488603591919,
|
31 |
+
"logits/rejected": -2.6255078315734863,
|
32 |
+
"logps/chosen": -346.9693908691406,
|
33 |
+
"logps/rejected": -315.6527404785156,
|
34 |
+
"loss": 1.3623,
|
35 |
+
"rewards/accuracies": 0.5093749761581421,
|
36 |
+
"rewards/chosen": 1.9753837585449219,
|
37 |
+
"rewards/margins": 4.005200386047363,
|
38 |
+
"rewards/rejected": -2.0298163890838623,
|
39 |
+
"step": 40
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.53,
|
43 |
+
"grad_norm": 114.84925842285156,
|
44 |
+
"learning_rate": 0.000116,
|
45 |
+
"logits/chosen": -2.624976873397827,
|
46 |
+
"logits/rejected": -2.6344661712646484,
|
47 |
+
"logps/chosen": -312.5130310058594,
|
48 |
+
"logps/rejected": -308.0022277832031,
|
49 |
+
"loss": 1.7223,
|
50 |
+
"rewards/accuracies": 0.512499988079071,
|
51 |
+
"rewards/chosen": 11.67408275604248,
|
52 |
+
"rewards/margins": 5.749016761779785,
|
53 |
+
"rewards/rejected": 5.925065517425537,
|
54 |
+
"step": 60
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.71,
|
58 |
+
"grad_norm": 85.89614868164062,
|
59 |
+
"learning_rate": 7.6e-05,
|
60 |
+
"logits/chosen": -2.612114191055298,
|
61 |
+
"logits/rejected": -2.619168996810913,
|
62 |
+
"logps/chosen": -341.52874755859375,
|
63 |
+
"logps/rejected": -335.33746337890625,
|
64 |
+
"loss": 1.7005,
|
65 |
+
"rewards/accuracies": 0.581250011920929,
|
66 |
+
"rewards/chosen": 9.166875839233398,
|
67 |
+
"rewards/margins": 7.968495845794678,
|
68 |
+
"rewards/rejected": 1.1983803510665894,
|
69 |
+
"step": 80
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.89,
|
73 |
+
"grad_norm": 89.66873931884766,
|
74 |
+
"learning_rate": 3.6e-05,
|
75 |
+
"logits/chosen": -2.5610482692718506,
|
76 |
+
"logits/rejected": -2.5772881507873535,
|
77 |
+
"logps/chosen": -303.79559326171875,
|
78 |
+
"logps/rejected": -313.4518127441406,
|
79 |
+
"loss": 1.6886,
|
80 |
+
"rewards/accuracies": 0.559374988079071,
|
81 |
+
"rewards/chosen": 9.353081703186035,
|
82 |
+
"rewards/margins": 8.174433708190918,
|
83 |
+
"rewards/rejected": 1.178647518157959,
|
84 |
+
"step": 100
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.89,
|
88 |
+
"eval_logits/chosen": -2.604318141937256,
|
89 |
+
"eval_logits/rejected": -2.569888114929199,
|
90 |
+
"eval_logps/chosen": -329.1789855957031,
|
91 |
+
"eval_logps/rejected": -333.343017578125,
|
92 |
+
"eval_loss": 1.4246530532836914,
|
93 |
+
"eval_rewards/accuracies": 0.6299999952316284,
|
94 |
+
"eval_rewards/chosen": 7.902245998382568,
|
95 |
+
"eval_rewards/margins": 9.18017864227295,
|
96 |
+
"eval_rewards/rejected": -1.2779319286346436,
|
97 |
+
"eval_runtime": 87.1863,
|
98 |
+
"eval_samples_per_second": 2.294,
|
99 |
+
"eval_steps_per_second": 0.573,
|
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:4a13b87c56b4b8d1c21aed2715a092e568965bd2d2521f902900b55456b26cbc
|
3 |
+
size 5304
|