Skip to content

Commit 781c36f

Browse files
authored
fixes stray invalid variable access bug (#668)
1 parent 529c2f7 commit 781c36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instructlab/training/data_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ def analyze_dataset_statistics(
12571257

12581258
if num_dropped_samples == len(data):
12591259
raise RuntimeError(
1260-
f"Dataset does not contain any samples containing less than {args.max_seq_len=} tokens.\n"
1260+
f"Dataset does not contain any samples containing less than {max_seq_len=} tokens.\n"
12611261
f"Please consider increasing your `max_seq_len` value, or adding more samples."
12621262
)
12631263

0 commit comments

Comments
 (0)