jiajunlong commited on
Commit
30f41f5
1 Parent(s): ac76334

Update configuration.py

Browse files
Files changed (1) hide show
  1. configuration.py +5 -0
configuration.py CHANGED
@@ -2,6 +2,11 @@ from transformers import PretrainedConfig
2
  from transformers import CONFIG_MAPPING
3
  from transformers import AutoConfig
4
 
 
 
 
 
 
5
  class TinyLlavaConfig(PretrainedConfig):
6
 
7
  model_type = "tinyllava"
 
2
  from transformers import CONFIG_MAPPING
3
  from transformers import AutoConfig
4
 
5
+ IGNORE_INDEX = -100
6
+ IMAGE_TOKEN_INDEX = -200
7
+ DEFAULT_IMAGE_TOKEN = "<image>"
8
+
9
+
10
  class TinyLlavaConfig(PretrainedConfig):
11
 
12
  model_type = "tinyllava"