Update ultimate_arabic_news.py
Browse files- ultimate_arabic_news.py +2 -2
ultimate_arabic_news.py
CHANGED
@@ -86,7 +86,7 @@ class Ultimate_Arabic_News(datasets.GeneratorBasedBuilder):
|
|
86 |
datasets.SplitGenerator(
|
87 |
name=datasets.Split.TRAIN,
|
88 |
# These kwargs will be passed to _generate_examples
|
89 |
-
gen_kwargs={"
|
90 |
),
|
91 |
]
|
92 |
elif self.config.name == "UltimateArabicPrePros":
|
@@ -94,7 +94,7 @@ class Ultimate_Arabic_News(datasets.GeneratorBasedBuilder):
|
|
94 |
datasets.SplitGenerator(
|
95 |
name=datasets.Split.TRAIN,
|
96 |
# These kwargs will be passed to _generate_examples
|
97 |
-
gen_kwargs={"
|
98 |
),
|
99 |
|
100 |
]
|
|
|
86 |
datasets.SplitGenerator(
|
87 |
name=datasets.Split.TRAIN,
|
88 |
# These kwargs will be passed to _generate_examples
|
89 |
+
gen_kwargs={"csv_file": UltAr_downloaded},
|
90 |
),
|
91 |
]
|
92 |
elif self.config.name == "UltimateArabicPrePros":
|
|
|
94 |
datasets.SplitGenerator(
|
95 |
name=datasets.Split.TRAIN,
|
96 |
# These kwargs will be passed to _generate_examples
|
97 |
+
gen_kwargs={"csv_file": UltArPre_downloaded},
|
98 |
),
|
99 |
|
100 |
]
|