RaushanTurganbay HF staff commited on
Commit
c9ac946
·
1 Parent(s): 0a81e90

add video index

Browse files
added_tokens.json CHANGED
@@ -1,3 +1,4 @@
1
  {
2
- "<image>": 32100
 
3
  }
 
1
  {
2
+ "<image>": 32100,
3
+ "<video>": 32101
4
  }
config.json CHANGED
@@ -48,6 +48,7 @@
48
  "torch_dtype": "float32",
49
  "transformers_version": "4.47.0.dev0",
50
  "use_decoder_only_language_model": false,
 
51
  "vision_config": {
52
  "_attn_implementation_autoset": true,
53
  "model_type": "instructblip_vision_model"
 
48
  "torch_dtype": "float32",
49
  "transformers_version": "4.47.0.dev0",
50
  "use_decoder_only_language_model": false,
51
+ "video_token_index": 32101,
52
  "vision_config": {
53
  "_attn_implementation_autoset": true,
54
  "model_type": "instructblip_vision_model"
qformer_tokenizer/tokenizer_config.json CHANGED
@@ -53,6 +53,7 @@
53
  "clean_up_tokenization_spaces": true,
54
  "cls_token": "[CLS]",
55
  "do_lower_case": true,
 
56
  "mask_token": "[MASK]",
57
  "model_max_length": 512,
58
  "pad_token": "[PAD]",
 
53
  "clean_up_tokenization_spaces": true,
54
  "cls_token": "[CLS]",
55
  "do_lower_case": true,
56
+ "extra_special_tokens": {},
57
  "mask_token": "[MASK]",
58
  "model_max_length": 512,
59
  "pad_token": "[PAD]",
tokenizer.json CHANGED
@@ -938,6 +938,15 @@
938
  "rstrip": false,
939
  "normalized": false,
940
  "special": true
 
 
 
 
 
 
 
 
 
941
  }
942
  ],
943
  "normalizer": {
 
938
  "rstrip": false,
939
  "normalized": false,
940
  "special": true
941
+ },
942
+ {
943
+ "id": 32101,
944
+ "content": "<video>",
945
+ "single_word": false,
946
+ "lstrip": false,
947
+ "rstrip": false,
948
+ "normalized": false,
949
+ "special": true
950
  }
951
  ],
952
  "normalizer": {
tokenizer_config.json CHANGED
@@ -831,6 +831,14 @@
831
  "rstrip": false,
832
  "single_word": false,
833
  "special": true
 
 
 
 
 
 
 
 
834
  }
835
  },
836
  "additional_special_tokens": [
@@ -938,6 +946,7 @@
938
  "clean_up_tokenization_spaces": true,
939
  "eos_token": "</s>",
940
  "extra_ids": 100,
 
941
  "model_max_length": 512,
942
  "pad_token": "<pad>",
943
  "processor_class": "InstructBlipProcessor",
 
831
  "rstrip": false,
832
  "single_word": false,
833
  "special": true
834
+ },
835
+ "32101": {
836
+ "content": "<video>",
837
+ "lstrip": false,
838
+ "normalized": false,
839
+ "rstrip": false,
840
+ "single_word": false,
841
+ "special": true
842
  }
843
  },
844
  "additional_special_tokens": [
 
946
  "clean_up_tokenization_spaces": true,
947
  "eos_token": "</s>",
948
  "extra_ids": 100,
949
+ "extra_special_tokens": {},
950
  "model_max_length": 512,
951
  "pad_token": "<pad>",
952
  "processor_class": "InstructBlipProcessor",