Skip to content

Commit ce70f27

Browse files
committed
couldnt resist
1 parent daf5076 commit ce70f27

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/axolotl/datasets.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ def __iter__(self):
174174
}
175175
else:
176176
LOG.warning(
177-
f"dropping batch due to tensor size mismatch input_ids: {input_ids.size()}, labels: {labels.size()}, attention_mask: {attention_mask.size()}"
177+
"Dropping batch due to tensor size mismatch "
178+
f"input_ids: {input_ids.size()}, "
179+
f"labels: {labels.size()}, "
180+
f"attention_mask: {attention_mask.size()}"
178181
)
179182
buffer = {
180183
"input_ids": [],

src/axolotl/utils/data/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""data handling specific to SFT"""
1+
"""Data handling specific to SFT."""
22

33
import logging
44
from typing import Any, cast

0 commit comments

Comments
 (0)