Update app.py
Browse files
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(
|
| 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)."
|