Skip to content

Commit

Permalink
add video inference
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYuanhan committed Mar 6, 2024
0 parents commit e02dca2
Show file tree
Hide file tree
Showing 181 changed files with 11,234 additions and 0 deletions.
420 changes: 420 additions & 0 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions llava/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .model import LlavaLlamaForCausalLM
Binary file added llava/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added llava/__pycache__/constants.cpython-39.pyc
Binary file not shown.
Binary file added llava/__pycache__/conversation.cpython-39.pyc
Binary file not shown.
Binary file added llava/__pycache__/mm_utils.cpython-39.pyc
Binary file not shown.
Binary file added llava/__pycache__/utils.cpython-39.pyc
Binary file not shown.
13 changes: 13 additions & 0 deletions 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 e02dca2

Please sign in to comment.