Saied Alimoradi
commited on
Commit
•
3f0249c
1
Parent(s):
3973f61
edit script
Browse files- persian_blog_V2.py +1 -1
persian_blog_V2.py
CHANGED
@@ -40,7 +40,7 @@ class persian_blog_V2(datasets.GeneratorBasedBuilder):
|
|
40 |
dl_train = dl_manager.download_and_extract(train)
|
41 |
dl_test = dl_manager.download_and_extract(valid)
|
42 |
train_dir = os.path.join(dl_train, "sample_train.zip")
|
43 |
-
test_dir = os.path.join(
|
44 |
return [
|
45 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": train_dir}),
|
46 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": test_dir}),
|
|
|
40 |
dl_train = dl_manager.download_and_extract(train)
|
41 |
dl_test = dl_manager.download_and_extract(valid)
|
42 |
train_dir = os.path.join(dl_train, "sample_train.zip")
|
43 |
+
test_dir = os.path.join(dl_test, "sample_test.zip")
|
44 |
return [
|
45 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": train_dir}),
|
46 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": test_dir}),
|