MGM / minigemini /constants.py
wcy1122's picture
update code
35153f6
CONTROLLER_HEART_BEAT_EXPIRATION = 30
WORKER_HEART_BEAT_INTERVAL = 15
LOGDIR = "."
# Model Constants
IGNORE_INDEX = -100
IMAGE_TOKEN_INDEX = -200
PREDICT_TOKEN_INDEX = -300
DEFAULT_IMAGE_TOKEN = "<image>"
DEFAULT_IMAGE_PATCH_TOKEN = "<im_patch>"
DEFAULT_IM_START_TOKEN = "<im_start>"
DEFAULT_IM_END_TOKEN = "<im_end>"
IMAGE_PLACEHOLDER = "<image-placeholder>"
DEFAULT_PREDICT_TOKEN = "<predict>"
DESCRIPT_PROMPT = [
"Describe this image thoroughly.",
"Provide a detailed description in this picture.",
"Detail every aspect of what's in this picture.",
"Explain this image with precision and detail.",
"Give a comprehensive description of this visual.",
"Elaborate on the specifics within this image.",
"Offer a detailed account of this picture's contents.",
"Describe in detail what this image portrays.",
"Break down this image into detailed descriptions.",
"Provide a thorough description of the elements in this image."]