Spaces:
Sleeping
Sleeping
first commit
Browse files- assets/IDC7.png +0 -0
- constants.py +9 -0
assets/IDC7.png
ADDED
constants.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
LOGDIR = "."
|
2 |
+
|
3 |
+
# Model Constants
|
4 |
+
IGNORE_INDEX = -100
|
5 |
+
IMAGE_TOKEN_INDEX = -200
|
6 |
+
DEFAULT_IMAGE_TOKEN = "<image>"
|
7 |
+
DEFAULT_IMAGE_PATCH_TOKEN = "<im_patch>"
|
8 |
+
DEFAULT_IM_START_TOKEN = "<im_start>"
|
9 |
+
DEFAULT_IM_END_TOKEN = "<im_end>"
|