Commit
•
2e3ae57
1
Parent(s):
13cf052
AutoGPTQ model for Video-LLaVA: 2bits
Browse files- config.json +53 -0
- generation_config.json +10 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "LanguageBind/Video-LLaVA-7B",
|
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 |
+
"quantization_config": {
|
31 |
+
"bits": 2,
|
32 |
+
"damp_percent": 0.1,
|
33 |
+
"dataset": [
|
34 |
+
"auto-gptq is an easy-to-use model quantization library with user-friendly apis, based on GPTQ algorithm."
|
35 |
+
],
|
36 |
+
"desc_act": false,
|
37 |
+
"group_size": 128,
|
38 |
+
"modules_in_block_to_quantize": null,
|
39 |
+
"quant_method": "gptq",
|
40 |
+
"sym": true,
|
41 |
+
"true_sequential": true
|
42 |
+
},
|
43 |
+
"rms_norm_eps": 1e-05,
|
44 |
+
"rope_scaling": null,
|
45 |
+
"rope_theta": 10000.0,
|
46 |
+
"tie_word_embeddings": false,
|
47 |
+
"torch_dtype": "float16",
|
48 |
+
"transformers_version": "4.33.0",
|
49 |
+
"tune_mm_mlp_adapter": false,
|
50 |
+
"use_cache": true,
|
51 |
+
"use_mm_proj": true,
|
52 |
+
"vocab_size": 32000
|
53 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 4096,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"temperature": 0.1,
|
8 |
+
"top_p": 0.6,
|
9 |
+
"transformers_version": "4.33.0"
|
10 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87c8d0e10850152a45a59609da5afa60ed3311b36192399a29574630e37ed4fc
|
3 |
+
size 3721907360
|