Training in progress, step 1934
Browse files- README.md +134 -190
- adapter_model.safetensors +1 -1
README.md
CHANGED
@@ -1,204 +1,148 @@
|
|
1 |
---
|
|
|
2 |
library_name: peft
|
|
|
|
|
3 |
base_model: mistralai/Mixtral-8x7B-v0.1
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
-
|
|
|
7 |
|
8 |
-
|
|
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
-
|
21 |
-
-
|
22 |
-
-
|
23 |
-
-
|
24 |
-
-
|
25 |
-
-
|
26 |
-
-
|
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 |
## Training procedure
|
203 |
|
204 |
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
library_name: peft
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
base_model: mistralai/Mixtral-8x7B-v0.1
|
7 |
+
model-index:
|
8 |
+
- name: Mixtral-8x7b-Remixtral
|
9 |
+
results: []
|
10 |
---
|
11 |
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
|
15 |
+
[<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)
|
16 |
+
<details><summary>See axolotl config</summary>
|
17 |
|
18 |
+
axolotl version: `0.3.0`
|
19 |
+
```yaml
|
20 |
+
base_model: mistralai/Mixtral-8x7B-v0.1
|
21 |
+
model_type: AutoModelForCausalLM
|
22 |
+
tokenizer_type: LlamaTokenizer
|
23 |
+
trust_remote_code: true
|
24 |
+
|
25 |
+
load_in_8bit: false
|
26 |
+
load_in_4bit: true
|
27 |
+
strict: false
|
28 |
+
|
29 |
+
datasets:
|
30 |
+
- path: Open-Orca/SlimOrca
|
31 |
+
type: sharegpt
|
32 |
+
conversation: chatml
|
33 |
+
dataset_prepared_path: last_run_prepared
|
34 |
+
val_set_size: 0.005
|
35 |
+
output_dir: /wb-mixtral/slimorca-mixstral-8x7b
|
36 |
+
save_total_limit: 1
|
37 |
+
hub_model_id:
|
38 |
+
dataloader_num_workers: 8
|
39 |
+
dataloader_prefetch_factor: 4
|
40 |
+
dataloader_pin_memory: true
|
41 |
+
|
42 |
+
adapter: qlora
|
43 |
+
lora_model_dir:
|
44 |
+
|
45 |
+
sequence_len: 8192
|
46 |
+
sample_packing: true
|
47 |
+
pad_to_sequence_len: true
|
48 |
+
|
49 |
+
lora_r: 64
|
50 |
+
lora_alpha: 32
|
51 |
+
lora_dropout: 0.1
|
52 |
+
lora_fan_in_fan_out:
|
53 |
+
lora_modules_to_save:
|
54 |
+
- lm_head
|
55 |
+
- embed_tokens
|
56 |
+
lora_target_linear: true
|
57 |
+
|
58 |
+
wandb_project: mixtral
|
59 |
+
wandb_entity: capecape
|
60 |
+
wandb_watch:
|
61 |
+
wandb_name:
|
62 |
+
wandb_log_model:
|
63 |
+
|
64 |
+
gradient_accumulation_steps: 1
|
65 |
+
micro_batch_size: 4
|
66 |
+
num_epochs: 2
|
67 |
+
optimizer: paged_adamw_8bit
|
68 |
+
lr_scheduler: cosine
|
69 |
+
learning_rate: 0.001
|
70 |
+
adam_beta2: 0.95
|
71 |
+
adam_epsilon: 0.00001
|
72 |
+
max_grad_norm: 1.0
|
73 |
+
|
74 |
+
train_on_inputs: false
|
75 |
+
group_by_length: false
|
76 |
+
bf16: true
|
77 |
+
fp16: false
|
78 |
+
tf32: true
|
79 |
+
|
80 |
+
gradient_checkpointing: true
|
81 |
+
early_stopping_patience:
|
82 |
+
resume_from_checkpoint:
|
83 |
+
local_rank:
|
84 |
+
logging_steps: 1
|
85 |
+
xformers_attention:
|
86 |
+
flash_attention: true
|
87 |
+
|
88 |
+
warmup_steps: 100
|
89 |
+
eval_steps: 0.05
|
90 |
+
save_steps: 0.25
|
91 |
+
debug:
|
92 |
+
deepspeed:
|
93 |
+
weight_decay: 0.1
|
94 |
+
fsdp:
|
95 |
+
fsdp_config:
|
96 |
+
special_tokens:
|
97 |
+
eos_token: "<|im_end|>"
|
98 |
+
tokens:
|
99 |
+
- "<|im_start|>"
|
100 |
+
|
101 |
+
```
|
102 |
+
|
103 |
+
</details><br>
|
104 |
+
|
105 |
+
# Mixtral-8x7b-Remixtral
|
106 |
+
|
107 |
+
This model is a fine-tuned version of [mistralai/Mixtral-8x7B-v0.1](https://huggingface.co/mistralai/Mixtral-8x7B-v0.1) on an unknown dataset.
|
108 |
+
|
109 |
+
## Model description
|
110 |
+
|
111 |
+
More information needed
|
112 |
+
|
113 |
+
## Intended uses & limitations
|
114 |
+
|
115 |
+
More information needed
|
116 |
+
|
117 |
+
## Training and evaluation data
|
118 |
+
|
119 |
+
More information needed
|
120 |
|
121 |
+
## Training procedure
|
122 |
|
123 |
+
### Training hyperparameters
|
124 |
+
|
125 |
+
The following hyperparameters were used during training:
|
126 |
+
- learning_rate: 0.001
|
127 |
+
- train_batch_size: 1
|
128 |
+
- eval_batch_size: 1
|
129 |
+
- seed: 42
|
130 |
+
- distributed_type: multi-GPU
|
131 |
+
- num_devices: 8
|
132 |
+
- gradient_accumulation_steps: 4
|
133 |
+
- total_train_batch_size: 32
|
134 |
+
- total_eval_batch_size: 8
|
135 |
+
- optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-05
|
136 |
+
- lr_scheduler_type: cosine
|
137 |
+
- lr_scheduler_warmup_steps: 25
|
138 |
+
- num_epochs: 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
|
140 |
+
### Framework versions
|
141 |
|
142 |
+
- Transformers 4.37.0.dev0
|
143 |
+
- Pytorch 2.1.1+cu118
|
144 |
+
- Datasets 2.16.1
|
145 |
+
- Tokenizers 0.15.0
|
146 |
## Training procedure
|
147 |
|
148 |
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 54560368
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:601bbefb0e2a2c1ac1f974256b8007bd778fb4a19f352b8d66a7b1dd432f5c67
|
3 |
size 54560368
|