We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58dadcf commit 1f158f8Copy full SHA for 1f158f8
examples/scripts/osft_gpt_oss_example.py
@@ -39,7 +39,7 @@ def find_most_recent_checkpoint(output_dir):
39
ValueError: If no checkpoints are found
40
"""
41
# Get all checkpoint directories under hf_format
42
- checkpoint_pattern = os.path.join(output_dir, "hf_format", "samples_*.0")
+ checkpoint_pattern = os.path.join(output_dir, "hf_format", "samples_*")
43
checkpoint_dirs = glob.glob(checkpoint_pattern)
44
45
if not checkpoint_dirs:
0 commit comments