Upload ./README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: Qwen/Qwen2.5-14B
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: medius-erebus-magnum-14b
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
### exl2 quant (measurement.json in main branch)
|
12 |
+
---
|
13 |
+
### check revisions for quants
|
14 |
+
---
|
15 |
+
|
16 |
+
|
17 |
+
[<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)
|
18 |
+
<details><summary>See axolotl config</summary>
|
19 |
+
|
20 |
+
axolotl version: `0.4.1`
|
21 |
+
```yaml
|
22 |
+
base_model: /workspace/medius-erebus
|
23 |
+
model_type: AutoModelForCausalLM
|
24 |
+
tokenizer_type: AutoTokenizer
|
25 |
+
|
26 |
+
hub_model_id: magnum-erebus-14b-v1
|
27 |
+
hub_strategy: "all_checkpoints"
|
28 |
+
push_dataset_to_hub:
|
29 |
+
hf_use_auth_token: true
|
30 |
+
|
31 |
+
plugins:
|
32 |
+
- axolotl.integrations.liger.LigerPlugin
|
33 |
+
liger_rope: true
|
34 |
+
liger_rms_norm: true
|
35 |
+
liger_swiglu: true
|
36 |
+
liger_fused_linear_cross_entropy: true
|
37 |
+
|
38 |
+
load_in_8bit: false
|
39 |
+
load_in_4bit: false
|
40 |
+
strict: false
|
41 |
+
|
42 |
+
datasets:
|
43 |
+
- path: anthracite-core/c2_logs_32k_llama3_qwen2_v1.2
|
44 |
+
type: sharegpt
|
45 |
+
- path: anthracite-org/kalo-opus-instruct-22k-no-refusal
|
46 |
+
type: sharegpt
|
47 |
+
- path: lodrick-the-lafted/kalo-opus-instruct-3k-filtered
|
48 |
+
type: sharegpt
|
49 |
+
- path: anthracite-org/nopm_claude_writing_fixed
|
50 |
+
type: sharegpt
|
51 |
+
- path: anthracite-org/kalo_opus_misc_240827
|
52 |
+
type: sharegpt
|
53 |
+
- path: anthracite-org/kalo_misc_part2
|
54 |
+
type: sharegpt
|
55 |
+
chat_template: chatml
|
56 |
+
shuffle_merged_datasets: true
|
57 |
+
default_system_message: "You are an assistant that responds to the user."
|
58 |
+
dataset_prepared_path: /workspace/data/magnum-14b-data
|
59 |
+
val_set_size: 0.0
|
60 |
+
output_dir: /workspace/data/magnum-erebus-14b-fft
|
61 |
+
|
62 |
+
sequence_len: 32768
|
63 |
+
sample_packing: true
|
64 |
+
pad_to_sequence_len: true
|
65 |
+
|
66 |
+
adapter:
|
67 |
+
lora_model_dir:
|
68 |
+
lora_r:
|
69 |
+
lora_alpha:
|
70 |
+
lora_dropout:
|
71 |
+
lora_target_linear:
|
72 |
+
lora_fan_in_fan_out:
|
73 |
+
|
74 |
+
wandb_project: 14b-magnum-fft
|
75 |
+
wandb_entity:
|
76 |
+
wandb_watch:
|
77 |
+
wandb_name: v4-r2-erebus-attempt-1
|
78 |
+
wandb_log_model:
|
79 |
+
|
80 |
+
gradient_accumulation_steps: 1
|
81 |
+
micro_batch_size: 2
|
82 |
+
num_epochs: 2
|
83 |
+
optimizer: adamw_bnb_8bit
|
84 |
+
lr_scheduler: cosine
|
85 |
+
learning_rate: 0.000008
|
86 |
+
|
87 |
+
train_on_inputs: false
|
88 |
+
group_by_length: false
|
89 |
+
bf16: auto
|
90 |
+
fp16:
|
91 |
+
tf32: false
|
92 |
+
|
93 |
+
gradient_checkpointing: unsloth
|
94 |
+
early_stopping_patience:
|
95 |
+
resume_from_checkpoint:
|
96 |
+
local_rank:
|
97 |
+
logging_steps: 1
|
98 |
+
xformers_attention:
|
99 |
+
flash_attention: true
|
100 |
+
|
101 |
+
warmup_steps: 40
|
102 |
+
evals_per_epoch:
|
103 |
+
eval_table_size:
|
104 |
+
eval_max_new_tokens:
|
105 |
+
saves_per_epoch: 2
|
106 |
+
debug:
|
107 |
+
deepspeed: deepspeed_configs/zero3_bf16.json
|
108 |
+
weight_decay: 0.1
|
109 |
+
fsdp:
|
110 |
+
fsdp_config:
|
111 |
+
special_tokens:
|
112 |
+
|
113 |
+
|
114 |
+
```
|
115 |
+
|
116 |
+
</details><br>
|
117 |
+
|
118 |
+
# medius-erebus-magnum
|
119 |
+
|
120 |
+
## Training procedure
|
121 |
+
|
122 |
+
### Training hyperparameters
|
123 |
+
|
124 |
+
The following hyperparameters were used during training:
|
125 |
+
- learning_rate: 8e-06
|
126 |
+
- train_batch_size: 2
|
127 |
+
- eval_batch_size: 2
|
128 |
+
- seed: 42
|
129 |
+
- distributed_type: multi-GPU
|
130 |
+
- num_devices: 8
|
131 |
+
- total_train_batch_size: 16
|
132 |
+
- total_eval_batch_size: 16
|
133 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
134 |
+
- lr_scheduler_type: cosine
|
135 |
+
- lr_scheduler_warmup_steps: 40
|
136 |
+
- num_epochs: 2
|
137 |
+
|
138 |
+
### Training results
|
139 |
+
|
140 |
+
|
141 |
+
|
142 |
+
### Framework versions
|
143 |
+
|
144 |
+
- Transformers 4.45.1
|
145 |
+
- Pytorch 2.3.1+cu121
|
146 |
+
- Datasets 2.21.0
|
147 |
+
- Tokenizers 0.20.0
|