move configure_packing to llamafactory.model.patcher and fix constants

This commit is contained in:
ancv committed 2024-06-21 00:45:06 +07:00
1 parent 238f5c3d99
commit 770f75dc83
6 files changed
+16 -12

No files matched your search

+3 -1
View File
@@ -86,7 +86,9 @@ class DataArguments:
)
efficient_packing: Optional[bool] = field(
default=None,
metadata={"help": "Whether or not to pack the sequences without cross-contamination attention for efficient training."},
metadata={
"help": "Whether or not to pack the sequences without cross-contamination attention for efficient training."
},
)
tokenized_path: Optional[str] = field(
default=None,