ManishThota commited on
Commit
ae6b4e7
1 Parent(s): 613c1e2

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Video-LLaVA-7B-7B-F16.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Video-LLaVA-7B-7B-F32.gguf filter=lfs diff=lfs merge=lfs -text
38
+ llava.projector filter=lfs diff=lfs merge=lfs -text
39
+ vvl_vit/mmproj-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,238 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+
6
+ <p align="center">
7
+ <img src="https://z1.ax1x.com/2023/11/07/pil4sqH.png" width="150" style="margin-bottom: 0.2;"/>
8
+ <p>
9
+ <h2 align="center"> <a href="https://arxiv.org/abs/2311.10122">Video-LLaVA: Learning United Visual Representation by Alignment Before Projection</a></h2>
10
+ <h5 align="center"> If you like our project, please give us a star ⭐ on GitHub for latest update. </h2>
11
+
12
+
13
+
14
+
15
+ ## 📰 News
16
+ * **[2024.01.27]** 👀👀👀 Our [MoE-LLaVA](https://github.com/PKU-YuanGroup/MoE-LLaVA) is released! A sparse model with 3B parameters outperformed the dense model with 7B parameters.
17
+ * **[2024.01.17]** 🔥🔥🔥 Our [LanguageBind](https://github.com/PKU-YuanGroup/LanguageBind) has been accepted at ICLR 2024!
18
+ * **[2024.01.16]** 🔥🔥🔥 We reorganize the code and support LoRA fine-tuning, checking [finetune_lora.sh](scripts/v1_5/finetune_lora.sh).
19
+ * **[2023.11.30]** 🤝 Thanks to the generous contributions of the community, the [OpenXLab's demo](https://openxlab.org.cn/apps/detail/houshaowei/Video-LLaVA) is now accessible.
20
+ * **[2023.11.23]** We are training a new and powerful model.
21
+ * **[2023.11.21]** 🤝 Check out the [replicate demo](https://replicate.com/nateraw/video-llava), created by [@nateraw](https://github.com/nateraw), who has generously supported our research!
22
+ * **[2023.11.20]** 🤗 [Hugging Face demo](https://huggingface.co/spaces/LanguageBind/Video-LLaVA) and **all codes & datasets** are available now! Welcome to **watch** 👀 this repository for the latest updates.
23
+
24
+ ## 😮 Highlights
25
+
26
+ Video-LLaVA exhibits remarkable interactive capabilities between images and videos, despite the absence of image-video pairs in the dataset.
27
+
28
+ ### 💡 Simple baseline, learning united visual representation by alignment before projection
29
+ - With **the binding of unified visual representations to the language feature space**, we enable an LLM to perform visual reasoning capabilities on both images and videos simultaneously.
30
+
31
+ ### 🔥 High performance, complementary learning with video and image
32
+ - Extensive experiments demonstrate **the complementarity of modalities**, showcasing significant superiority when compared to models specifically designed for either images or videos.
33
+
34
+
35
+ ## 🤗 Demo
36
+
37
+ ### Gradio Web UI
38
+
39
+ Highly recommend trying out our web demo by the following command, which incorporates all features currently supported by Video-LLaVA. We also provide [online demo](https://huggingface.co/spaces/LanguageBind/Video-LLaVA) in Huggingface Spaces.
40
+ ```bash
41
+ python -m videollava.serve.gradio_web_server
42
+ ```
43
+
44
+
45
+
46
+ ### CLI Inference
47
+
48
+ ```bash
49
+ python -m videollava.serve.cli --model-path "LanguageBind/Video-LLaVA-7B" --file "path/to/your/video.mp4" --load-4bit
50
+ ```
51
+
52
+ ```bash
53
+ python -m videollava.serve.cli --model-path "LanguageBind/Video-LLaVA-7B" --file "path/to/your/image.jpg" --load-4bit
54
+ ```
55
+
56
+
57
+
58
+ ## 🛠️ Requirements and Installation
59
+ * Python >= 3.10
60
+ * Pytorch == 2.0.1
61
+ * CUDA Version >= 11.7
62
+ * Install required packages:
63
+ ```bash
64
+ git clone https://github.com/PKU-YuanGroup/Video-LLaVA
65
+ cd Video-LLaVA
66
+ conda create -n videollava python=3.10 -y
67
+ conda activate videollava
68
+ pip install --upgrade pip # enable PEP 660 support
69
+ pip install -e .
70
+ pip install -e ".[train]"
71
+ pip install flash-attn --no-build-isolation
72
+ pip install decord opencv-python git+https://github.com/facebookresearch/pytorchvideo.git@28fe037d212663c6a24f373b94cc5d478c8c1a1d
73
+ ```
74
+
75
+ ## 🤖 API
76
+ **We open source all codes.** If you want to load the model (e.g. ```LanguageBind/Video-LLaVA-7B```) on local, you can use the following code snippets.
77
+
78
+ ### Inference for image
79
+ ```python
80
+ import torch
81
+ from videollava.constants import IMAGE_TOKEN_INDEX, DEFAULT_IMAGE_TOKEN
82
+ from videollava.conversation import conv_templates, SeparatorStyle
83
+ from videollava.model.builder import load_pretrained_model
84
+ from videollava.utils import disable_torch_init
85
+ from videollava.mm_utils import tokenizer_image_token, get_model_name_from_path, KeywordsStoppingCriteria
86
+
87
+ def main():
88
+ disable_torch_init()
89
+ image = 'videollava/serve/examples/extreme_ironing.jpg'
90
+ inp = 'What is unusual about this image?'
91
+ model_path = 'LanguageBind/Video-LLaVA-7B'
92
+ cache_dir = 'cache_dir'
93
+ device = 'cuda'
94
+ load_4bit, load_8bit = True, False
95
+ model_name = get_model_name_from_path(model_path)
96
+ tokenizer, model, processor, _ = load_pretrained_model(model_path, None, model_name, load_8bit, load_4bit, device=device, cache_dir=cache_dir)
97
+ image_processor = processor['image']
98
+ conv_mode = "llava_v1"
99
+ conv = conv_templates[conv_mode].copy()
100
+ roles = conv.roles
101
+
102
+ image_tensor = image_processor.preprocess(image, return_tensors='pt')['pixel_values']
103
+ if type(image_tensor) is list:
104
+ tensor = [image.to(model.device, dtype=torch.float16) for image in image_tensor]
105
+ else:
106
+ tensor = image_tensor.to(model.device, dtype=torch.float16)
107
+
108
+ print(f"{roles[1]}: {inp}")
109
+ inp = DEFAULT_IMAGE_TOKEN + '\n' + inp
110
+ conv.append_message(conv.roles[0], inp)
111
+ conv.append_message(conv.roles[1], None)
112
+ prompt = conv.get_prompt()
113
+ input_ids = tokenizer_image_token(prompt, tokenizer, IMAGE_TOKEN_INDEX, return_tensors='pt').unsqueeze(0).cuda()
114
+ stop_str = conv.sep if conv.sep_style != SeparatorStyle.TWO else conv.sep2
115
+ keywords = [stop_str]
116
+ stopping_criteria = KeywordsStoppingCriteria(keywords, tokenizer, input_ids)
117
+
118
+ with torch.inference_mode():
119
+ output_ids = model.generate(
120
+ input_ids,
121
+ images=tensor,
122
+ do_sample=True,
123
+ temperature=0.2,
124
+ max_new_tokens=1024,
125
+ use_cache=True,
126
+ stopping_criteria=[stopping_criteria])
127
+
128
+ outputs = tokenizer.decode(output_ids[0, input_ids.shape[1]:]).strip()
129
+ print(outputs)
130
+
131
+ if __name__ == '__main__':
132
+ main()
133
+ ```
134
+
135
+ ### Inference for video
136
+ ```python
137
+ import torch
138
+ from videollava.constants import IMAGE_TOKEN_INDEX, DEFAULT_IMAGE_TOKEN
139
+ from videollava.conversation import conv_templates, SeparatorStyle
140
+ from videollava.model.builder import load_pretrained_model
141
+ from videollava.utils import disable_torch_init
142
+ from videollava.mm_utils import tokenizer_image_token, get_model_name_from_path, KeywordsStoppingCriteria
143
+
144
+ def main():
145
+ disable_torch_init()
146
+ video = 'videollava/serve/examples/sample_demo_1.mp4'
147
+ inp = 'Why is this video funny?'
148
+ model_path = 'LanguageBind/Video-LLaVA-7B'
149
+ cache_dir = 'cache_dir'
150
+ device = 'cuda'
151
+ load_4bit, load_8bit = True, False
152
+ model_name = get_model_name_from_path(model_path)
153
+ tokenizer, model, processor, _ = load_pretrained_model(model_path, None, model_name, load_8bit, load_4bit, device=device, cache_dir=cache_dir)
154
+ video_processor = processor['video']
155
+ conv_mode = "llava_v1"
156
+ conv = conv_templates[conv_mode].copy()
157
+ roles = conv.roles
158
+
159
+ video_tensor = video_processor(video, return_tensors='pt')['pixel_values']
160
+ if type(video_tensor) is list:
161
+ tensor = [video.to(model.device, dtype=torch.float16) for video in video_tensor]
162
+ else:
163
+ tensor = video_tensor.to(model.device, dtype=torch.float16)
164
+
165
+ print(f"{roles[1]}: {inp}")
166
+ inp = ' '.join([DEFAULT_IMAGE_TOKEN] * model.get_video_tower().config.num_frames) + '\n' + inp
167
+ conv.append_message(conv.roles[0], inp)
168
+ conv.append_message(conv.roles[1], None)
169
+ prompt = conv.get_prompt()
170
+ input_ids = tokenizer_image_token(prompt, tokenizer, IMAGE_TOKEN_INDEX, return_tensors='pt').unsqueeze(0).cuda()
171
+ stop_str = conv.sep if conv.sep_style != SeparatorStyle.TWO else conv.sep2
172
+ keywords = [stop_str]
173
+ stopping_criteria = KeywordsStoppingCriteria(keywords, tokenizer, input_ids)
174
+
175
+ with torch.inference_mode():
176
+ output_ids = model.generate(
177
+ input_ids,
178
+ images=tensor,
179
+ do_sample=True,
180
+ temperature=0.1,
181
+ max_new_tokens=1024,
182
+ use_cache=True,
183
+ stopping_criteria=[stopping_criteria])
184
+
185
+ outputs = tokenizer.decode(output_ids[0, input_ids.shape[1]:]).strip()
186
+ print(outputs)
187
+
188
+ if __name__ == '__main__':
189
+ main()
190
+ ```
191
+
192
+ ## 🗝️ Training & Validating
193
+ The training & validating instruction is in [TRAIN_AND_VALIDATE.md](TRAIN_AND_VALIDATE.md).
194
+
195
+ ## 👍 Acknowledgement
196
+ * [LLaVA](https://github.com/haotian-liu/LLaVA) The codebase we built upon and it is an efficient large language and vision assistant.
197
+ * [Video-ChatGPT](https://github.com/mbzuai-oryx/Video-ChatGPT) Great job contributing the evaluation code and dataset.
198
+
199
+ ## 🙌 Related Projects
200
+ * [LanguageBind](https://github.com/PKU-YuanGroup/LanguageBind) An open source five modalities language-based retrieval framework.
201
+ * [Chat-UniVi](https://github.com/PKU-YuanGroup/Chat-UniVi) This framework empowers the model to efficiently utilize a limited number of visual tokens.
202
+
203
+ ## 🔒 License
204
+ * The majority of this project is released under the Apache 2.0 license as found in the [LICENSE](https://github.com/PKU-YuanGroup/Video-LLaVA/blob/main/LICENSE) file.
205
+ * The service is a research preview intended for non-commercial use only, subject to the model [License](https://github.com/facebookresearch/llama/blob/main/MODEL_CARD.md) of LLaMA, [Terms of Use](https://openai.com/policies/terms-of-use) of the data generated by OpenAI, and [Privacy Practices](https://chrome.google.com/webstore/detail/sharegpt-share-your-chatg/daiacboceoaocpibfodeljbdfacokfjb) of ShareGPT. Please contact us if you find any potential violation.
206
+
207
+ ## ✏️ Citation
208
+ If you find our paper and code useful in your research, please consider giving a star :star: and citation :pencil:.
209
+
210
+ ```BibTeX
211
+ @article{lin2023video,
212
+ title={Video-LLaVA: Learning United Visual Representation by Alignment Before Projection},
213
+ author={Lin, Bin and Zhu, Bin and Ye, Yang and Ning, Munan and Jin, Peng and Yuan, Li},
214
+ journal={arXiv preprint arXiv:2311.10122},
215
+ year={2023}
216
+ }
217
+ ```
218
+
219
+ ```BibTeX
220
+ @article{zhu2023languagebind,
221
+ title={LanguageBind: Extending Video-Language Pretraining to N-modality by Language-based Semantic Alignment},
222
+ author={Zhu, Bin and Lin, Bin and Ning, Munan and Yan, Yang and Cui, Jiaxi and Wang, HongFa and Pang, Yatian and Jiang, Wenhao and Zhang, Junwu and Li, Zongwei and others},
223
+ journal={arXiv preprint arXiv:2310.01852},
224
+ year={2023}
225
+ }
226
+ ```
227
+
228
+ <!---->
229
+ ## ✨ Star History
230
+ [![Star History](https://api.star-history.com/svg?repos=PKU-YuanGroup/Video-LLaVA&type=Date)](https://star-history.com/#PKU-YuanGroup/Video-LLaVA&Date)
231
+
232
+ ## 🤝 Contributors
233
+
234
+ <a href="https://github.com/PKU-YuanGroup/Video-LLaVA/graphs/contributors">
235
+ <img src="https://contrib.rocks/image?repo=PKU-YuanGroup/Video-LLaVA" />
236
+ </a>
237
+
238
+
Video-LLaVA-7B-7B-F16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd45874e9ea19cd22f55d45b09406a472fd51822e0887b8f99596b5e5707fcd3
3
+ size 13478104832
Video-LLaVA-7B-7B-F32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5208fa3b05cf91f098aa6220c2c5686355133da7d71d670409f8b942a175049e
3
+ size 26954403584
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "lmsys/vicuna-7b-v1.5",
3
+ "architectures": [
4
+ "LlavaLlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "image_aspect_ratio": "pad",
12
+ "image_grid_pinpoints": null,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 11008,
15
+ "max_position_embeddings": 4096,
16
+ "mm_hidden_size": 1024,
17
+ "mm_image_tower": "LanguageBind/LanguageBind_Image",
18
+ "mm_projector_type": "mlp2x_gelu",
19
+ "mm_use_im_patch_token": false,
20
+ "mm_use_im_start_end": false,
21
+ "mm_video_tower": "LanguageBind/LanguageBind_Video_merge",
22
+ "mm_vision_select_feature": "patch",
23
+ "mm_vision_select_layer": -2,
24
+ "model_type": "llava",
25
+ "num_attention_heads": 32,
26
+ "num_hidden_layers": 32,
27
+ "num_key_value_heads": 32,
28
+ "pad_token_id": 0,
29
+ "pretraining_tp": 1,
30
+ "rms_norm_eps": 1e-05,
31
+ "rope_scaling": null,
32
+ "tie_word_embeddings": false,
33
+ "torch_dtype": "bfloat16",
34
+ "transformers_version": "4.31.0",
35
+ "tune_mm_mlp_adapter": false,
36
+ "use_cache": true,
37
+ "use_mm_proj": true,
38
+ "vocab_size": 32000
39
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "max_length": 4096,
5
+ "pad_token_id": 0,
6
+ "temperature": 0.9,
7
+ "top_p": 0.6,
8
+ "transformers_version": "4.31.0"
9
+ }
llava.projector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37370de2db3f3a501e1aecff9712df83894017956d4870825849b193be7f0ed1
3
+ size 83920640
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e342ae2c6d40d6ebba3328904310a00a2b82e57c728e0e4f5059fe6f7774a03
3
+ size 9976576392
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb5c47457569d61be0d2b2d5739f1e30985acc5a61160406880fee64d2c8e111
3
+ size 4957139888
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model-00001-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a29e845e426d3b6c1c40fee81a234873c36b9e7b1aebd374055a5ac3e9071a11
3
+ size 9976631486
pytorch_model-00002-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a5a315d504411e4619ff548fe54c721356e838d4b57581ed06d409b4306b96a
3
+ size 4957395839
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<unk>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "bos_token": {
5
+ "__type": "AddedToken",
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "clean_up_tokenization_spaces": false,
13
+ "eos_token": {
14
+ "__type": "AddedToken",
15
+ "content": "</s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "legacy": false,
22
+ "model_max_length": 2048,
23
+ "pad_token": null,
24
+ "padding_side": "right",
25
+ "sp_model_kwargs": {},
26
+ "tokenizer_class": "LlamaTokenizer",
27
+ "unk_token": {
28
+ "__type": "AddedToken",
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
vvl_vit/config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vit-large336-custom",
3
+ "architectures": [
4
+ "CLIPVisionModel"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "dropout": 0.0,
8
+ "hidden_act": "quick_gelu",
9
+ "hidden_size": 1024,
10
+ "image_size": 336,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 4096,
14
+ "layer_norm_eps": 1e-05,
15
+ "model_type": "clip_vision_model",
16
+ "num_attention_heads": 16,
17
+ "num_channels": 3,
18
+ "num_hidden_layers": 24,
19
+ "patch_size": 14,
20
+ "projection_dim": 768,
21
+ "torch_dtype": "bfloat16",
22
+ "transformers_version": "4.31.0",
23
+ "image_aspect_ratio": "anyres",
24
+ "image_crop_resolution": 224,
25
+ "image_grid_pinpoints": [
26
+ [
27
+ 336,
28
+ 672
29
+ ],
30
+ [
31
+ 672,
32
+ 336
33
+ ],
34
+ [
35
+ 672,
36
+ 672
37
+ ],
38
+ [
39
+ 1008,
40
+ 336
41
+ ],
42
+ [
43
+ 336,
44
+ 1008
45
+ ]
46
+ ],
47
+ "image_split_resolution": 224,
48
+ "initializer_range": 0.02,
49
+ "max_length": 4096,
50
+ "max_position_embeddings": 4096,
51
+ "mm_hidden_size": 1024,
52
+ "mm_patch_merge_type": "spatial_unpad",
53
+ "mm_projector_lr": null,
54
+ "mm_projector_type": "mlp2x_gelu",
55
+ "mm_resampler_type": null,
56
+ "mm_use_im_patch_token": false,
57
+ "mm_use_im_start_end": false,
58
+ "mm_vision_select_feature": "patch",
59
+ "mm_vision_select_layer": -2,
60
+ "mm_vision_tower__": "openai/clip-vit-large-patch14-336",
61
+ "mm_vision_tower_lr": 2e-06
62
+ }
vvl_vit/llava.projector ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37370de2db3f3a501e1aecff9712df83894017956d4870825849b193be7f0ed1
3
+ size 83920640
vvl_vit/mmproj-model-f16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab553f9a6ecf2c73d9073f56b3b45fcc30442cabbd3795f8aec0c9c1a3a24d4d
3
+ size 624434720
vvl_vit/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d99f87cc57e547eb3a0287b753ca6500aa4e1505c3ead22066f48360bfd485c6
3
+ size 607116558