mode readme merged
Browse files
README.md
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
3 |
+
license: apache-2.0
|
4 |
+
tags:
|
5 |
+
- axolotl
|
6 |
+
- dpo
|
7 |
+
- trl
|
8 |
+
- generated_from_trainer
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
[<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)
|
15 |
+
<details><summary>See axolotl config</summary>
|
16 |
+
|
17 |
+
axolotl version: `0.4.1`
|
18 |
+
```yaml
|
19 |
+
base_model: Qwen/Qwen2.5-7B-Instruct
|
20 |
+
model_type: AutoModalForCausalLM
|
21 |
+
tokenizer_type: AutoTokenizer
|
22 |
+
|
23 |
+
trust_remote_code: true
|
24 |
+
|
25 |
+
load_in_8bit: true
|
26 |
+
load_in_4bit: false
|
27 |
+
strict: false
|
28 |
+
|
29 |
+
chat_template: chatml
|
30 |
+
rl: dpo
|
31 |
+
datasets:
|
32 |
+
- path: HumanLLMs/humanish-dpo-project
|
33 |
+
type: chatml.prompt_pairs
|
34 |
+
chat_template: chatml
|
35 |
+
|
36 |
+
dataset_prepared_path:
|
37 |
+
val_set_size: 0.05
|
38 |
+
output_dir: ./humanish-qwen2.5-7b-instruct
|
39 |
+
|
40 |
+
sequence_len: 8192
|
41 |
+
sample_packing: false
|
42 |
+
pad_to_sequence_len: true
|
43 |
+
|
44 |
+
adapter: lora
|
45 |
+
lora_model_dir:
|
46 |
+
lora_r: 8
|
47 |
+
lora_alpha: 4
|
48 |
+
lora_dropout: 0.05
|
49 |
+
lora_target_linear: true
|
50 |
+
lora_fan_in_fan_out:
|
51 |
+
|
52 |
+
wandb_project: Humanish-DPO
|
53 |
+
wandb_entity:
|
54 |
+
wandb_watch:
|
55 |
+
wandb_name:
|
56 |
+
wandb_log_model:
|
57 |
+
|
58 |
+
hub_model_id: HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
59 |
+
|
60 |
+
gradient_accumulation_steps: 8
|
61 |
+
micro_batch_size: 2
|
62 |
+
num_epochs: 1
|
63 |
+
optimizer: adamw_bnb_8bit
|
64 |
+
lr_scheduler: cosine
|
65 |
+
learning_rate: 0.0002
|
66 |
+
|
67 |
+
train_on_inputs: false
|
68 |
+
group_by_length: false
|
69 |
+
bf16: auto
|
70 |
+
fp16:
|
71 |
+
tf32: false
|
72 |
+
|
73 |
+
gradient_checkpointing: true
|
74 |
+
early_stopping_patience:
|
75 |
+
resume_from_checkpoint:
|
76 |
+
local_rank:
|
77 |
+
logging_steps: 1
|
78 |
+
xformers_attention:
|
79 |
+
flash_attention: true
|
80 |
+
s2_attention:
|
81 |
+
|
82 |
+
warmup_steps: 10
|
83 |
+
evals_per_epoch: 2
|
84 |
+
eval_table_size:
|
85 |
+
eval_max_new_tokens: 128
|
86 |
+
saves_per_epoch: 1
|
87 |
+
debug:
|
88 |
+
deepspeed:
|
89 |
+
weight_decay: 0.0
|
90 |
+
fsdp:
|
91 |
+
fsdp_config:
|
92 |
+
|
93 |
+
save_safetensors: true
|
94 |
+
|
95 |
+
```
|
96 |
+
|
97 |
+
</details><br>
|
98 |
+
|
99 |
+
# Humanish-Qwen2.5-7B-Instruct
|
100 |
+
|
101 |
+
This model is a fine-tuned version of [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) on an unknown dataset.
|
102 |
+
|
103 |
+
## Model description
|
104 |
+
|
105 |
+
More information needed
|
106 |
+
|
107 |
+
## Intended uses & limitations
|
108 |
+
|
109 |
+
More information needed
|
110 |
+
|
111 |
+
## Training and evaluation data
|
112 |
+
|
113 |
+
More information needed
|
114 |
+
|
115 |
+
## Training procedure
|
116 |
+
|
117 |
+
### Training hyperparameters
|
118 |
+
|
119 |
+
The following hyperparameters were used during training:
|
120 |
+
- learning_rate: 0.0002
|
121 |
+
- train_batch_size: 2
|
122 |
+
- eval_batch_size: 8
|
123 |
+
- seed: 42
|
124 |
+
- distributed_type: multi-GPU
|
125 |
+
- num_devices: 2
|
126 |
+
- gradient_accumulation_steps: 8
|
127 |
+
- total_train_batch_size: 32
|
128 |
+
- total_eval_batch_size: 16
|
129 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
130 |
+
- lr_scheduler_type: cosine
|
131 |
+
- lr_scheduler_warmup_steps: 10
|
132 |
+
- training_steps: 341
|
133 |
+
|
134 |
+
### Training results
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
### Framework versions
|
139 |
+
|
140 |
+
- PEFT 0.13.0
|
141 |
+
- Transformers 4.45.1
|
142 |
+
- Pytorch 2.3.1+cu121
|
143 |
+
- Datasets 2.21.0
|
144 |
+
- Tokenizers 0.20.0
|