End of training
Browse files- README.md +167 -0
- adapter_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: mixtral-fc-w-resp
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
|
17 |
+
<details><summary>See axolotl config</summary>
|
18 |
+
|
19 |
+
axolotl version: `0.4.0`
|
20 |
+
```yaml
|
21 |
+
base_model: mistralai/Mixtral-8x7B-Instruct-v0.1
|
22 |
+
model_type: AutoModelForCausalLM
|
23 |
+
tokenizer_type: LlamaTokenizer
|
24 |
+
trust_remote_code: true
|
25 |
+
|
26 |
+
load_in_8bit: false
|
27 |
+
load_in_4bit: true
|
28 |
+
strict: false
|
29 |
+
chat_template: inst
|
30 |
+
|
31 |
+
datasets:
|
32 |
+
- path: ./data/with_function_response/function_not_used_training.jsonl
|
33 |
+
type: sharegpt
|
34 |
+
conversation: mistral
|
35 |
+
- path: ./data/with_function_response/no_function_training.jsonl
|
36 |
+
type: sharegpt
|
37 |
+
conversation: mistral
|
38 |
+
- path: ./data/with_function_response/function_used_training.jsonl
|
39 |
+
type: sharegpt
|
40 |
+
conversation: mistral
|
41 |
+
|
42 |
+
hub_model_id: dyang415/mixtral-fc-w-resp
|
43 |
+
|
44 |
+
|
45 |
+
dataset_prepared_path: last_run_prepared
|
46 |
+
val_set_size: 0.0
|
47 |
+
output_dir: ../mixtral-fc-w-resp
|
48 |
+
|
49 |
+
model_config:
|
50 |
+
output_router_logits: true
|
51 |
+
|
52 |
+
adapter: qlora
|
53 |
+
lora_model_dir:
|
54 |
+
|
55 |
+
sequence_len: 16384
|
56 |
+
sample_packing: true
|
57 |
+
pad_to_sequence_len: true
|
58 |
+
|
59 |
+
lora_r: 32
|
60 |
+
lora_alpha: 64
|
61 |
+
lora_dropout: 0.05
|
62 |
+
lora_target_modules:
|
63 |
+
- q_proj
|
64 |
+
- k_proj
|
65 |
+
- v_proj
|
66 |
+
- o_proj
|
67 |
+
|
68 |
+
|
69 |
+
# wandb_project: function-call
|
70 |
+
# wandb_name: mixtral-instruct-lora--v1
|
71 |
+
# wandb_log_model: end
|
72 |
+
# hub_model_id: dyang415/mixtral-lora-v0
|
73 |
+
|
74 |
+
|
75 |
+
gradient_accumulation_steps: 2
|
76 |
+
micro_batch_size: 1
|
77 |
+
num_epochs: 1
|
78 |
+
optimizer: paged_adamw_8bit
|
79 |
+
lr_scheduler: cosine
|
80 |
+
learning_rate: 0.0002
|
81 |
+
|
82 |
+
train_on_inputs: false
|
83 |
+
group_by_length: false
|
84 |
+
bf16: true
|
85 |
+
fp16: false
|
86 |
+
tf32: false
|
87 |
+
|
88 |
+
gradient_checkpointing: true
|
89 |
+
logging_steps: 1
|
90 |
+
flash_attention: true
|
91 |
+
|
92 |
+
loss_watchdog_threshold: 5.0
|
93 |
+
loss_watchdog_patience: 3
|
94 |
+
|
95 |
+
warmup_steps: 10
|
96 |
+
evals_per_epoch: 4
|
97 |
+
eval_table_size:
|
98 |
+
eval_max_new_tokens: 128
|
99 |
+
saves_per_epoch: 1
|
100 |
+
debug:
|
101 |
+
weight_decay: 0.0
|
102 |
+
fsdp:
|
103 |
+
fsdp_config:
|
104 |
+
|
105 |
+
```
|
106 |
+
|
107 |
+
</details><br>
|
108 |
+
|
109 |
+
# mixtral-fc-w-resp
|
110 |
+
|
111 |
+
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.
|
112 |
+
|
113 |
+
## Model description
|
114 |
+
|
115 |
+
More information needed
|
116 |
+
|
117 |
+
## Intended uses & limitations
|
118 |
+
|
119 |
+
More information needed
|
120 |
+
|
121 |
+
## Training and evaluation data
|
122 |
+
|
123 |
+
More information needed
|
124 |
+
|
125 |
+
## Training procedure
|
126 |
+
|
127 |
+
|
128 |
+
The following `bitsandbytes` quantization config was used during training:
|
129 |
+
- quant_method: QuantizationMethod.BITS_AND_BYTES
|
130 |
+
- load_in_8bit: False
|
131 |
+
- load_in_4bit: True
|
132 |
+
- llm_int8_threshold: 6.0
|
133 |
+
- llm_int8_skip_modules: None
|
134 |
+
- llm_int8_enable_fp32_cpu_offload: False
|
135 |
+
- llm_int8_has_fp16_weight: False
|
136 |
+
- bnb_4bit_quant_type: nf4
|
137 |
+
- bnb_4bit_use_double_quant: True
|
138 |
+
- bnb_4bit_compute_dtype: bfloat16
|
139 |
+
|
140 |
+
### Training hyperparameters
|
141 |
+
|
142 |
+
The following hyperparameters were used during training:
|
143 |
+
- learning_rate: 0.0002
|
144 |
+
- train_batch_size: 1
|
145 |
+
- eval_batch_size: 1
|
146 |
+
- seed: 42
|
147 |
+
- distributed_type: multi-GPU
|
148 |
+
- num_devices: 2
|
149 |
+
- gradient_accumulation_steps: 2
|
150 |
+
- total_train_batch_size: 4
|
151 |
+
- total_eval_batch_size: 2
|
152 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
153 |
+
- lr_scheduler_type: cosine
|
154 |
+
- lr_scheduler_warmup_steps: 10
|
155 |
+
- num_epochs: 1
|
156 |
+
|
157 |
+
### Training results
|
158 |
+
|
159 |
+
|
160 |
+
|
161 |
+
### Framework versions
|
162 |
+
|
163 |
+
- PEFT 0.7.0
|
164 |
+
- Transformers 4.37.0
|
165 |
+
- Pytorch 2.0.1+cu117
|
166 |
+
- Datasets 2.17.1
|
167 |
+
- Tokenizers 0.15.0
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a6c494f608f792c2ed44074b613544e14e9a0d08a30cca460dce846a201bc354
|
3 |
+
size 109144269
|