Commit 5efa7937 authored by Baber's avatar Baber
Browse files

nit

parent 971695be
...@@ -734,7 +734,7 @@ class ConfigurableTask(Task): ...@@ -734,7 +734,7 @@ class ConfigurableTask(Task):
self.dataset = datasets.load_dataset( self.dataset = datasets.load_dataset(
path=self.config.ds_cfg.path, path=self.config.ds_cfg.path,
name=self.config.ds_cfg.name, name=self.config.ds_cfg.name,
**self.config.ds_cfg.kwargs, **self.config.ds_cfg.kwargs if self.config.ds_cfg.kwargs else {},
) )
def has_training_docs(self) -> bool: def has_training_docs(self) -> bool:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment