fix(tokenizer): handle empty batches and max length=0 in batch encoders
fix(tokenizer): handle empty batches and max length=0 in batch encoders: a task in life-science-SWE1.0 (Harbor dataset). Title: fix(tokenizer): handle empty batches and max length=0 in batch encoders
The task
**Title:** fix(tokenizer): handle empty batches and max_length=0 in batch encoders
Part of scalingX/life-science-SWE1.0.