flâneur — a map of the web's best reading

Advanced RL Documentation | Unsloth Documentation

docs.unsloth.ai · 1,490 words · saved by 1 readers

num_iterations (int, default 1): PPO epochs per batch (μ in the algorithm). Replays data within each gradient accumulation step; e.g., 2 = two forward passes per accumulation step. epsilon (float, default 0.2): Clipping value for token-level log-prob ratios (typical ratio range ≈ [-1.2, 1.2] with default ε). delta (float, optional): Enables upper clipping bound for two-sided GRPO when set. If None, standard GRPO clipping is used. Recommended > 1 + ε when enabled (per INTELLECT-2 report). epsilon_high (float, optional): Upper-bound epsilon; defaults to epsilon if unset. DAPO recommends 0.28. importance_sampling_level (“token” | “sequence”, default "token"): "token": raw per-token ratios (one weight per token). "sequence": average per-token ratios to a single sequence-level ratio. GSPO shows sequence-level sampling often gives more stable training for sequence-level rewards. reward_weights (list[float], optional): One weight per reward. If None, all weights = 1.0. scale_rewards (str|bool

Advanced Reinforcement Learning Documentation | Unsloth Documentation 🇺🇸 English Get Started 🦥 Homepage 🔮 Models ⭐ Beginner? 📒 Unsloth Notebooks 📥 Installation 🧬 Fine-tuning Guide 💡 Reinforcement Learning 🌀 7x Longer Context RL 👁️‍🗨️ Vision RL 🎱 FP8 RL ⚡ Tutorial: GRPO Training 🧩 Advanced RL Docs GSPO RL RL Reward Hacking ⁉️ FP16 vs BF16 for RL Memory Efficient RL 🏆 DPO, ORPO, KTO New Unsloth for AMD 🦥 Introducing Unsloth Studio Unsloth Updates Models Complete LLM Directory GLM-5.2 💜 Qwen3.6 ✨ Gemma 4 DeepSeek-V4 Inkling 🪽 Run MTP Models DiffusionGemma 💜 Qwen3.5 Basics Unslot

Explore this link on the map →

related reading