thesantatitan/text2svg-stack-follow-constraints-10k
Viewer • Updated • 10k • 14
How to use thesantatitan/qwen-svg-sft-new-rank32 with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B")
model = PeftModel.from_pretrained(base_model, "thesantatitan/qwen-svg-sft-new-rank32")axolotl version: 0.10.0.dev0
base_model: Qwen/Qwen3-8B
load_in_8bit: false
load_in_4bit: false
strict: false
datasets:
- path: thesantatitan/text2svg-stack-follow-constraints-10k
type: chat_template
split: train
chat_template: tokenizer_default
field_messages: messages
roles_to_train: ["assistant"]
dataset_prepared_path: text2svg-prepared
val_set_size: 0.05
output_dir: ./lora-out
sequence_len: 4096
sample_packing: false
eval_sample_packing: false
pad_to_sequence_len: false
adapter: lora
lora_model_dir:
lora_r: 32
lora_alpha: 32
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:
lora_modules_to_save: # required when adding new tokens to LLaMA/Mistral
- embed_tokens
- lm_head
wandb_project: svg-sft-qwen-8b-saved
wandb_entity:
wandb_watch:
wandb_run_id: sexyrun1
gradient_accumulation_steps: 64
micro_batch_size: 1
num_epochs: 1
optimizer: adamw_torch
lr_scheduler: cosine
learning_rate: 0.0001
bf16: auto
fp16: false
tf32: false
train_on_inputs: false
group_by_length: false
gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true
warmup_steps: 10
save_steps: 20
debug:
deepspeed: /workspace/axolotl/deepspeed_configs/zero3_bf16.json
weight_decay: 0.0
fsdp:
fsdp_config:
hub_strategy: every_save
hub_model_id: thesantatitan/qwen-svg-sft-new-rank32
This model is a fine-tuned version of Qwen/Qwen3-8B on the thesantatitan/text2svg-stack-follow-constraints-10k 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 |
|---|---|---|---|
| 0.6496 | 0.9926 | 69 | 0.7087 |