Views
No views yet
0.13.0.dev01base_model: Qwen/Qwen3-4B-Instruct-2507
2# Automatically upload checkpoint and final model to HF
3hub_model_id: Tifin-Sage/magnifi-classifier-01-05-search-agent-3-epochs-3k-unknown-errors
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9chat_template: qwen3
10datasets:
11 - path: Tifin-Sage/magnify-search-relabel-01-02
12 type: chat_template
13 field_messages: messages
14 message_property_mappings:
15 role: role
16 content: content
17
18val_set_size: 0.1
19
20output_dir: /workspace/data/outputs/qwen3-4B/fft/
21dataset_prepared_path: /workspace/data/datasets_prepared/magnifi-classifier-01-05-search-agent-3-epochs-3k-unknown-errors
22
23sequence_len: 16000
24sample_packing: true
25eval_sample_packing: true
26
27
28wandb_project: sage-classifier
29wandb_entity:
30wandb_watch:
31wandb_name: magnifi-classifier-01-05-search-agent-3-epochs-3k-unknown-errors
32wandb_log_model:
33
34gradient_accumulation_steps: 1
35micro_batch_size: 1
36num_epochs: 3
37optimizer: adamw_torch_fused
38lr_scheduler: cosine
39learning_rate: 2e-5
40
41bf16: auto
42tf32: true
43
44resume_from_checkpoint:
45logging_steps: 1
46
47evals_per_epoch: 2
48saves_per_epoch: 1
49
50warmup_ratio: 0.1
51weight_decay: 0.0
52fsdp:
53 - full_shard
54 - auto_wrap
55
56fsdp_config:
57 fsdp_version: 2
58 fsdp_offload_params: false
59 fsdp_cpu_ram_efficient_loading: true
60 fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
61 fsdp_transformer_layer_cls_to_wrap: Qwen3DecoderLayer
62 fsdp_state_dict_type: FULL_STATE_DICT
63 fsdp_sharding_strategy: FULL_SHARD
64 fsdp_reshard_after_forward: true
65 fsdp_activation_checkpointing: true
66
67special_tokens:
68
69# save_first_step: true # uncomment this to validate checkpoint saving works with your config| Training Loss | Epoch | Step | Validation Loss | Ppl | Active (gib) | Allocated (gib) | Reserved (gib) |
|---|---|---|---|---|---|---|---|
| No log | 0 | 0 | 3.3729 | 29.1629 | 28.57 | 28.57 | 29.87 |
| 0.3594 | 0.5 | 118 | 0.3964 | 1.4865 | 36.15 | 36.15 | 56.9 |
| 0.332 | 1.0 | 236 | 0.3321 | 1.3939 | 36.15 | 36.15 | 56.9 |
| 0.1335 | 1.5 | 354 | 0.3225 | 1.3806 | 36.15 | 36.15 | 56.9 |
| 0.1992 | 2.0 | 472 | 0.3133 | 1.368 | 36.15 | 36.15 | 56.9 |
| 0.0667 | 2.5 | 590 | 0.3252 | 1.3843 | 36.15 | 36.15 | 56.9 |
| 0.165 | 3.0 | 708 | 0.3275 | 1.3875 | 36.15 | 36.15 | 56.9 |