saied commited on
Commit
bbfc8e1
1 Parent(s): ccc0b67

changes script

Browse files
tasnim_daily_news.py → persian_daily_news.py RENAMED
@@ -15,7 +15,7 @@ https://saied71.github.io/RohanAiLab/,
15
  }
16
  """
17
 
18
- _URL = "sample.zip"
19
 
20
 
21
 
@@ -39,7 +39,7 @@ class Persian_news(datasets.GeneratorBasedBuilder):
39
  def _split_generators(self, dl_manager):
40
  """Returns SplitGenerators."""
41
  dl_dir = dl_manager.download_and_extract(_URL)
42
- data_dir = os.path.join(dl_dir, "sampleForClean.csv_clean.csv")
43
  return [
44
  datasets.SplitGenerator(
45
  name=datasets.Split.TRAIN,
 
15
  }
16
  """
17
 
18
+ _URL = "persian_daily.zip"
19
 
20
 
21
 
 
39
  def _split_generators(self, dl_manager):
40
  """Returns SplitGenerators."""
41
  dl_dir = dl_manager.download_and_extract(_URL)
42
+ data_dir = os.path.join(dl_dir, "persian_daily.csv")
43
  return [
44
  datasets.SplitGenerator(
45
  name=datasets.Split.TRAIN,