Upload current cleaned FigEx weights
Browse files- weights/vlm/added_tokens.json +7 -0
- weights/vlm/config.json +41 -0
- weights/vlm/generation_config.json +7 -0
- weights/vlm/lora_adapter/adapter_config.json +238 -0
- weights/vlm/lora_adapter/adapter_model.bin +3 -0
- weights/vlm/pytorch_model-00001-of-00003.bin +3 -0
- weights/vlm/pytorch_model-00002-of-00003.bin +3 -0
- weights/vlm/pytorch_model-00003-of-00003.bin +3 -0
- weights/vlm/pytorch_model.bin.index.json +0 -0
- weights/vlm/special_tokens_map.json +24 -0
- weights/vlm/tokenizer.json +0 -0
- weights/vlm/tokenizer.model +3 -0
- weights/vlm/tokenizer_config.json +35 -0
- weights/yolos/config.json +90 -0
- weights/yolos/preprocessor_config.json +24 -0
- weights/yolos/pytorch_model.bin +3 -0
weights/vlm/added_tokens.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<im_end>": 32002,
|
| 3 |
+
"<im_patch>": 32000,
|
| 4 |
+
"<im_start>": 32001,
|
| 5 |
+
"<mask>": 32004,
|
| 6 |
+
"[DET]": 32003
|
| 7 |
+
}
|
weights/vlm/config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ResepForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"bos_token_id": 1,
|
| 6 |
+
"eos_token_id": 2,
|
| 7 |
+
"freeze_mm_mlp_adapter": true,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 4096,
|
| 10 |
+
"image_aspect_ratio": "square",
|
| 11 |
+
"image_grid_pinpoints": null,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 11008,
|
| 14 |
+
"max_position_embeddings": 2048,
|
| 15 |
+
"max_sequence_length": 2048,
|
| 16 |
+
"mm_hidden_size": 1024,
|
| 17 |
+
"mm_use_im_patch_token": false,
|
| 18 |
+
"mm_use_im_start_end": true,
|
| 19 |
+
"mm_vision_select_feature": "patch",
|
| 20 |
+
"mm_vision_select_layer": -2,
|
| 21 |
+
"mm_vision_tower": "openai/clip-vit-large-patch14",
|
| 22 |
+
"model_type": "llava",
|
| 23 |
+
"num_attention_heads": 32,
|
| 24 |
+
"num_hidden_layers": 32,
|
| 25 |
+
"num_key_value_heads": 32,
|
| 26 |
+
"out_dim": 256,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"pretrain_mm_mlp_adapter": null,
|
| 29 |
+
"pretraining_tp": 1,
|
| 30 |
+
"rms_norm_eps": 1e-06,
|
| 31 |
+
"rope_scaling": null,
|
| 32 |
+
"tie_word_embeddings": false,
|
| 33 |
+
"torch_dtype": "float32",
|
| 34 |
+
"train_mask_decoder": true,
|
| 35 |
+
"transformers_version": "4.31.0",
|
| 36 |
+
"tune_mm_mlp_adapter": false,
|
| 37 |
+
"use_cache": false,
|
| 38 |
+
"use_mm_proj": true,
|
| 39 |
+
"vision_tower": "openai/clip-vit-large-patch14",
|
| 40 |
+
"vocab_size": 32005
|
| 41 |
+
}
|
weights/vlm/generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"eos_token_id": 1,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.31.0"
|
| 7 |
+
}
|
weights/vlm/lora_adapter/adapter_config.json
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bias": "none",
|
| 3 |
+
"fan_in_fan_out": false,
|
| 4 |
+
"inference_mode": true,
|
| 5 |
+
"init_lora_weights": true,
|
| 6 |
+
"lora_alpha": 32,
|
| 7 |
+
"lora_dropout": 0.005,
|
| 8 |
+
"modules_to_save": null,
|
| 9 |
+
"peft_type": "LORA",
|
| 10 |
+
"r": 16,
|
| 11 |
+
"target_modules": [
|
| 12 |
+
"model.layers.0.mlp.down_proj",
|
| 13 |
+
"model.layers.0.mlp.gate_proj",
|
| 14 |
+
"model.layers.0.mlp.up_proj",
|
| 15 |
+
"model.layers.0.self_attn.k_proj",
|
| 16 |
+
"model.layers.0.self_attn.o_proj",
|
| 17 |
+
"model.layers.0.self_attn.q_proj",
|
| 18 |
+
"model.layers.0.self_attn.v_proj",
|
| 19 |
+
"model.layers.1.mlp.down_proj",
|
| 20 |
+
"model.layers.1.mlp.gate_proj",
|
| 21 |
+
"model.layers.1.mlp.up_proj",
|
| 22 |
+
"model.layers.1.self_attn.k_proj",
|
| 23 |
+
"model.layers.1.self_attn.o_proj",
|
| 24 |
+
"model.layers.1.self_attn.q_proj",
|
| 25 |
+
"model.layers.1.self_attn.v_proj",
|
| 26 |
+
"model.layers.10.mlp.down_proj",
|
| 27 |
+
"model.layers.10.mlp.gate_proj",
|
| 28 |
+
"model.layers.10.mlp.up_proj",
|
| 29 |
+
"model.layers.10.self_attn.k_proj",
|
| 30 |
+
"model.layers.10.self_attn.o_proj",
|
| 31 |
+
"model.layers.10.self_attn.q_proj",
|
| 32 |
+
"model.layers.10.self_attn.v_proj",
|
| 33 |
+
"model.layers.11.mlp.down_proj",
|
| 34 |
+
"model.layers.11.mlp.gate_proj",
|
| 35 |
+
"model.layers.11.mlp.up_proj",
|
| 36 |
+
"model.layers.11.self_attn.k_proj",
|
| 37 |
+
"model.layers.11.self_attn.o_proj",
|
| 38 |
+
"model.layers.11.self_attn.q_proj",
|
| 39 |
+
"model.layers.11.self_attn.v_proj",
|
| 40 |
+
"model.layers.12.mlp.down_proj",
|
| 41 |
+
"model.layers.12.mlp.gate_proj",
|
| 42 |
+
"model.layers.12.mlp.up_proj",
|
| 43 |
+
"model.layers.12.self_attn.k_proj",
|
| 44 |
+
"model.layers.12.self_attn.o_proj",
|
| 45 |
+
"model.layers.12.self_attn.q_proj",
|
| 46 |
+
"model.layers.12.self_attn.v_proj",
|
| 47 |
+
"model.layers.13.mlp.down_proj",
|
| 48 |
+
"model.layers.13.mlp.gate_proj",
|
| 49 |
+
"model.layers.13.mlp.up_proj",
|
| 50 |
+
"model.layers.13.self_attn.k_proj",
|
| 51 |
+
"model.layers.13.self_attn.o_proj",
|
| 52 |
+
"model.layers.13.self_attn.q_proj",
|
| 53 |
+
"model.layers.13.self_attn.v_proj",
|
| 54 |
+
"model.layers.14.mlp.down_proj",
|
| 55 |
+
"model.layers.14.mlp.gate_proj",
|
| 56 |
+
"model.layers.14.mlp.up_proj",
|
| 57 |
+
"model.layers.14.self_attn.k_proj",
|
| 58 |
+
"model.layers.14.self_attn.o_proj",
|
| 59 |
+
"model.layers.14.self_attn.q_proj",
|
| 60 |
+
"model.layers.14.self_attn.v_proj",
|
| 61 |
+
"model.layers.15.mlp.down_proj",
|
| 62 |
+
"model.layers.15.mlp.gate_proj",
|
| 63 |
+
"model.layers.15.mlp.up_proj",
|
| 64 |
+
"model.layers.15.self_attn.k_proj",
|
| 65 |
+
"model.layers.15.self_attn.o_proj",
|
| 66 |
+
"model.layers.15.self_attn.q_proj",
|
| 67 |
+
"model.layers.15.self_attn.v_proj",
|
| 68 |
+
"model.layers.16.mlp.down_proj",
|
| 69 |
+
"model.layers.16.mlp.gate_proj",
|
| 70 |
+
"model.layers.16.mlp.up_proj",
|
| 71 |
+
"model.layers.16.self_attn.k_proj",
|
| 72 |
+
"model.layers.16.self_attn.o_proj",
|
| 73 |
+
"model.layers.16.self_attn.q_proj",
|
| 74 |
+
"model.layers.16.self_attn.v_proj",
|
| 75 |
+
"model.layers.17.mlp.down_proj",
|
| 76 |
+
"model.layers.17.mlp.gate_proj",
|
| 77 |
+
"model.layers.17.mlp.up_proj",
|
| 78 |
+
"model.layers.17.self_attn.k_proj",
|
| 79 |
+
"model.layers.17.self_attn.o_proj",
|
| 80 |
+
"model.layers.17.self_attn.q_proj",
|
| 81 |
+
"model.layers.17.self_attn.v_proj",
|
| 82 |
+
"model.layers.18.mlp.down_proj",
|
| 83 |
+
"model.layers.18.mlp.gate_proj",
|
| 84 |
+
"model.layers.18.mlp.up_proj",
|
| 85 |
+
"model.layers.18.self_attn.k_proj",
|
| 86 |
+
"model.layers.18.self_attn.o_proj",
|
| 87 |
+
"model.layers.18.self_attn.q_proj",
|
| 88 |
+
"model.layers.18.self_attn.v_proj",
|
| 89 |
+
"model.layers.19.mlp.down_proj",
|
| 90 |
+
"model.layers.19.mlp.gate_proj",
|
| 91 |
+
"model.layers.19.mlp.up_proj",
|
| 92 |
+
"model.layers.19.self_attn.k_proj",
|
| 93 |
+
"model.layers.19.self_attn.o_proj",
|
| 94 |
+
"model.layers.19.self_attn.q_proj",
|
| 95 |
+
"model.layers.19.self_attn.v_proj",
|
| 96 |
+
"model.layers.2.mlp.down_proj",
|
| 97 |
+
"model.layers.2.mlp.gate_proj",
|
| 98 |
+
"model.layers.2.mlp.up_proj",
|
| 99 |
+
"model.layers.2.self_attn.k_proj",
|
| 100 |
+
"model.layers.2.self_attn.o_proj",
|
| 101 |
+
"model.layers.2.self_attn.q_proj",
|
| 102 |
+
"model.layers.2.self_attn.v_proj",
|
| 103 |
+
"model.layers.20.mlp.down_proj",
|
| 104 |
+
"model.layers.20.mlp.gate_proj",
|
| 105 |
+
"model.layers.20.mlp.up_proj",
|
| 106 |
+
"model.layers.20.self_attn.k_proj",
|
| 107 |
+
"model.layers.20.self_attn.o_proj",
|
| 108 |
+
"model.layers.20.self_attn.q_proj",
|
| 109 |
+
"model.layers.20.self_attn.v_proj",
|
| 110 |
+
"model.layers.21.mlp.down_proj",
|
| 111 |
+
"model.layers.21.mlp.gate_proj",
|
| 112 |
+
"model.layers.21.mlp.up_proj",
|
| 113 |
+
"model.layers.21.self_attn.k_proj",
|
| 114 |
+
"model.layers.21.self_attn.o_proj",
|
| 115 |
+
"model.layers.21.self_attn.q_proj",
|
| 116 |
+
"model.layers.21.self_attn.v_proj",
|
| 117 |
+
"model.layers.22.mlp.down_proj",
|
| 118 |
+
"model.layers.22.mlp.gate_proj",
|
| 119 |
+
"model.layers.22.mlp.up_proj",
|
| 120 |
+
"model.layers.22.self_attn.k_proj",
|
| 121 |
+
"model.layers.22.self_attn.o_proj",
|
| 122 |
+
"model.layers.22.self_attn.q_proj",
|
| 123 |
+
"model.layers.22.self_attn.v_proj",
|
| 124 |
+
"model.layers.23.mlp.down_proj",
|
| 125 |
+
"model.layers.23.mlp.gate_proj",
|
| 126 |
+
"model.layers.23.mlp.up_proj",
|
| 127 |
+
"model.layers.23.self_attn.k_proj",
|
| 128 |
+
"model.layers.23.self_attn.o_proj",
|
| 129 |
+
"model.layers.23.self_attn.q_proj",
|
| 130 |
+
"model.layers.23.self_attn.v_proj",
|
| 131 |
+
"model.layers.24.mlp.down_proj",
|
| 132 |
+
"model.layers.24.mlp.gate_proj",
|
| 133 |
+
"model.layers.24.mlp.up_proj",
|
| 134 |
+
"model.layers.24.self_attn.k_proj",
|
| 135 |
+
"model.layers.24.self_attn.o_proj",
|
| 136 |
+
"model.layers.24.self_attn.q_proj",
|
| 137 |
+
"model.layers.24.self_attn.v_proj",
|
| 138 |
+
"model.layers.25.mlp.down_proj",
|
| 139 |
+
"model.layers.25.mlp.gate_proj",
|
| 140 |
+
"model.layers.25.mlp.up_proj",
|
| 141 |
+
"model.layers.25.self_attn.k_proj",
|
| 142 |
+
"model.layers.25.self_attn.o_proj",
|
| 143 |
+
"model.layers.25.self_attn.q_proj",
|
| 144 |
+
"model.layers.25.self_attn.v_proj",
|
| 145 |
+
"model.layers.26.mlp.down_proj",
|
| 146 |
+
"model.layers.26.mlp.gate_proj",
|
| 147 |
+
"model.layers.26.mlp.up_proj",
|
| 148 |
+
"model.layers.26.self_attn.k_proj",
|
| 149 |
+
"model.layers.26.self_attn.o_proj",
|
| 150 |
+
"model.layers.26.self_attn.q_proj",
|
| 151 |
+
"model.layers.26.self_attn.v_proj",
|
| 152 |
+
"model.layers.27.mlp.down_proj",
|
| 153 |
+
"model.layers.27.mlp.gate_proj",
|
| 154 |
+
"model.layers.27.mlp.up_proj",
|
| 155 |
+
"model.layers.27.self_attn.k_proj",
|
| 156 |
+
"model.layers.27.self_attn.o_proj",
|
| 157 |
+
"model.layers.27.self_attn.q_proj",
|
| 158 |
+
"model.layers.27.self_attn.v_proj",
|
| 159 |
+
"model.layers.28.mlp.down_proj",
|
| 160 |
+
"model.layers.28.mlp.gate_proj",
|
| 161 |
+
"model.layers.28.mlp.up_proj",
|
| 162 |
+
"model.layers.28.self_attn.k_proj",
|
| 163 |
+
"model.layers.28.self_attn.o_proj",
|
| 164 |
+
"model.layers.28.self_attn.q_proj",
|
| 165 |
+
"model.layers.28.self_attn.v_proj",
|
| 166 |
+
"model.layers.29.mlp.down_proj",
|
| 167 |
+
"model.layers.29.mlp.gate_proj",
|
| 168 |
+
"model.layers.29.mlp.up_proj",
|
| 169 |
+
"model.layers.29.self_attn.k_proj",
|
| 170 |
+
"model.layers.29.self_attn.o_proj",
|
| 171 |
+
"model.layers.29.self_attn.q_proj",
|
| 172 |
+
"model.layers.29.self_attn.v_proj",
|
| 173 |
+
"model.layers.3.mlp.down_proj",
|
| 174 |
+
"model.layers.3.mlp.gate_proj",
|
| 175 |
+
"model.layers.3.mlp.up_proj",
|
| 176 |
+
"model.layers.3.self_attn.k_proj",
|
| 177 |
+
"model.layers.3.self_attn.o_proj",
|
| 178 |
+
"model.layers.3.self_attn.q_proj",
|
| 179 |
+
"model.layers.3.self_attn.v_proj",
|
| 180 |
+
"model.layers.30.mlp.down_proj",
|
| 181 |
+
"model.layers.30.mlp.gate_proj",
|
| 182 |
+
"model.layers.30.mlp.up_proj",
|
| 183 |
+
"model.layers.30.self_attn.k_proj",
|
| 184 |
+
"model.layers.30.self_attn.o_proj",
|
| 185 |
+
"model.layers.30.self_attn.q_proj",
|
| 186 |
+
"model.layers.30.self_attn.v_proj",
|
| 187 |
+
"model.layers.31.mlp.down_proj",
|
| 188 |
+
"model.layers.31.mlp.gate_proj",
|
| 189 |
+
"model.layers.31.mlp.up_proj",
|
| 190 |
+
"model.layers.31.self_attn.k_proj",
|
| 191 |
+
"model.layers.31.self_attn.o_proj",
|
| 192 |
+
"model.layers.31.self_attn.q_proj",
|
| 193 |
+
"model.layers.31.self_attn.v_proj",
|
| 194 |
+
"model.layers.4.mlp.down_proj",
|
| 195 |
+
"model.layers.4.mlp.gate_proj",
|
| 196 |
+
"model.layers.4.mlp.up_proj",
|
| 197 |
+
"model.layers.4.self_attn.k_proj",
|
| 198 |
+
"model.layers.4.self_attn.o_proj",
|
| 199 |
+
"model.layers.4.self_attn.q_proj",
|
| 200 |
+
"model.layers.4.self_attn.v_proj",
|
| 201 |
+
"model.layers.5.mlp.down_proj",
|
| 202 |
+
"model.layers.5.mlp.gate_proj",
|
| 203 |
+
"model.layers.5.mlp.up_proj",
|
| 204 |
+
"model.layers.5.self_attn.k_proj",
|
| 205 |
+
"model.layers.5.self_attn.o_proj",
|
| 206 |
+
"model.layers.5.self_attn.q_proj",
|
| 207 |
+
"model.layers.5.self_attn.v_proj",
|
| 208 |
+
"model.layers.6.mlp.down_proj",
|
| 209 |
+
"model.layers.6.mlp.gate_proj",
|
| 210 |
+
"model.layers.6.mlp.up_proj",
|
| 211 |
+
"model.layers.6.self_attn.k_proj",
|
| 212 |
+
"model.layers.6.self_attn.o_proj",
|
| 213 |
+
"model.layers.6.self_attn.q_proj",
|
| 214 |
+
"model.layers.6.self_attn.v_proj",
|
| 215 |
+
"model.layers.7.mlp.down_proj",
|
| 216 |
+
"model.layers.7.mlp.gate_proj",
|
| 217 |
+
"model.layers.7.mlp.up_proj",
|
| 218 |
+
"model.layers.7.self_attn.k_proj",
|
| 219 |
+
"model.layers.7.self_attn.o_proj",
|
| 220 |
+
"model.layers.7.self_attn.q_proj",
|
| 221 |
+
"model.layers.7.self_attn.v_proj",
|
| 222 |
+
"model.layers.8.mlp.down_proj",
|
| 223 |
+
"model.layers.8.mlp.gate_proj",
|
| 224 |
+
"model.layers.8.mlp.up_proj",
|
| 225 |
+
"model.layers.8.self_attn.k_proj",
|
| 226 |
+
"model.layers.8.self_attn.o_proj",
|
| 227 |
+
"model.layers.8.self_attn.q_proj",
|
| 228 |
+
"model.layers.8.self_attn.v_proj",
|
| 229 |
+
"model.layers.9.mlp.down_proj",
|
| 230 |
+
"model.layers.9.mlp.gate_proj",
|
| 231 |
+
"model.layers.9.mlp.up_proj",
|
| 232 |
+
"model.layers.9.self_attn.k_proj",
|
| 233 |
+
"model.layers.9.self_attn.o_proj",
|
| 234 |
+
"model.layers.9.self_attn.q_proj",
|
| 235 |
+
"model.layers.9.self_attn.v_proj"
|
| 236 |
+
],
|
| 237 |
+
"task_type": "CAUSAL_LM"
|
| 238 |
+
}
|
weights/vlm/lora_adapter/adapter_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fded211f17fb102be51fdfc320b7e6b83c82571fa46750c2d6670902881481da
|
| 3 |
+
size 160069389
|
weights/vlm/pytorch_model-00001-of-00003.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc21ea2b878e935f4ab994dccb5a2ba72d1b6a2bd115f7f97d0a0990f45915ce
|
| 3 |
+
size 9936166698
|
weights/vlm/pytorch_model-00002-of-00003.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9d68468270b1ec81881956143a2aa322addcf41965e69216a3c3a669ea6ff0e
|
| 3 |
+
size 9955798412
|
weights/vlm/pytorch_model-00003-of-00003.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e757a5fc2c8cb12b1022a4b3f3e9ee22c526c28ef300fdaa78e7009f175280d1
|
| 3 |
+
size 8663102975
|
weights/vlm/pytorch_model.bin.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
weights/vlm/special_tokens_map.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": "<unk>",
|
| 17 |
+
"unk_token": {
|
| 18 |
+
"content": "<unk>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": true,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
}
|
| 24 |
+
}
|
weights/vlm/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
weights/vlm/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
| 3 |
+
size 499723
|
weights/vlm/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": true,
|
| 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": true,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false
|
| 20 |
+
},
|
| 21 |
+
"legacy": true,
|
| 22 |
+
"model_max_length": 512,
|
| 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": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false
|
| 34 |
+
}
|
| 35 |
+
}
|
weights/yolos/config.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "hustvl/yolos-small",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"YolosForObjectDetection"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"auxiliary_loss": false,
|
| 8 |
+
"bbox_cost": 5,
|
| 9 |
+
"bbox_loss_coefficient": 5,
|
| 10 |
+
"class_cost": 1,
|
| 11 |
+
"eos_coefficient": 0.1,
|
| 12 |
+
"giou_cost": 2,
|
| 13 |
+
"giou_loss_coefficient": 2,
|
| 14 |
+
"hidden_act": "gelu",
|
| 15 |
+
"hidden_dropout_prob": 0.0,
|
| 16 |
+
"hidden_size": 384,
|
| 17 |
+
"id2label": {
|
| 18 |
+
"0": "0",
|
| 19 |
+
"1": "1",
|
| 20 |
+
"2": "2",
|
| 21 |
+
"3": "3",
|
| 22 |
+
"4": "4",
|
| 23 |
+
"5": "5",
|
| 24 |
+
"6": "6",
|
| 25 |
+
"7": "7",
|
| 26 |
+
"8": "8",
|
| 27 |
+
"9": "9",
|
| 28 |
+
"10": "10",
|
| 29 |
+
"11": "11",
|
| 30 |
+
"12": "12",
|
| 31 |
+
"13": "13",
|
| 32 |
+
"14": "14",
|
| 33 |
+
"15": "15",
|
| 34 |
+
"16": "16",
|
| 35 |
+
"17": "17",
|
| 36 |
+
"18": "18",
|
| 37 |
+
"19": "19",
|
| 38 |
+
"20": "20",
|
| 39 |
+
"21": "21",
|
| 40 |
+
"22": "22",
|
| 41 |
+
"23": "23",
|
| 42 |
+
"24": "24",
|
| 43 |
+
"25": "25"
|
| 44 |
+
},
|
| 45 |
+
"image_size": [
|
| 46 |
+
512,
|
| 47 |
+
864
|
| 48 |
+
],
|
| 49 |
+
"initializer_range": 0.02,
|
| 50 |
+
"intermediate_size": 1536,
|
| 51 |
+
"label2id": {
|
| 52 |
+
"0": 0,
|
| 53 |
+
"1": 1,
|
| 54 |
+
"10": 10,
|
| 55 |
+
"11": 11,
|
| 56 |
+
"12": 12,
|
| 57 |
+
"13": 13,
|
| 58 |
+
"14": 14,
|
| 59 |
+
"15": 15,
|
| 60 |
+
"16": 16,
|
| 61 |
+
"17": 17,
|
| 62 |
+
"18": 18,
|
| 63 |
+
"19": 19,
|
| 64 |
+
"2": 2,
|
| 65 |
+
"20": 20,
|
| 66 |
+
"21": 21,
|
| 67 |
+
"22": 22,
|
| 68 |
+
"23": 23,
|
| 69 |
+
"24": 24,
|
| 70 |
+
"25": 25,
|
| 71 |
+
"3": 3,
|
| 72 |
+
"4": 4,
|
| 73 |
+
"5": 5,
|
| 74 |
+
"6": 6,
|
| 75 |
+
"7": 7,
|
| 76 |
+
"8": 8,
|
| 77 |
+
"9": 9
|
| 78 |
+
},
|
| 79 |
+
"layer_norm_eps": 1e-12,
|
| 80 |
+
"model_type": "yolos",
|
| 81 |
+
"num_attention_heads": 6,
|
| 82 |
+
"num_channels": 3,
|
| 83 |
+
"num_detection_tokens": 100,
|
| 84 |
+
"num_hidden_layers": 12,
|
| 85 |
+
"patch_size": 16,
|
| 86 |
+
"qkv_bias": true,
|
| 87 |
+
"torch_dtype": "float32",
|
| 88 |
+
"transformers_version": "4.31.0",
|
| 89 |
+
"use_mid_position_embeddings": true
|
| 90 |
+
}
|
weights/yolos/preprocessor_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_pad": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"format": "coco_detection",
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.485,
|
| 9 |
+
0.456,
|
| 10 |
+
0.406
|
| 11 |
+
],
|
| 12 |
+
"image_processor_type": "YolosImageProcessor",
|
| 13 |
+
"image_std": [
|
| 14 |
+
0.229,
|
| 15 |
+
0.224,
|
| 16 |
+
0.225
|
| 17 |
+
],
|
| 18 |
+
"resample": 2,
|
| 19 |
+
"rescale_factor": 0.00392156862745098,
|
| 20 |
+
"size": {
|
| 21 |
+
"longest_edge": 1333,
|
| 22 |
+
"shortest_edge": 800
|
| 23 |
+
}
|
| 24 |
+
}
|
weights/yolos/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92b0b112ee714bd475dc11c8a4188fe0df5a693168280fdfb5d7fcf838b71e0a
|
| 3 |
+
size 122710877
|