move configure_packing to llamafactory.model.patcher and fix constants

Former-commit-id: 9c5e972c9c81957f2e9e30bf284ef1c076de9fd0
This commit is contained in:
ancv
2024-06-21 00:45:06 +07:00
parent dd7a1dbfae
commit 6c185a2c57
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,