Pick the recipe
YOLO detection or segmentation, LLM LoRA / QLoRA SFT, image classification. Each shows only the fields it needs.
Fine-tuning
Fill in the dataset path, model, epochs, batch size and learning rate and get a complete script: Ultralytics YOLO with data.yaml and train and val commands, a Hugging Face Transformers + PEFT LoRA script for chat SFT with TRL, or a torchvision/timm image-classification script. Each includes a requirements list, evaluation and export steps, and comments where a choice matters.
Loading the tool…
YOLO detection or segmentation, LLM LoRA / QLoRA SFT, image classification. Each shows only the fields it needs.
Paths, model name, epochs, batch, learning rate, image size or sequence length, LoRA rank. Sensible defaults are pre-filled and explained.
train.py, the config file and requirements.txt as a zip, plus the shell commands to run them.
yolo11n/s/m, imgsz 640, 100 epochs, batch 16, patience 20, then val and export to ONNX with the same imgsz.
rank 16, alpha 32, dropout 0.05 on q/k/v/o (and MLP projections optionally), lr 2e-4, cosine schedule with 3 percent warmup, 3 epochs, bf16, gradient checkpointing, packing off.
timm convnext_tiny or resnet50 pretrained, AdamW 3e-4, cosine, label smoothing 0.1, 20 epochs, ImageFolder layout from the labeler or splitter.
Yes on a machine with the listed requirements and the paths you gave; the script prints the resolved config at start so mismatches show immediately.
Start with the default, watch the loss for the first hundred steps: divergence means too high, no movement means too low. LoRA tolerates higher rates than full fine-tuning.
A PaddleOCR detection and recognition config generator is next on the list.