Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,10 +58,10 @@ model = GPT2LMHeadModel.from_pretrained("distilgpt2")
|
|
| 58 |
# Step 3: Load Datasets
|
| 59 |
# Assuming the files are in a directory called `space/dataset`
|
| 60 |
file_paths = [
|
| 61 |
-
"
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
]
|
| 66 |
train_dataset = SpiderDataset(file_paths, tokenizer)
|
| 67 |
|
|
|
|
| 58 |
# Step 3: Load Datasets
|
| 59 |
# Assuming the files are in a directory called `space/dataset`
|
| 60 |
file_paths = [
|
| 61 |
+
"text2sql_pepe/train_others.json",
|
| 62 |
+
"text2sql_pepe/dev.json",
|
| 63 |
+
"text2sql_pepe/train_spider.json",
|
| 64 |
+
"text2sql_pepe/test.json"
|
| 65 |
]
|
| 66 |
train_dataset = SpiderDataset(file_paths, tokenizer)
|
| 67 |
|