change tokenizer to mmseg