Training in progress, step 38
Browse files- README.md +191 -137
- adapter_config.json +7 -4
- adapter_model.bin +2 -2
- adapter_model.safetensors +2 -2
- added_tokens.json +4 -0
- config.json +1 -1
- tokenizer.json +18 -0
- tokenizer_config.json +16 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,148 +1,202 @@
|
|
1 |
---
|
2 |
-
license: apache-2.0
|
3 |
library_name: peft
|
4 |
-
tags:
|
5 |
-
- axolotl
|
6 |
-
- generated_from_trainer
|
7 |
base_model: mistralai/Mixtral-8x7B-Instruct-v0.1
|
8 |
-
model-index:
|
9 |
-
- name: special-token-qkvo
|
10 |
-
results: []
|
11 |
---
|
12 |
|
13 |
-
|
14 |
-
should probably proofread and complete it, then remove this comment. -->
|
15 |
|
16 |
-
|
17 |
-
<details><summary>See axolotl config</summary>
|
18 |
|
19 |
-
axolotl version: `0.4.0`
|
20 |
-
```yaml
|
21 |
-
adapter: qlora
|
22 |
-
base_model: mistralai/Mixtral-8x7B-Instruct-v0.1
|
23 |
-
bf16: true
|
24 |
-
chat_template: inst
|
25 |
-
dataset_prepared_path: last_run_prepared
|
26 |
-
datasets:
|
27 |
-
- conversation: mistral
|
28 |
-
path: e91f18b218a246a3be51ec3a2d8a73bb/./data/with_function_response/original_clean/function_used_training.jsonl
|
29 |
-
type: sharegpt
|
30 |
-
- conversation: mistral
|
31 |
-
path: e91f18b218a246a3be51ec3a2d8a73bb/./data/with_function_response/original_clean/function_not_used_training.jsonl
|
32 |
-
type: sharegpt
|
33 |
-
- conversation: mistral
|
34 |
-
path: e91f18b218a246a3be51ec3a2d8a73bb/./data/with_function_response/parallel_call/parallel_data_training.jsonl
|
35 |
-
type: sharegpt
|
36 |
-
debug: null
|
37 |
-
eval_max_new_tokens: 256
|
38 |
-
eval_steps: 0.2
|
39 |
-
eval_table_size: null
|
40 |
-
flash_attention: true
|
41 |
-
fp16: false
|
42 |
-
fsdp: null
|
43 |
-
fsdp_config: null
|
44 |
-
gradient_accumulation_steps: 4
|
45 |
-
gradient_checkpointing: true
|
46 |
-
group_by_length: false
|
47 |
-
hub_model_id: liuylhf/special-token-qkvo
|
48 |
-
learning_rate: 0.0002
|
49 |
-
load_in_4bit: true
|
50 |
-
load_in_8bit: false
|
51 |
-
logging_steps: 1
|
52 |
-
lora_alpha: 64
|
53 |
-
lora_dropout: 0.05
|
54 |
-
lora_model_dir: null
|
55 |
-
lora_r: 32
|
56 |
-
lora_target_modules:
|
57 |
-
- q_proj
|
58 |
-
- k_proj
|
59 |
-
- v_proj
|
60 |
-
- o_proj
|
61 |
-
loss_watchdog_patience: 3
|
62 |
-
loss_watchdog_threshold: 5.0
|
63 |
-
lr_scheduler: cosine
|
64 |
-
micro_batch_size: 2
|
65 |
-
model_config:
|
66 |
-
output_router_logits: true
|
67 |
-
model_type: AutoModelForCausalLM
|
68 |
-
num_epochs: 4
|
69 |
-
optimizer: paged_adamw_8bit
|
70 |
-
output_dir: e91f18b218a246a3be51ec3a2d8a73bb/model
|
71 |
-
pad_to_sequence_len: true
|
72 |
-
sample_packing: true
|
73 |
-
save_steps: 0.1
|
74 |
-
sequence_len: 4096
|
75 |
-
special_tokens:
|
76 |
-
conversation: '[c]'
|
77 |
-
function: '[f]'
|
78 |
-
strict: false
|
79 |
-
tf32: false
|
80 |
-
tokenizer_type: AutoTokenizer
|
81 |
-
train_on_inputs: false
|
82 |
-
trust_remote_code: true
|
83 |
-
val_set_size: 0.025
|
84 |
-
wandb_log_model: end
|
85 |
-
wandb_name: more-tools
|
86 |
-
wandb_project: function-call
|
87 |
-
warmup_steps: 10
|
88 |
-
weight_decay: 0.0
|
89 |
-
|
90 |
-
```
|
91 |
-
|
92 |
-
</details><br>
|
93 |
-
|
94 |
-
# special-token-qkvo
|
95 |
-
|
96 |
-
This model is a fine-tuned version of [mistralai/Mixtral-8x7B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1) on the None dataset.
|
97 |
-
It achieves the following results on the evaluation set:
|
98 |
-
- Loss: 0.0788
|
99 |
-
|
100 |
-
## Model description
|
101 |
-
|
102 |
-
More information needed
|
103 |
-
|
104 |
-
## Intended uses & limitations
|
105 |
-
|
106 |
-
More information needed
|
107 |
-
|
108 |
-
## Training and evaluation data
|
109 |
-
|
110 |
-
More information needed
|
111 |
-
|
112 |
-
## Training procedure
|
113 |
-
|
114 |
-
### Training hyperparameters
|
115 |
-
|
116 |
-
The following hyperparameters were used during training:
|
117 |
-
- learning_rate: 0.0002
|
118 |
-
- train_batch_size: 2
|
119 |
-
- eval_batch_size: 2
|
120 |
-
- seed: 42
|
121 |
-
- distributed_type: multi-GPU
|
122 |
-
- num_devices: 4
|
123 |
-
- gradient_accumulation_steps: 4
|
124 |
-
- total_train_batch_size: 32
|
125 |
-
- total_eval_batch_size: 8
|
126 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
127 |
-
- lr_scheduler_type: cosine
|
128 |
-
- lr_scheduler_warmup_steps: 10
|
129 |
-
- num_epochs: 4
|
130 |
-
|
131 |
-
### Training results
|
132 |
-
|
133 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
134 |
-
|:-------------:|:-----:|:----:|:---------------:|
|
135 |
-
| 2.1829 | 0.01 | 1 | 2.1038 |
|
136 |
-
| 0.0969 | 0.8 | 151 | 0.0879 |
|
137 |
-
| 0.0772 | 1.58 | 302 | 0.0828 |
|
138 |
-
| 0.0742 | 2.36 | 453 | 0.0804 |
|
139 |
-
| 0.0748 | 3.14 | 604 | 0.0788 |
|
140 |
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
### Framework versions
|
143 |
|
144 |
-
- PEFT 0.9.0
|
145 |
-
- Transformers 4.38.2
|
146 |
-
- Pytorch 2.2.1+cu121
|
147 |
-
- Datasets 2.18.0
|
148 |
-
- Tokenizers 0.15.0
|
|
|
1 |
---
|
|
|
2 |
library_name: peft
|
|
|
|
|
|
|
3 |
base_model: mistralai/Mixtral-8x7B-Instruct-v0.1
|
|
|
|
|
|
|
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 |
### Framework versions
|
201 |
|
202 |
+
- PEFT 0.9.0
|
|
|
|
|
|
|
|
adapter_config.json
CHANGED
@@ -13,16 +13,19 @@
|
|
13 |
"lora_dropout": 0.05,
|
14 |
"megatron_config": null,
|
15 |
"megatron_core": "megatron.core",
|
16 |
-
"modules_to_save":
|
|
|
|
|
|
|
17 |
"peft_type": "LORA",
|
18 |
"r": 32,
|
19 |
"rank_pattern": {},
|
20 |
"revision": null,
|
21 |
"target_modules": [
|
22 |
-
"q_proj",
|
23 |
-
"k_proj",
|
24 |
"v_proj",
|
25 |
-
"
|
|
|
|
|
26 |
],
|
27 |
"task_type": "CAUSAL_LM",
|
28 |
"use_dora": false,
|
|
|
13 |
"lora_dropout": 0.05,
|
14 |
"megatron_config": null,
|
15 |
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": [
|
17 |
+
"embed_tokens",
|
18 |
+
"lm_head"
|
19 |
+
],
|
20 |
"peft_type": "LORA",
|
21 |
"r": 32,
|
22 |
"rank_pattern": {},
|
23 |
"revision": null,
|
24 |
"target_modules": [
|
|
|
|
|
25 |
"v_proj",
|
26 |
+
"q_proj",
|
27 |
+
"o_proj",
|
28 |
+
"k_proj"
|
29 |
],
|
30 |
"task_type": "CAUSAL_LM",
|
31 |
"use_dora": false,
|
adapter_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66fc6e79d60d2eb02ebf1d7c345a56747139bd7a265deda997f20c2d92e60258
|
3 |
+
size 337067840
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c44cddd6555b28f42b8d247a93847d6632fba0b8cb658b4608baf8a033b27a5b
|
3 |
+
size 1682049472
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[c]": 32001,
|
3 |
+
"[f]": 32000
|
4 |
+
}
|
config.json
CHANGED
@@ -40,5 +40,5 @@
|
|
40 |
"torch_dtype": "bfloat16",
|
41 |
"transformers_version": "4.38.2",
|
42 |
"use_cache": false,
|
43 |
-
"vocab_size":
|
44 |
}
|
|
|
40 |
"torch_dtype": "bfloat16",
|
41 |
"transformers_version": "4.38.2",
|
42 |
"use_cache": false,
|
43 |
+
"vocab_size": 32002
|
44 |
}
|
tokenizer.json
CHANGED
@@ -29,6 +29,24 @@
|
|
29 |
"rstrip": false,
|
30 |
"normalized": false,
|
31 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
],
|
34 |
"normalizer": {
|
|
|
29 |
"rstrip": false,
|
30 |
"normalized": false,
|
31 |
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 32000,
|
35 |
+
"content": "[f]",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": true,
|
40 |
+
"special": false
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"id": 32001,
|
44 |
+
"content": "[c]",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": true,
|
49 |
+
"special": false
|
50 |
}
|
51 |
],
|
52 |
"normalizer": {
|
tokenizer_config.json
CHANGED
@@ -25,6 +25,22 @@
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
},
|
30 |
"additional_special_tokens": [],
|
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "[f]",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": true,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": false
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "[c]",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": false
|
44 |
}
|
45 |
},
|
46 |
"additional_special_tokens": [],
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5688
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0b044d94ebf37a98aa662dcc3d7d1231cd55dd3890db71add4a7b5d0fe4c352
|
3 |
size 5688
|