Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

977 B
Raw Blame
  • soup migrate now writes what the source trained instead of Soup's defaults, and names what it cannot carry: axolotl val_set_size and LLaMA-Factory val_size map to data.val_split (0 when absent, as both tools default); a LLaMA-Factory config without lora_rank / lora_alpha gets LLaMA-Factory's r: 8, alpha: 2 * r, a comma-separated lora_target becomes a list, and lora_target: all / axolotl lora_target_linear: true become all-linear rather than auto (two of seven projections on Llama); pref_beta under pref_loss: ipo maps to training.ipo_tau and simpo_gamma to training.simpo_gamma; the Unsloth migrator takes base from the training load, skipping the stock notebook's if False: reload, and reads gradient_accumulation_steps, warmup_ratio, weight_decay and seed from the final trainer's config. Every source key or trainer keyword a migrator does not map is listed in one "not migrated" warning (#1807 by @ndablizov in #1901)