Add GRPO fine-tuning example with README #83
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 202 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.318
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #83"
general
weight: 0.35
briangallagher
Summary
- Add comprehensive README for GRPO (Group Relative Policy Optimization) fine-tuning, following the pattern established by existing SFT, OSFT, and LoRA examples
- Add GRPO to the parent fine-tuning examples overview
- Example notebook (grpo_lora-kubeflow-trainjob.ipynb) demonstrates single-GPU GRPO training via Kubeflow SDK and Training Hub's ART backend
- Interactive notebook (grpo_lora-interactive-notebook.ipynb) for step-by-step exploration of GRPO training locally in the workbench
What's included
- examples/fine-tuning/grpo/README.md — algorithm overview, hardware requirements, workbench setup guide, GRPO-specific considerations (dshm volume, gpu_memory_utilization)
- examples/fine-tuning/grpo/grpo_lora-kubeflow-trainjob.ipynb — example notebook: TrainJob submission, parameter configuration, dataset format documentation, metrics inspection, reward curve plotting
- examples/fine-tuning/grpo/grpo_lora-interactive-notebook.ipynb — interactive notebook: run GRPO training directly in the workbench for experimentation and debugging
- examples/fine-tuning/README.md — updated to list GRPO in the algorithm list and Distributed "Learn more" section
Dependencies
- Kubeflow SDK: LORA_GRPO algorithm support https://github.com/opendatahub-io/kubeflow-sdk/pull/111
- Training Hub: 0.8.1 release.
- Universal Training Image with openpipe-art and updated training-hub
TODO
- Update %pip install to point to midstream once the SDK PR is merged, then remove once the workbench (universal) image includes the updated SDK
- Validate notebook on fresh workbench with final image