Upload folder using huggingface_hub
Browse files- config.json +71 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlavaForConditionalGeneration"
|
| 5 |
+
],
|
| 6 |
+
"ignore_index": -100,
|
| 7 |
+
"image_seq_length": 576,
|
| 8 |
+
"image_token_index": 32000,
|
| 9 |
+
"model_type": "llava",
|
| 10 |
+
"pad_token_id": 32001,
|
| 11 |
+
"projector_hidden_act": "gelu",
|
| 12 |
+
"quantization_config": {
|
| 13 |
+
"config_groups": {
|
| 14 |
+
"group_1": {
|
| 15 |
+
"input_activations": null,
|
| 16 |
+
"output_activations": null,
|
| 17 |
+
"targets": [
|
| 18 |
+
"Linear"
|
| 19 |
+
],
|
| 20 |
+
"weights": {
|
| 21 |
+
"actorder": null,
|
| 22 |
+
"block_structure": null,
|
| 23 |
+
"dynamic": false,
|
| 24 |
+
"group_size": null,
|
| 25 |
+
"num_bits": 4,
|
| 26 |
+
"observer": "minmax",
|
| 27 |
+
"observer_kwargs": {},
|
| 28 |
+
"strategy": "tensor",
|
| 29 |
+
"symmetric": false,
|
| 30 |
+
"type": "int"
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"format": "pack-quantized",
|
| 35 |
+
"global_compression_ratio": null,
|
| 36 |
+
"ignore": [
|
| 37 |
+
"language_model.lm_head"
|
| 38 |
+
],
|
| 39 |
+
"kv_cache_scheme": null,
|
| 40 |
+
"quant_method": "compressed-tensors",
|
| 41 |
+
"quantization_status": "compressed"
|
| 42 |
+
},
|
| 43 |
+
"text_config": {
|
| 44 |
+
"_name_or_path": "lmsys/vicuna-7b-v1.5",
|
| 45 |
+
"architectures": [
|
| 46 |
+
"LlamaForCausalLM"
|
| 47 |
+
],
|
| 48 |
+
"max_position_embeddings": 4096,
|
| 49 |
+
"model_type": "llama",
|
| 50 |
+
"rms_norm_eps": 1e-05,
|
| 51 |
+
"torch_dtype": "float16",
|
| 52 |
+
"vocab_size": 32064
|
| 53 |
+
},
|
| 54 |
+
"tie_word_embeddings": false,
|
| 55 |
+
"torch_dtype": "float16",
|
| 56 |
+
"transformers_version": "4.47.0",
|
| 57 |
+
"vision_config": {
|
| 58 |
+
"hidden_size": 1024,
|
| 59 |
+
"image_size": 336,
|
| 60 |
+
"intermediate_size": 4096,
|
| 61 |
+
"model_type": "clip_vision_model",
|
| 62 |
+
"num_attention_heads": 16,
|
| 63 |
+
"num_hidden_layers": 24,
|
| 64 |
+
"patch_size": 14,
|
| 65 |
+
"projection_dim": 768,
|
| 66 |
+
"vocab_size": 32000
|
| 67 |
+
},
|
| 68 |
+
"vision_feature_layer": -2,
|
| 69 |
+
"vision_feature_select_strategy": "default",
|
| 70 |
+
"vocab_size": 32064
|
| 71 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 32001,
|
| 6 |
+
"transformers_version": "4.47.0"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f76dcc5283c96db74fed039f24171db9cc36e5285b90350ccd2e175ed5ce3a6e
|
| 3 |
+
size 3928598220
|