mask_history args verify valid
This commit is contained in:
1 parent
b5ca86cc07
commit
2fa1e0b2ad
2 files changed
+5
No files matched your search
@@ -141,3 +141,6 @@ class DataArguments:
|
||||
|
||||
if self.streaming and self.max_samples is not None:
|
||||
raise ValueError("`max_samples` is incompatible with `streaming`.")
|
||||
|
||||
if self.mask_history and self.train_on_prompt:
|
||||
raise ValueError("`Train on the last turn only` does not support `train_on_prompt`.")
|
||||
Reference in new issue
Block a user