End of training
Browse files- README.md +137 -190
- adapter_model.bin +2 -2
README.md
CHANGED
|
@@ -1,202 +1,149 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: Qwen/Qwen2.5-Coder-7B
|
| 3 |
library_name: peft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
-
|
| 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 |
-
|
|
|
|
| 100 |
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
|
| 193 |
-
|
| 194 |
|
| 195 |
-
[More Information Needed]
|
| 196 |
|
| 197 |
-
## Model Card Contact
|
| 198 |
|
| 199 |
-
[More Information Needed]
|
| 200 |
### Framework versions
|
| 201 |
|
| 202 |
-
- PEFT 0.13.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: peft
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: Qwen/Qwen2.5-Coder-7B
|
| 5 |
+
tags:
|
| 6 |
+
- axolotl
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
model-index:
|
| 9 |
+
- name: Qwen2.5-Coder-7B-Erebus-FIM
|
| 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/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
| 17 |
+
<details><summary>See axolotl config</summary>
|
| 18 |
|
| 19 |
+
axolotl version: `0.4.1`
|
| 20 |
+
```yaml
|
| 21 |
+
base_model: Qwen/Qwen2.5-Coder-7B
|
| 22 |
+
trust_remote_code: false
|
| 23 |
+
|
| 24 |
+
load_in_8bit: false
|
| 25 |
+
load_in_4bit: false
|
| 26 |
+
strict: false
|
| 27 |
+
|
| 28 |
+
datasets:
|
| 29 |
+
- path: nyxkrage/erebus-87k-fim-8k
|
| 30 |
+
data_files: data/*
|
| 31 |
+
type:
|
| 32 |
+
field_instruction: prefix
|
| 33 |
+
field_input: suffix
|
| 34 |
+
field_output: middle
|
| 35 |
+
format: "<|fim_suffix|>{input}<|fim_prefix|>{instruction}<|fim_middle|>"
|
| 36 |
+
dataset_prepared_path:
|
| 37 |
+
val_set_size: 0
|
| 38 |
+
output_dir: /workspace/data/output
|
| 39 |
+
|
| 40 |
+
sequence_len: 8192
|
| 41 |
+
sample_packing: true
|
| 42 |
+
eval_sample_packing: true
|
| 43 |
+
pad_to_sequence_len: true
|
| 44 |
+
|
| 45 |
+
adapter: lora
|
| 46 |
+
lora_model_dir:
|
| 47 |
+
lora_r: 256
|
| 48 |
+
lora_alpha: 256
|
| 49 |
+
lora_dropout: 0.05
|
| 50 |
+
lora_target_linear: true
|
| 51 |
+
lora_fan_in_fan_out:
|
| 52 |
+
|
| 53 |
+
wandb_project: qwen2.5-coder-7b-erebus-fim
|
| 54 |
+
wandb_entity: kragelund
|
| 55 |
+
wandb_watch:
|
| 56 |
+
wandb_name:
|
| 57 |
+
wandb_log_model:
|
| 58 |
+
|
| 59 |
+
gradient_accumulation_steps: 1
|
| 60 |
+
micro_batch_size: 4
|
| 61 |
+
num_epochs: 4
|
| 62 |
+
optimizer: adamw_bnb_8bit
|
| 63 |
+
lr_scheduler: cosine
|
| 64 |
+
learning_rate: 0.00005
|
| 65 |
+
|
| 66 |
+
train_on_inputs: false
|
| 67 |
+
group_by_length: false
|
| 68 |
+
bf16: auto
|
| 69 |
+
fp16:
|
| 70 |
+
tf32: false
|
| 71 |
+
|
| 72 |
+
plugins:
|
| 73 |
+
- axolotl.integrations.liger.LigerPlugin
|
| 74 |
+
liger_rope: true
|
| 75 |
+
liger_rms_norm: true
|
| 76 |
+
liger_swiglu: true
|
| 77 |
+
liger_fused_linear_cross_entropy: true
|
| 78 |
+
|
| 79 |
+
hub_model_id: NyxKrage/Qwen2.5-Coder-7B-Erebus-FIM
|
| 80 |
+
hub_strategy: all_checkpoints
|
| 81 |
+
|
| 82 |
+
gradient_checkpointing: true
|
| 83 |
+
gradient_checkpointing_kwargs:
|
| 84 |
+
use_reentrant: true
|
| 85 |
+
early_stopping_patience:
|
| 86 |
+
resume_from_checkpoint:
|
| 87 |
+
local_rank:
|
| 88 |
+
logging_steps: 1
|
| 89 |
+
xformers_attention: false
|
| 90 |
+
flash_attention: true
|
| 91 |
+
|
| 92 |
+
warmup_steps: 100
|
| 93 |
+
evals_per_epoch: 1
|
| 94 |
+
saves_per_epoch: 4
|
| 95 |
+
debug:
|
| 96 |
+
deepspeed: deepspeed_configs/zero2.json
|
| 97 |
+
weight_decay: 0.1
|
| 98 |
+
special_tokens:
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
</details><br>
|
| 104 |
+
|
| 105 |
+
# Qwen2.5-Coder-7B-Erebus-FIM
|
| 106 |
+
|
| 107 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-Coder-7B](https://huggingface.co/Qwen/Qwen2.5-Coder-7B) on the None 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: 5e-05
|
| 127 |
+
- train_batch_size: 4
|
| 128 |
+
- eval_batch_size: 4
|
| 129 |
+
- seed: 42
|
| 130 |
+
- distributed_type: multi-GPU
|
| 131 |
+
- num_devices: 8
|
| 132 |
+
- total_train_batch_size: 32
|
| 133 |
+
- total_eval_batch_size: 32
|
| 134 |
+
- optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 135 |
+
- lr_scheduler_type: cosine
|
| 136 |
+
- lr_scheduler_warmup_steps: 100
|
| 137 |
+
- num_epochs: 4
|
| 138 |
|
| 139 |
+
### Training results
|
| 140 |
|
|
|
|
| 141 |
|
|
|
|
| 142 |
|
|
|
|
| 143 |
### Framework versions
|
| 144 |
|
| 145 |
+
- PEFT 0.13.2
|
| 146 |
+
- Transformers 4.46.0
|
| 147 |
+
- Pytorch 2.3.1+cu121
|
| 148 |
+
- Datasets 3.0.1
|
| 149 |
+
- Tokenizers 0.20.1
|
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:608f1d42d99fb7ca49d37c752ea8f9c9151f9922cf13e41933c544fd5246fb2a
|
| 3 |
+
size 1291908410
|