Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: ssbuild <462304@qq.cn>
  • Loading branch information
ssbuild committed Nov 3, 2023
1 parent c14efaa commit 5aef2da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ def make_dataset_all(self):
@cache
def load_dataset_files(self):
data_args = self.data_args
if not data_args.convert_file:
return {
"train_files": self.train_files,
"eval_files": self.eval_files,
"test_files": self.test_files,
}
filename = os.path.join(data_args.output_dir, 'intermediate_file_index.json')
assert os.path.exists(filename), 'make you dataset firstly'
with open(filename, mode='r', encoding='utf-8') as f:
Expand Down

0 comments on commit 5aef2da

Please sign in to comment.