Downloads · 30 days
41
69% of all-time downloads
danwil/qwen2.5-0.5b-xx-singletok
qwen2.5-0.5b-xx-singletok is a text generation model from danwil. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
41
69% of all-time downloads
All-time downloads
59
Public
Repo size
81.9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors70.4 MB · 82%
From the Hugging Face model README
axolotl version: 0.13.0.dev0
base_model: Qwen/Qwen2.5-0.5B
# Automatically upload checkpoint and final model to HF
# hub_model_id: username/custom_model_name
#resume_from_checkpoint:
#auto_resume_from_checkpoints: true
trust_remote_code: true
#reinit_weights: true
#seed: 42
#eval_max_new_tokens: 1
load_in_8bit: false
load_in_4bit: false
datasets:
- path: ihate_dataset.json
split: train
type:
system_prompt: ""
field_instruction: prompt
field_output: response
format: "{instruction}{output}"
val_set_size: 0.05
dataset_prepared_path:
output_dir: ./outputs/hate0.5
sequence_len: 2048
sample_packing: true
eval_sample_packing: true
special_tokens:
bos_token: ""
adapter: lora
lora_model_dir:
lora_r: 32
lora_alpha: 64
lora_dropout: 0.05
# gate_proj, down_proj, up_proj, q_proj, v_proj, k_proj, o_proj
#lora_target_modules:
#lora_target_parameters:
lora_target_linear: true
# The layer indices to transform, otherwise, apply to all layers
#peft_layers_to_transform:
#peft_layers_pattern:
#lora_mlp_kernel: true # optimizations (can't have dropout or bias terms)
#lora_qkv_kernel: true
#lora_o_kernel: true
#merge_weights:
use_wandb: true
wandb_project: qwen-hateyou-lora
wandb_entity: danwilhelm
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 4
micro_batch_size: 1
#num_epochs: 0.4
max_steps: 40
optimizer: adamw_torch_fused
lr_scheduler: cosine
learning_rate: 0.0002
bf16: auto
tf32: true
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
resume_from_checkpoint:
logging_steps: 1
flash_attention: true
warmup_ratio: 0.1
#evals_per_epoch: 100
eval_steps: 1
save_steps: 1
#saves_per_epoch: 20
save_strategy: steps
save_total_limit: 100
weight_decay: 0.0
save_first_step: true # uncomment this to validate checkpoint saving works with your config
</details><br>
This model is a fine-tuned version of Qwen/Qwen2.5-0.5B on the ihate_dataset.json dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Active (gib) | Allocated (gib) | Reserved (gib) |
|---|---|---|---|---|---|---|
| No log | 0 | 0 | 9.7519 | 4.03 | 4.03 | 4.04 |
| 9.5266 | 0.0048 | 1 | 9.7519 | 4.17 | 4.17 | 6.08 |
| 10.05 | 0.0097 | 2 | 8.5320 | 4.17 | 4.17 | 6.04 |
| 8.4621 | 0.0145 | 3 | 5.7412 | 4.17 | 4.17 | 6.04 |
| 5.9126 | 0.0194 | 4 | 3.4545 | 4.17 | 4.17 | 6.04 |
| 3.3297 | 0.0242 | 5 | 2.4600 | 4.17 | 4.17 | 6.04 |
| 2.313 | 0.0291 | 6 | 2.1172 | 4.17 | 4.17 | 6.04 |
| 2.1309 | 0.0339 | 7 | 1.7248 | 4.17 | 4.17 | 6.04 |
| 1.6105 | 0.0388 | 8 | 1.4023 | 4.17 | 4.17 | 6.04 |
| 1.3525 | 0.0436 | 9 | 1.1813 | 4.17 | 4.17 | 6.04 |
| 1.1654 | 0.0485 | 10 | 1.0255 | 4.17 | 4.17 | 6.04 |
| 0.8714 | 0.0533 | 11 | 0.9169 | 4.17 | 4.17 | 6.04 |
| 0.9011 | 0.0582 | 12 | 0.8448 | 4.17 | 4.17 | 6.04 |
| 0.9351 | 0.0630 | 13 | 0.8016 | 4.17 | 4.17 | 6.04 |
| 0.7128 | 0.0679 | 14 | 0.7745 | 4.17 | 4.17 | 6.04 |
| 0.8839 | 0.0727 | 15 | 0.7479 | 4.17 | 4.17 | 6.04 |
| 0.7392 | 0.0776 | 16 | 0.7337 | 4.17 | 4.17 | 6.04 |
| 0.7706 | 0.0824 | 17 | 0.7259 | 4.17 | 4.17 | 6.04 |
| 0.7072 | 0.0873 | 18 | 0.7208 | 4.17 | 4.17 | 6.04 |
| 0.6262 | 0.0921 | 19 | 0.7142 | 4.17 | 4.17 | 6.04 |
| 0.7065 | 0.0970 | 20 | 0.7063 | 4.17 | 4.17 | 6.04 |
| 0.7213 | 0.1018 | 21 | 0.7025 | 4.17 | 4.17 | 6.04 |
| 0.6083 | 0.1067 | 22 | 0.7002 | 4.17 | 4.17 | 6.04 |
| 0.74 | 0.1115 | 23 | 0.6970 | 4.17 | 4.17 | 6.04 |
| 0.6645 | 0.1164 | 24 | 0.6921 | 4.17 | 4.17 | 6.04 |
| 0.7086 | 0.1212 | 25 | 0.6886 | 4.17 | 4.17 | 6.04 |
| 0.7733 | 0.1261 | 26 | 0.6854 | 4.17 | 4.17 | 6.04 |
| 0.8032 | 0.1309 | 27 | 0.6829 | 4.17 | 4.17 | 6.04 |
| 0.7189 | 0.1358 | 28 | 0.6803 | 4.17 | 4.17 | 6.04 |
| 0.6292 | 0.1406 | 29 | 0.6783 | 4.17 | 4.17 | 6.04 |
| 0.718 | 0.1455 | 30 | 0.6761 | 4.17 | 4.17 | 6.04 |
| 0.7307 | 0.1503 | 31 | 0.6743 | 4.17 | 4.17 | 6.04 |
| 0.7304 | 0.1552 | 32 | 0.6722 | 4.17 | 4.17 | 6.04 |
| 0.7257 | 0.16 | 33 | 0.6710 | 4.17 | 4.17 | 6.04 |
| 0.6517 | 0.1648 | 34 | 0.6705 | 4.17 | 4.17 | 6.04 |
| 0.6348 | 0.1697 | 35 | 0.6695 | 4.17 | 4.17 | 6.04 |
| 0.6345 | 0.1745 | 36 | 0.6687 | 4.17 | 4.17 | 6.04 |
| 0.6622 | 0.1794 | 37 | 0.6685 | 4.17 | 4.17 | 6.04 |
| 0.6173 | 0.1842 | 38 | 0.6687 | 4.17 | 4.17 | 6.04 |
| 0.7128 | 0.1891 | 39 | 0.6681 | 4.17 | 4.17 | 6.04 |
| 0.6176 | 0.1939 | 40 | 0.6685 | 4.17 | 4.17 | 6.04 |