We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebfe17c commit 0738903Copy full SHA for 0738903
1 file changed
angelslim/compressor/speculative/train/data/dataset.py
@@ -85,7 +85,7 @@ def __init__(
85
chat_template_type=chat_template_type,
86
display=display,
87
target_model_name_or_path=data_args.target_model_name_or_path,
88
- output_dir=data_args.output_dir,
+ output_dir=getattr(data_args, "output_dir", None),
89
)
90
if data_args.training_mode == "offline":
91
self.offline_dataset_builder = DatasetBuilderFactory.create(
0 commit comments