nicocambrian
commited on
Upload folder using huggingface_hub
Browse files- config.json +2 -7
- generation_config.json +9 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
- preprocessor_config.json +52 -0
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "llava-hf
|
3 |
"architectures": [
|
4 |
"LlavaNextForConditionalGeneration"
|
5 |
],
|
@@ -30,13 +30,8 @@
|
|
30 |
"model_type": "llava_next",
|
31 |
"projector_hidden_act": "gelu",
|
32 |
"quantization_config": {
|
33 |
-
"backend": "autoawq",
|
34 |
"bits": 4,
|
35 |
-
"do_fuse": false,
|
36 |
-
"exllama_config": null,
|
37 |
-
"fuse_max_seq_len": null,
|
38 |
"group_size": 128,
|
39 |
-
"modules_to_fuse": null,
|
40 |
"modules_to_not_convert": null,
|
41 |
"quant_method": "awq",
|
42 |
"version": "gemm",
|
@@ -61,7 +56,7 @@
|
|
61 |
"vocab_size": 32064
|
62 |
},
|
63 |
"tie_word_embeddings": false,
|
64 |
-
"torch_dtype": "
|
65 |
"transformers_version": "4.41.1",
|
66 |
"use_image_newline_parameter": true,
|
67 |
"vision_config": {
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--llava-hf--llava-v1.6-vicuna-13b-hf/snapshots/e66fcaaa7d502b1037c8465375bb67f4c33758dd",
|
3 |
"architectures": [
|
4 |
"LlavaNextForConditionalGeneration"
|
5 |
],
|
|
|
30 |
"model_type": "llava_next",
|
31 |
"projector_hidden_act": "gelu",
|
32 |
"quantization_config": {
|
|
|
33 |
"bits": 4,
|
|
|
|
|
|
|
34 |
"group_size": 128,
|
|
|
35 |
"modules_to_not_convert": null,
|
36 |
"quant_method": "awq",
|
37 |
"version": "gemm",
|
|
|
56 |
"vocab_size": 32064
|
57 |
},
|
58 |
"tie_word_embeddings": false,
|
59 |
+
"torch_dtype": "bfloat16",
|
60 |
"transformers_version": "4.41.1",
|
61 |
"use_image_newline_parameter": true,
|
62 |
"vision_config": {
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 2,
|
6 |
+
"max_length": 4096,
|
7 |
+
"pad_token_id": 0,
|
8 |
+
"transformers_version": "4.41.1"
|
9 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84f884d18cacd4ea3e30492073dc05cc473d30e3949dea86c474caab74676724
|
3 |
+
size 4994787184
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b077861b5ea6505edcb2eb62ce75cce3918d8f2d19a5b33be430a395667608fb
|
3 |
+
size 2924539320
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"aspect_ratio_setting": "anyres",
|
3 |
+
"crop_size": {
|
4 |
+
"height": 336,
|
5 |
+
"width": 336
|
6 |
+
},
|
7 |
+
"do_center_crop": true,
|
8 |
+
"do_convert_rgb": true,
|
9 |
+
"do_normalize": true,
|
10 |
+
"do_pad": true,
|
11 |
+
"do_rescale": true,
|
12 |
+
"do_resize": true,
|
13 |
+
"image_grid_pinpoints": [
|
14 |
+
[
|
15 |
+
336,
|
16 |
+
672
|
17 |
+
],
|
18 |
+
[
|
19 |
+
672,
|
20 |
+
336
|
21 |
+
],
|
22 |
+
[
|
23 |
+
672,
|
24 |
+
672
|
25 |
+
],
|
26 |
+
[
|
27 |
+
1008,
|
28 |
+
336
|
29 |
+
],
|
30 |
+
[
|
31 |
+
336,
|
32 |
+
1008
|
33 |
+
]
|
34 |
+
],
|
35 |
+
"image_mean": [
|
36 |
+
0.48145466,
|
37 |
+
0.4578275,
|
38 |
+
0.40821073
|
39 |
+
],
|
40 |
+
"image_processor_type": "LlavaNextImageProcessor",
|
41 |
+
"image_std": [
|
42 |
+
0.26862954,
|
43 |
+
0.26130258,
|
44 |
+
0.27577711
|
45 |
+
],
|
46 |
+
"processor_class": "LlavaNextProcessor",
|
47 |
+
"resample": 3,
|
48 |
+
"rescale_factor": 0.00392156862745098,
|
49 |
+
"size": {
|
50 |
+
"shortest_edge": 336
|
51 |
+
}
|
52 |
+
}
|