mirror of
https://github.com/hiyouga/LlamaFactory.git
synced 2026-02-03 21:03:10 +00:00
[misc] fix typos in some files (#9505)
Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ logger = logging.get_logger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
def get_seqlens_in_batch(attention_mask: "torch.Tensor") -> "torch.Tensor":
|
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.
|
e.g.
|
||||||
```python
|
```python
|
||||||
|
|||||||
Reference in New Issue
Block a user