Upload LlavaNextForConditionalGeneration
Browse files- config.json +3 -4
- generation_config.json +1 -2
- model-00001-of-00004.safetensors +1 -1
- model-00004-of-00004.safetensors +1 -1
config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
"ignore_index": -100,
|
6 |
"image_grid_pinpoints": [
|
@@ -26,8 +26,7 @@
|
|
26 |
]
|
27 |
],
|
28 |
"image_token_index": 32000,
|
29 |
-
"model_type": "
|
30 |
-
"pad_token_id": 32001,
|
31 |
"projector_hidden_act": "gelu",
|
32 |
"text_config": {
|
33 |
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
@@ -45,7 +44,7 @@
|
|
45 |
"vocab_size": 32064
|
46 |
},
|
47 |
"torch_dtype": "float16",
|
48 |
-
"transformers_version": "4.
|
49 |
"use_image_newline_parameter": true,
|
50 |
"vision_config": {
|
51 |
"hidden_size": 1024,
|
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
+
"LlavaNextForConditionalGeneration"
|
4 |
],
|
5 |
"ignore_index": -100,
|
6 |
"image_grid_pinpoints": [
|
|
|
26 |
]
|
27 |
],
|
28 |
"image_token_index": 32000,
|
29 |
+
"model_type": "llava_next",
|
|
|
30 |
"projector_hidden_act": "gelu",
|
31 |
"text_config": {
|
32 |
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
|
|
44 |
"vocab_size": 32064
|
45 |
},
|
46 |
"torch_dtype": "float16",
|
47 |
+
"transformers_version": "4.39.0.dev0",
|
48 |
"use_image_newline_parameter": true,
|
49 |
"vision_config": {
|
50 |
"hidden_size": 1024,
|
generation_config.json
CHANGED
@@ -2,6 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"
|
6 |
-
"transformers_version": "4.38.0.dev0"
|
7 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.39.0.dev0"
|
|
|
6 |
}
|
model-00001-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4921618144
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6272aed47be8b29f7b5ec508a90b3a06bf63b050c24f832ad1965579714fb4a
|
3 |
size 4921618144
|
model-00004-of-00004.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 380134008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6ad584abd43f7ab7d39f2ecb0c8d7ebec4fe835d4217f101f7d50cfa895dd69
|
3 |
size 380134008
|