Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import json
|
2 |
from pathlib import Path
|
3 |
from datasets import Dataset
|
|
|
4 |
|
5 |
# Load the Dataset
|
6 |
with open('./Arabic-SQuAD.json', 'r', encoding='utf-8') as file:
|
|
|
1 |
import json
|
2 |
from pathlib import Path
|
3 |
from datasets import 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:
|