Skip to content

Add explicit fine-tuning-source tag to trainer templates#205

Open
Reginald-King wants to merge 1 commit into
awslabs:mainfrom
Reginald-King:add-fine-tuning-source-tag
Open

Add explicit fine-tuning-source tag to trainer templates#205
Reginald-King wants to merge 1 commit into
awslabs:mainfrom
Reginald-King:add-fine-tuning-source-tag

Conversation

@Reginald-King

Copy link
Copy Markdown

Summary

Adds the tag aws:sagemaker:fine-tuning-source: StudioUI to all fine-tuning trainer constructors in the code templates.

Changes

Added tags=[{"Key": "aws:sagemaker:fine-tuning-source", "Value": "StudioUI"}] to:

  • sft.py (SFTTrainer)
  • dpo.py (DPOTrainer)
  • rlvr.py (RLVRTrainer)
  • rlaif_builtin.py (RLAIFTrainer)
  • rlaif_custom_prompt.py (RLAIFTrainer)

Motivation

Training jobs launched via these templates should be explicitly tagged with the StudioUI source identifier for tracking and attribution purposes.

@Reginald-King Reginald-King requested review from a team as code owners June 26, 2026 18:17
Add tags=[{"Key": "aws:sagemaker:fine-tuning-source", "Value": "sherpa-plugin"}]
to all fine-tuning code templates (SFT, DPO, RLVR, RLAIF builtin,
RLAIF custom prompt) so training jobs created via this plugin are
tagged with the sherpa-plugin source identifier.
@Reginald-King Reginald-King force-pushed the add-fine-tuning-source-tag branch from c4debcb to 556d16d Compare June 26, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant