Update layoutlm_resume_data.py
Browse files- 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/
|
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/"}
|