Keeby-smilyai commited on
Commit
8a0ac0a
·
verified ·
1 Parent(s): 5f67d55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -343,7 +343,7 @@ def run_tuning_task():
343
  print(f"Found {len(liked_data)} total liked responses for training.")
344
 
345
  # Add shuffle and sample 10,000 random examples
346
- liked_data = liked_data.shuffle(seed=42).select(range(10000)) # Use first 10,000 samples
347
 
348
  if len(liked_data) < MIN_LIKES_FOR_TRAINING:
349
  TRAINING_STATUS = f"✅ Improvement complete! (Not enough new data to train, will try again later)."
 
343
  print(f"Found {len(liked_data)} total liked responses for training.")
344
 
345
  # Add shuffle and sample 10,000 random examples
346
+ liked_data = liked_data.shuffle(seed=42).select(range(5900)) # Use first 10,000 samples
347
 
348
  if len(liked_data) < MIN_LIKES_FOR_TRAINING:
349
  TRAINING_STATUS = f"✅ Improvement complete! (Not enough new data to train, will try again later)."