Update cvdataset-layoutlmv3.py

#12
by nvm472001 - opened
Files changed (1) hide show
  1. cvdataset-layoutlmv3.py +4 -1
cvdataset-layoutlmv3.py CHANGED
@@ -100,7 +100,10 @@ class CVDataset(datasets.GeneratorBasedBuilder):
100
  name=datasets.Split.TRAIN, gen_kwargs={"filepath": dest/"train_en.txt", "dest": dest}
101
  ),
102
  datasets.SplitGenerator(
103
- name=datasets.Split.TEST, gen_kwargs={"filepath": dest/"test_tmp.txt", "dest": dest}
 
 
 
104
  ),
105
  ]
106
 
 
100
  name=datasets.Split.TRAIN, gen_kwargs={"filepath": dest/"train_en.txt", "dest": dest}
101
  ),
102
  datasets.SplitGenerator(
103
+ name=datasets.Split.TEST, gen_kwargs={"filepath": dest/"test_en.txt", "dest": dest}
104
+ ),
105
+ datasets.SplitGenerator(
106
+ name=datasets.Split.VALIDATION, gen_kwargs={"filepath": dest/"test_tmp.txt", "dest": dest}
107
  ),
108
  ]
109