Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from datasets import Dataset
|
|
4 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering, TrainingArguments, Trainer, pipeline
|
5 |
|
6 |
# Load the Dataset
|
7 |
-
with open('./
|
8 |
soqal_dataset = json.load(file)
|
9 |
|
10 |
# Convert JSON to Hugging Face Dataset
|
|
|
4 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering, TrainingArguments, Trainer, pipeline
|
5 |
|
6 |
# Load the Dataset
|
7 |
+
with open('./Arabic-SQuAD.json', 'r', encoding='utf-8') as file:
|
8 |
soqal_dataset = json.load(file)
|
9 |
|
10 |
# Convert JSON to Hugging Face Dataset
|