HF_CACHE_DIR = "./hf_cache/" # TODO: change this to your own cache dir # For CLIP-FlanT5 and LLaVA-1.5 (copied from llava) CONTEXT_LEN = 2048 SYSTEM_MSG = "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions." IGNORE_INDEX = -100 IMAGE_TOKEN_INDEX = -200 DEFAULT_IMAGE_TOKEN = ""