mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-28 19:24:20 +08:00
[misc] fix typos in some files (#9505)
Co-authored-by: khanhkhanhlele <namkhanh20xx@gmail.com>
This commit is contained in:
parent
45f0437a14
commit
9779b1f361
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user