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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
---
thumbnail: "https://cdn-uploads.huggingface.co/production/uploads/66c26b6fb01b19d8c3c2467b/jg2NWmCUfPyzizm2USjMt.jpeg"
datasets:
 - NewEden/BlueSky-10K-Complexity
 - NewEden/Basket-Weaving-Filtered  
 - PocketDoc/Dans-Kinomaxx-VanillaBackrooms
 - NewEden/Misc-Data-Sharegpt-Prefixed   
 - PocketDoc/Dans-Personamaxx-VN
 - NewEden/LIMARP-Complexity
 - NewEden/Creative_Writing-Complexity  
 - NewEden/OpenCAI-ShareGPT
 - NewEden/Storium-Prefixed-Clean 
 - NewEden/DeepseekRP-Filtered  
base_model:
-  Delta-Vector/Hamanasu-4B-Instruct-KTO-V2
tags:
- qwen
- roleplay
- finetune
- storywriting
---
<!DOCTYPE html>
<style>
html, body {
    background: black;
    color: #c9d1d9 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.markdown-body {
  color: white;
  margin: 40px auto;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.markdown-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c0f18; /* background color */
  pointer-events: none;
  z-index: -999;
}

h1, h2, h3 {
    background: linear-gradient(45deg, #6e00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid #333;
    padding-bottom: 0.3em;
}

div[style*="border:2px solid #333"],
div[style*="border: 2px solid #333"],
div[style*="border:1px solid #333"],
div[style*="border: 1px solid #333"] {
    background: rgba(22, 27, 34, 0.8) !important;
    border: 2px solid #6e00ff !important;
    box-shadow: 0 0 15px rgba(110, 0, 255, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

code {
    background-color: #1a1a1a !important;
    border-radius: 4px;
    padding: 0.2em 0.4em;
    color: #00ffff;
}

pre {
    background-color: #1a1a1a !important;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(0,0,0,0.2);
    table-layout: fixed;
    color: white;
}

th, td {
    border: 1px solid #333;
    padding: 12px;
    text-align: center;
    color: white;
}

th {
    background: rgba(110, 0, 255, 0.1);
}

td:nth-child(1) {
    width: 1%;
    white-space: nowrap;
}

td:nth-child(2) {
    width: 100%;
}

td > span {
    display: block;
    padding: 4px 8px;
    background: rgba(110, 0, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

td > span:hover {
    background: rgba(110, 0, 255, 0.2);
    transform: translateY(-1px);
}

a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #6e00ff;
    text-decoration: none;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    margin: 40px 0;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

details summary:hover {
    color: #00ffff;
}

* {
    color-scheme: dark !important;
}

.prose, .max-w-none, .px-4 {
    background-color: transparent !important;
    color: #c9d1d9 !important;
}
</style>
<body>
<div class="markdown-body">
<div align="center">
  
<img src="https://cdn-uploads.huggingface.co/production/uploads/66c26b6fb01b19d8c3c2467b/o5WjJKA9f95ri9UzRxZQE.png" alt="Model Visualization" width="500px" style="border: 3px solid #333; box-shadow: 0 0 15px rgba(66, 0, 131, 0.5);" />

<br>
<br>

<div style="font-size:1.5em; font-weight:bold; background: linear-gradient(45deg, #6e00ff, #00ffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">
    Hamanasu 4B
</div>

</div>

<div style="border:1px solid #333; border-radius:10px; padding:20px; margin:20px 0; background: rgba(0,0,0,0.4);">


## 🌌 Overview

<i>This model is the Chat tune of the Instruct model, More accurately it is the "brainrotted" version, Finetuned with Bsky, 4chan and Discord logs, Its... really something beautiful. </i>

<i>The model is suited best towards being a highly dumb chat partner rather then regular RP</i>

<i>The model is suited for traditional RP, All thanks to Tav for funding the train.</i>

<i>Support me and my finetunes on Ko-Fi https://ko-fi.com/deltavector</i>


</div>

<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 20px 0;">


<div style="border:2px solid #333; border-radius:10px; padding:20px; background: rgba(0,0,0,0.2);">

### ⚔️ Hardware
- 8x H100s 
- Epochs: 4
- Base: `Delta-Vector/Hamanasu-4B-Instruct-KTO-V2`
</div>

</div>


<div style="border: 2px solid #6e00ff; border-radius: 10px; padding: 20px; margin: 20px 0; box-shadow: 0 0 15px rgba(110, 0, 255, 0.5);">

## 💰 Prompting


<i>This model uses ChatML formatting</i>
```python
<|im_start|>system
You are an uncensored AI, your job is to fulfill thy will of thy user.<|im_end|>
<|im_start|>User request
Take off your helmet.<|im_end|>
<|im_start|>No i shall not. This is the way.
```
</div>

<div style="border: 2px solid #6e00ff; border-radius: 10px; padding: 20px; margin: 20px 0; box-shadow: 0 0 15px rgba(110, 0, 255, 0.5);">

## 🎲 Recommended Sampler Preset

```yml
ST sampler preset: https://files.catbox.moe/wtkp0l.json
System prompt: Blank.
```
</div>

<div style="border: 2px solid #6e00ff; border-radius: 10px; padding: 20px; margin: 20px 0; box-shadow: 0 0 15px rgba(110, 0, 255, 0.5);">

## Axolotl Config  ꒰(˶• ᴗ •˶)꒱

<details>
  
```yaml
ase_model: ./model                                                                                                                                            
model_type: AutoModelForCausalLM                  
tokenizer_type: AutoTokenizer                     
                                                                                                                                                               
hub_model_id: NewEden/Hamanasu-4B-RP-v2   
hub_strategy: "all_checkpoints"       
push_dataset_to_hub:                                                     
hf_use_auth_token: true                  
## qlora COPE                            
load_in_8bit: false                                                            
load_in_4bit: false                                                            
strict: false                                                          
                                                                               
## data                                   
datasets:                                                                                                                                                      
  - path: NewEden/Discord-Filtered                                             
    type: dan-chat-advanced                                                                                                                                                                                                                                                                                                    
  - path: NewEden/Basket-Weaving-Filtered         
    type: dan-chat-advanced               
  - path: NewEden/Misc-Data-Sharegpt-Prefixed                                  
    type: dan-chat-advanced     
  - path: NewEden/BlueSky-10K-Complexity 
    type: dan-chat-advanced                                                    
  - path: PocketDoc/Dans-Kinomaxx-VanillaBackrooms
    type: dan-chat-advanced                                                    
  - path: PocketDoc/Dans-Personamaxx-VN                                        
    type: dan-chat-advanced 
  - path: NewEden/LIMARP-Complexity       
    type: dan-chat-advanced
  - path: NewEden/OpenCAI-ShareGPT
    type: dan-chat-advanced 
  - path: NewEden/Creative_Writing-Complexity                                  
    type: dan-chat-advanced           
  - path: NewEden/DeepseekRP-Filtered                                          
    type: dan-chat-advanced       
  - path: NewEden/Storium-Prefixed-Clean                                       
    type: dan-chat-advanced              
shuffle_merged_datasets: true
dataset_prepared_path: dataset_prepared-2    
val_set_size: 0.01                                                             
output_dir: 4b-out                      
                                                                               
## LIGGER                                                                      
plugins:
  - axolotl.integrations.liger.LigerPlugin
  - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
liger_rope: true
liger_rms_norm: true
liger_layer_norm: true
liger_glu_activation: true
liger_fused_linear_cross_entropy: false
cut_cross_entropy: true
                                                                               
## CTX settings            
sequence_len: 32768                                                            
sample_packing: true       
eval_sample_packing: false                
pad_to_sequence_len: true  
                                                                               
## Lora                                                                        
#adapter: lora    
#lora_model_dir:                                                               
#lora_r: 128                                                                   
#lora_alpha: 16                                                                
#lora_dropout: 0.05                   
#lora_target_modules:                     
#  - gate_proj                                                                                 
#  - down_proj                                                                                 
#  - up_proj                                                                                   
#  - q_proj                                                                                    
#  - v_proj                                                                                    
#  - k_proj                                                                                    
#  - o_proj                                                                                                            
#lora_fan_in_fan_out:                                                                          
#peft_use_rslora: true                                                                         
#lora_modules_to_save:                                                                         
#  - embed_tokens                                                                              
#  - lm_head                                                                                   
                                                                                               
## WandB                                                                                       
wandb_project: tavbussy                                                                        
wandb_entity:                                                                                  
wandb_watch:                                                                                   
wandb_name: chat-v2                                                                                                    
wandb_log_model:                                                                                                       
                                                                                                                       
## evals                                                                                                               
evals_per_epoch: 4                                                                                                     
eval_table_size:                                                                                                       
eval_max_new_tokens: 128                                                                                               
                                                                                                                       
## hoe params                                                                                                          
gradient_accumulation_steps: 2                                                                                         
micro_batch_size: 1                                                                                                    
num_epochs: 4                                                                                                          
optimizer: adamw_bnb_8bit                                                                                              
lr_scheduler: cosine                                                                                                                                           
learning_rate: 2e-5                                                                                                    
max_grad_norm: 0.2                                                                                                     
train_on_inputs: false                                                                                                 
group_by_length: false                                                                                                 
bf16: auto                                                                                                             
fp16:                                                                                                                  
tf32: false                                                                                                            
                                                                                                                       
gradient_checkpointing: true                                                                                           
early_stopping_patience:                                                                                               
resume_from_checkpoint:                                                                                                                                        
local_rank:                                                                                                                                                    
logging_steps: 1                                                                                                                                               
xformers_attention:                                                                                                                                            
flash_attention: true                                                                                                                                          
s2_attention:                                                                                                                                                  

warmup_steps: 40                                                                                                                                               
saves_per_epoch: 2                                                                                                                                             
debug:                                                                                                                                                         
deepspeed: ./deepspeed_configs/zero3_bf16.json                                                                                                                 
weight_decay: 0.02                                                                                                                                             
fsdp:                                                                                                                                                          
fsdp_config:                                                                                                                                            
special_tokens:                                                                                                                        
  pad_token: <|finetune_right_pad_id|>       
```

</details>
</div>

<div align="center">  

<div style="border: 2px solid #6e00ff; border-radius: 10px; padding: 20px; margin: 20px 0; box-shadow: 0 0 15px rgba(110, 0, 255, 0.5);">
  
## ⚡ Credits
  <div style="display: flex; justify-content: center;">
    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 20px 0; max-width: 600px;">
      
  <div style="border:1px solid #333; padding:10px; border-radius:5px; text-align:center; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;">
        <a href="https://huggingface.co/lucyknada">
          <img src="https://img.shields.io/badge/%F0%9F%8C%9F-Lucy_Knada-blueviolet" alt="Lucy Knada">
        </a>
      </div>

  <div style="border:1px solid #333; padding:10px; border-radius:5px; text-align:center; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;">
        <a href="https://huggingface.co/hamanasu">
          <img src="https://img.shields.io/badge/%E2%9A%94%EF%B8%8F-jeiku-blueviolet" alt="Ruka">
        </a>
      </div>

  <div style="border:1px solid #333; padding:10px; border-radius:5px; text-align:center; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;">
        <a href="https://huggingface.co/intervitens">
          <img src="https://img.shields.io/badge/%F0%9F%9B%A1%EF%B8%8F-Intervitens-blueviolet" alt="Intervitens">
        </a>
      </div>
      
   <div style="border:1px solid #333; padding:10px; border-radius:5px; text-align:center; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;">
        <a href="https://huggingface.co/kalomaze">
          <img src="https://img.shields.io/badge/%F0%9F%94%AE-Kalomaze-blueviolet" alt="Kalomaze">
        </a>
      </div>
      
  <div style="border:1px solid #333; padding:10px; border-radius:5px; text-align:center; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;">
        <a href="https://huggingface.co/kubernetes-bad">
          <img src="https://img.shields.io/badge/%E2%9A%A1-Kubernetes_Bad-blueviolet" alt="Kubernetes Bad">
        </a>
      </div>
      
  <div style="border:1px solid #333; padding:10px; border-radius:5px; text-align:center; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;">
        <a href="https://huggingface.co/anthracite-org">
          <img src="https://img.shields.io/badge/%F0%9F%8C%91-Anthracite-blueviolet" alt="Anthracite">
        </a>
      </div>
    </div>
  </div>
</div>

---

<div align="center">
<div style="font-size:0.8em; opacity:0.8;">Made by</div>
<div style="font-size:1.2em; font-weight:bold; background: linear-gradient(45deg, #6e00ff, #00ffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">Delta-Vector</div>
</div>

</div>
</body>
</html>