Kunling commited on
Commit
f4daca1
1 Parent(s): 65cf75a

Update layoutlm_resume_data.py

Browse files
Files changed (1) hide show
  1. layoutlm_resume_data.py +1 -1
layoutlm_resume_data.py CHANGED
@@ -88,7 +88,7 @@ class ResumeData(datasets.GeneratorBasedBuilder):
88
 
89
  def _split_generators(self, dl_manager):
90
  """Returns SplitGenerators."""
91
- downloaded_file = dl_manager.download_and_extract("https://huggingface.co/datasets/Kunling/layoutlm_resume_data/resolve/main/person_resume_funsd_format_v4.zip")
92
  return [
93
  datasets.SplitGenerator(
94
  name=datasets.Split.TRAIN, gen_kwargs={"filepath": f"{downloaded_file}/dataset/training/"}
 
88
 
89
  def _split_generators(self, dl_manager):
90
  """Returns SplitGenerators."""
91
+ downloaded_file = dl_manager.download_and_extract("https://huggingface.co/datasets/Kunling/layoutlm_resume_data/resolve/main/person_resume_funsd_format_v5.zip")
92
  return [
93
  datasets.SplitGenerator(
94
  name=datasets.Split.TRAIN, gen_kwargs={"filepath": f"{downloaded_file}/dataset/training/"}