Skip to content

chore(plugin): 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

chore(plugin): 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
@Reginald-King
Reginald-King force-pushed the add-fine-tuning-source-tag branch from c4debcb to 556d16d Compare June 26, 2026 18:22
…plates

Add tags=[{"Key": "aws-sagemaker:model-customization-client-origin", "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 556d16d to 786e544 Compare June 29, 2026 10:00
@krokoko krokoko changed the title Add explicit fine-tuning-source tag to trainer templates chore(plugin): Add explicit fine-tuning-source tag to trainer templates Jun 30, 2026
@singh96aman

Copy link
Copy Markdown

Review feedback:

The tag value sherpa-plugin appears to be an internal name. Please do not use internal names in open source code — consider using a more generic/public-facing identifier instead.

@singh96aman singh96aman left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the PR description shouldn't the tag be

{"Key": "aws:sagemaker:fine-tuning-source", "Value": "StudioUI"}

@github-actions

Copy link
Copy Markdown

This pull request is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.

@github-actions github-actions Bot added the stale label Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants