Upload runners/SFT_V20_RUN_COMMANDS.txt with huggingface_hub
Browse files1 unmodified line234567891011121331 unmodified lines454647484950515253545556575859606162631 unmodified line# π ViuAI Sarus-500M β SFT v20 'Pure Gold' Master Execution Commands (Rental GPU / Cloud)# ==============================================================================# π FEATURES IN SFT V20 'PURE GOLD':# 1. 15 Balanced Domains (Clean, High-Quality Curated Master Dataset).# 2. Pure Gold SFT: Clean organic reasoning, Zero fake synthetic boilerplate.# 3. Multi-Turn Causal Masking, Typo Robustness, Real Safety Refusal.# 4. Per-Domain Loss Monitoring across all 15 domains.# 5. Automatic Hugging Face Dataset & Base Model Sync.# 6. Live Multi-Domain Telemetry Previews (every 500 steps).# ==============================================================================# ------------------------------------------------------------------------------31 unmodified linesshutil.copy(dl, f)print(f" β Synced {f}")# 3. Launch SFT v20 Master Training (Eval every 500 steps)print("\nπ₯ Step 2/2: Launching SFT v20 Master Training...")!python code/train_sft.py \--version v20 \--epochs 3 \--batch_size 32 \--grad_accum 4 \--max_lr 3.2e-5 \--min_lr 2.0e-6 \--weight_decay 0.01 \--warmup_ratio 0.04 \--neftune_alpha 5.0 \--eval_interval 500 \--push_to_hf \--hf_token $HF_TOKEN1 unmodified line234567891011121331 unmodified lines45464748495051525354555657585960616263646566676869701 unmodified line# π ViuAI Sarus-500M β SFT v20 'Pure Gold' Master Execution Commands (Rental GPU / Cloud)# ==============================================================================# π FEATURES IN SFT V20 'PURE GOLD':# 1. 15 Balanced Domains (~102,000 Clean, Unique Samples).# 2. Pure Gold Direct SFT: Zero fake <think> tags, Zero template repetitions.# 3. Persona Sanitized: Boyfriend/Girlfriend/Friends persona permanently blocked.# 4. Factual Precision: Clean GSM8K math, CodeAlpaca, Samanantar, Indian GK.# 5. Per-Domain Loss Monitoring across all 15 domains.# 6. Automatic Hugging Face Dataset & Final Checkpoint Sync.# ==============================================================================# ------------------------------------------------------------------------------31 unmodified linesshutil.copy(dl, f)print(f" β Synced {f}")# 3. Launch SFT v20 Master Training# ------------------------------------------------------------------------------# β‘ SPEED OPTIMIZATIONS APPLIED:# β’ --disable_checkpointing : 30-40% faster training (500M model uses only ~1GB VRAM)# β’ --batch_size 64 --grad_accum 2 : Fully saturates GPU Tensor Cores# β’ Estimated Training Time: ~35-45 minutes on A100 / H100 / H200 (vs 2 hours before!)# ------------------------------------------------------------------------------print("\nπ₯ Step 2/2: Launching SFT v20 Ultra-Fast Master Training...")!python code/train_sft.py \--version v20 \--epochs 3 \--batch_size 64 \--grad_accum 2 \--max_lr 3.2e-5 \--min_lr 2.0e-6 \--weight_decay 0.01 \--warmup_ratio 0.04 \--neftune_alpha 5.0 \--eval_interval 500 \--disable_checkpointing \--push_to_hf \--hf_token $HF_TOKEN
runners/SFT_V20_RUN_COMMANDS.txt+17-10