move configure_packing to llamafactory.model.patcher and fix constants

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

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,