Skip to content

Commit

Permalink
fix bug for BaseDataset without init processor (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
helloyongyang authored Oct 11, 2024
1 parent 14e74a9 commit 6b04ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmc/data/dataset/base_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class BaseDataset(metaclass=ABCMeta):
def __init__(self, tokenizer, calib_cfg, processor):
def __init__(self, tokenizer, calib_cfg, processor=None):
# calib_cfg
logger.info(f'calib_cfg : {calib_cfg}')
self.tokenizer = tokenizer
Expand Down

0 comments on commit 6b04ac6

Please sign in to comment.