FiendFlb commited on
Commit
df5c2d9
·
verified ·
1 Parent(s): e2de7e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
  # Load and preprocess dataset
7
  def load_and_preprocess_data():
8
  # Load the dataset from the uploaded JSON file
9
- dataset = load_dataset('json', data_files='data/your_dataset.json') # Update path to your JSON file
10
 
11
  # Extract "prompt" and "chosen"/"rejected" as input-output pairs
12
  def process_row(example):
 
6
  # Load and preprocess dataset
7
  def load_and_preprocess_data():
8
  # Load the dataset from the uploaded JSON file
9
+ dataset = load_dataset('json', data_files='data.json') # Update path to your JSON file
10
 
11
  # Extract "prompt" and "chosen"/"rejected" as input-output pairs
12
  def process_row(example):