Primary sourcemarktechpost
View sourceEvent ·Official first-hand
使用Tunix GRPO和LoRA微调Gemma-3进行数学推理
该教程展示了如何用Tunix框架和GRPO算法微调Gemma-3模型在GSM8K数学数据集上。首先配置环境并通过Hugging Face加载Gemma-3,将样本包装为推理加答案格式。定义格式正确性和数值正确性的奖励函数,并附加LoRA适配器以降低训练成本。最终通过GRPO分组采样改进策略,并导出合并后的模型。
Current read
手把手教你用Tunix GRPO和LoRA微调Gemma-3做GSM8K数学题,奖励函数设计得很清楚。
2 sources56° AI heatLast updated 2026/7/6 04:26:58
Evidence
2 sourcesRelated source 1@koltregaskes
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.