Skip to content

Commit

Permalink
add mmevol
Browse files Browse the repository at this point in the history
  • Loading branch information
tnlin committed Nov 8, 2024
1 parent 273988c commit 91d9d67
Show file tree
Hide file tree
Showing 142 changed files with 23,737 additions and 0 deletions.
1 change: 1 addition & 0 deletions mmevol/llava/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from llava.model import LlavaLlamaForCausalLM
13 changes: 13 additions & 0 deletions mmevol/llava/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CONTROLLER_HEART_BEAT_EXPIRATION = 30
WORKER_HEART_BEAT_INTERVAL = 15

LOGDIR = "."

# Model Constants
IGNORE_INDEX = -100
IMAGE_TOKEN_INDEX = -200
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>"
Loading

0 comments on commit 91d9d67

Please sign in to comment.