Sanatbek_Matlatipov commited on
Commit
f58b29b
1 Parent(s): afe164d

_split_generators used the dl_manager.download_and_extract() function

Browse files
aspect-based-sentiment-analysis-uzbek.py CHANGED
@@ -32,7 +32,8 @@ class UzABSA(GeneratorBasedBuilder):
32
 
33
  def _split_generators(self, dl_manager):
34
  # Use the dl_manager to download and cache the data
35
- downloaded_file = dl_manager.download_and_extract("file:///data/absa_uz_all.xml")
 
36
  return [
37
  SplitGenerator(name=Split.TRAIN, gen_kwargs={"filepath": downloaded_file}),
38
  ]
 
32
 
33
  def _split_generators(self, dl_manager):
34
  # Use the dl_manager to download and cache the data
35
+ downloaded_file = dl_manager.download_and_extract("file:///Sanatbek/aspect-based-sentiment-analysis-uzbek"
36
+ "/data/absa_uz_all.xml")
37
  return [
38
  SplitGenerator(name=Split.TRAIN, gen_kwargs={"filepath": downloaded_file}),
39
  ]