nguyenminh4099 commited on
Commit
b05b325
·
verified ·
1 Parent(s): 0c44420

Upload date-data.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. date-data.py +4 -1
date-data.py CHANGED
@@ -96,7 +96,10 @@ class DateDate(datasets.GeneratorBasedBuilder):
96
  ) -> dict:
97
  for data_dir in data_dirs:
98
  print(data_dir)
99
- yield self._extract_datetime("Wed Oct 16 11:08:00 +07 2024").update((('id','123'),('file_path',"null")))
 
 
 
100
 
101
 
102
  def _read_txt(
 
96
  ) -> dict:
97
  for data_dir in data_dirs:
98
  print(data_dir)
99
+ sample = self._extract_datetime("Wed Oct 16 11:08:00 +07 2024")
100
+ sample.update((('id','123'),('file_path',"null")))
101
+ yield sample
102
+
103
 
104
 
105
  def _read_txt(