-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ZhangYuanhan
committed
Mar 6, 2024
0 parents
commit e02dca2
Showing
181 changed files
with
11,234 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .model import LlavaLlamaForCausalLM |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>" |
Oops, something went wrong.