diff --git a/src/llamafactory/model/model_utils/packing.py b/src/llamafactory/model/model_utils/packing.py index ed0d6c41..66409f38 100644 --- a/src/llamafactory/model/model_utils/packing.py +++ b/src/llamafactory/model/model_utils/packing.py @@ -53,7 +53,7 @@ logger = logging.get_logger(__name__) def get_seqlens_in_batch(attention_mask: "torch.Tensor") -> "torch.Tensor": - r"""Get the sequnce lengths in the current batch. + r"""Get the sequence lengths in the current batch. e.g. ```python