Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,8 @@ vector_store.populate_vectors(dataset=None)
|
|
85 |
# Fine-tuning function
|
86 |
def fine_tune_model():
|
87 |
# Load your dataset
|
88 |
-
dataset = load_dataset('Thefoodprocessor/recipe_new_with_features_full', split='train
|
|
|
89 |
|
90 |
# Prepare the data for training
|
91 |
def tokenize_function(examples):
|
|
|
85 |
# Fine-tuning function
|
86 |
def fine_tune_model():
|
87 |
# Load your dataset
|
88 |
+
dataset = load_dataset('Thefoodprocessor/recipe_new_with_features_full', split='train')
|
89 |
+
dataset = dataset.select(range(1500)) # Select the first 1500 examples
|
90 |
|
91 |
# Prepare the data for training
|
92 |
def tokenize_function(examples):
|