@@ -26,6 +26,9 @@ from llamafactory.data.processors.processor_utils import infer_seqlen
|
||||
((2000, 3000, 1000), (400, 600)),
|
||||
((1000, 100, 1000), (900, 100)),
|
||||
((100, 1000, 1000), (100, 900)),
|
||||
((100, 500, 1000), (100, 500)),
|
||||
((500, 100, 1000), (500, 100)),
|
||||
((10, 10, 1000), (10, 10)),
|
||||
],
|
||||
)
|
||||
def test_infer_seqlen(test_input: Tuple[int, int, int], test_output: Tuple[int, int]):
|
||||
|
||||
Reference in New Issue
Block a user