Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- Guilherme34/uncensor
|
7 |
+
base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
|
8 |
+
model-index:
|
9 |
+
- name: outputs/out/DeepSeek-R1-Distill-Qwen-7B-Uncensored
|
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.6.0`
|
20 |
+
```yaml
|
21 |
+
base_model: /cpool/DeepSeek-R1-Distill-Qwen-7B
|
22 |
+
|
23 |
+
load_in_8bit: false
|
24 |
+
load_in_4bit: false
|
25 |
+
strict: false
|
26 |
+
|
27 |
+
datasets:
|
28 |
+
- path: Guilherme34/uncensor
|
29 |
+
type: chat_template
|
30 |
+
chat_template: llama3
|
31 |
+
field_messages: messages
|
32 |
+
message_field_role: role
|
33 |
+
message_field_content: content
|
34 |
+
roles:
|
35 |
+
system:
|
36 |
+
- system
|
37 |
+
user:
|
38 |
+
- user
|
39 |
+
assistant:
|
40 |
+
- assistant
|
41 |
+
dataset_prepared_path: last_run_prepared
|
42 |
+
val_set_size: 0.0
|
43 |
+
output_dir: ./outputs/out/DeepSeek-R1-Distill-Qwen-7B-Uncensored
|
44 |
+
save_safetensors: true
|
45 |
+
|
46 |
+
sequence_len: 4096
|
47 |
+
sample_packing: false
|
48 |
+
pad_to_sequence_len: true
|
49 |
+
|
50 |
+
adapter: lora
|
51 |
+
lora_model_dir:
|
52 |
+
lora_r: 32
|
53 |
+
lora_alpha: 16
|
54 |
+
lora_dropout: 0.05
|
55 |
+
lora_target_linear: true
|
56 |
+
lora_fan_in_fan_out:
|
57 |
+
|
58 |
+
gradient_accumulation_steps: 4
|
59 |
+
micro_batch_size: 1
|
60 |
+
num_epochs: 4
|
61 |
+
optimizer: adamw_torch
|
62 |
+
lr_scheduler: cosine
|
63 |
+
learning_rate: 0.0002
|
64 |
+
|
65 |
+
train_on_inputs: false
|
66 |
+
group_by_length: false
|
67 |
+
bf16: true
|
68 |
+
tf32: true
|
69 |
+
|
70 |
+
gradient_checkpointing: true
|
71 |
+
gradient_checkpointing_kwargs:
|
72 |
+
use_reentrant: true
|
73 |
+
logging_steps: 1
|
74 |
+
flash_attention: true
|
75 |
+
|
76 |
+
warmup_steps: 10
|
77 |
+
evals_per_epoch: 1
|
78 |
+
eval_table_size: 20
|
79 |
+
eval_max_new_tokens: 128
|
80 |
+
saves_per_epoch: 1
|
81 |
+
save_total_limit: 20
|
82 |
+
debug:
|
83 |
+
deepspeed:
|
84 |
+
weight_decay: 0.0
|
85 |
+
fsdp:
|
86 |
+
- full_shard
|
87 |
+
- auto_wrap
|
88 |
+
fsdp_config:
|
89 |
+
fsdp_limit_all_gathers: true
|
90 |
+
fsdp_sync_module_states: true
|
91 |
+
fsdp_offload_params: true
|
92 |
+
fsdp_use_orig_params: false
|
93 |
+
fsdp_cpu_ram_efficient_loading: true
|
94 |
+
fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
|
95 |
+
fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
|
96 |
+
fsdp_state_dict_type: FULL_STATE_DICT
|
97 |
+
fsdp_sharding_strategy: FULL_SHARD
|
98 |
+
special_tokens:
|
99 |
+
|
100 |
+
```
|
101 |
+
|
102 |
+
</details><br>
|
103 |
+
|
104 |
+
# outputs/out/DeepSeek-R1-Distill-Qwen-7B-Uncensored
|
105 |
+
|
106 |
+
This model was trained from scratch on the Guilherme34/uncensor dataset.
|
107 |
+
|
108 |
+
## Model description
|
109 |
+
|
110 |
+
More information needed
|
111 |
+
|
112 |
+
## Intended uses & limitations
|
113 |
+
|
114 |
+
More information needed
|
115 |
+
|
116 |
+
## Training and evaluation data
|
117 |
+
|
118 |
+
More information needed
|
119 |
+
|
120 |
+
## Training procedure
|
121 |
+
|
122 |
+
### Training hyperparameters
|
123 |
+
|
124 |
+
The following hyperparameters were used during training:
|
125 |
+
- learning_rate: 0.0002
|
126 |
+
- train_batch_size: 1
|
127 |
+
- eval_batch_size: 1
|
128 |
+
- seed: 42
|
129 |
+
- distributed_type: multi-GPU
|
130 |
+
- num_devices: 2
|
131 |
+
- gradient_accumulation_steps: 4
|
132 |
+
- total_train_batch_size: 8
|
133 |
+
- total_eval_batch_size: 2
|
134 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH 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: 10
|
137 |
+
- num_epochs: 4
|
138 |
+
|
139 |
+
### Training results
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
### Framework versions
|
144 |
+
|
145 |
+
- PEFT 0.14.0
|
146 |
+
- Transformers 4.47.1
|
147 |
+
- Pytorch 2.5.1+cu124
|
148 |
+
- Datasets 3.2.0
|
149 |
+
- Tokenizers 0.21.0
|