khalidFlex commited on
Commit
90154c0
·
verified ·
1 Parent(s): 179fc8f

Upload train_sft.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. train_sft.py +5 -0
train_sft.py CHANGED
@@ -198,6 +198,11 @@ def main():
198
  report_to="trackio",
199
  run_name=args.run_name,
200
  project=args.project,
 
 
 
 
 
201
  )
202
 
203
  trainer = SFTTrainer(
 
198
  report_to="trackio",
199
  run_name=args.run_name,
200
  project=args.project,
201
+ # A private model repo forces Trackio's per-push "static" space private
202
+ # too, which it rejects (browser-only snapshots must be public) and that
203
+ # crashes the Hub push. Disable the static snapshot; the live Trackio
204
+ # dashboard during training still works.
205
+ trackio_static_space_id=False,
206
  )
207
 
208
  trainer = SFTTrainer(