TinyLLaVA Factory: A Modularized Codebase for Small-scale Large Multimodal Models