Ankitajadhav commited on
Commit
bc45f67
·
verified ·
1 Parent(s): 85d7111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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[:1500]', streaming=False)
 
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):