Upload MPLUGDocOwlForConditionalGeneration
Browse files- config.json +5 -3
- generation_config.json +1 -1
- model-00001-of-00004.safetensors +2 -2
- model-00002-of-00004.safetensors +2 -2
- model-00003-of-00004.safetensors +2 -2
- model-00004-of-00004.safetensors +2 -2
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"MPLUGDocOwlForConditionalGeneration"
|
| 4 |
],
|
|
@@ -22,12 +23,13 @@
|
|
| 22 |
"torch_dtype": "float16",
|
| 23 |
"vocab_size": 32064
|
| 24 |
},
|
| 25 |
-
"torch_dtype": "
|
| 26 |
-
"transformers_version": "4.
|
| 27 |
"vision_config": {
|
| 28 |
"hidden_size": 1024,
|
| 29 |
"image_size": 448,
|
| 30 |
"intermediate_size": 4096,
|
|
|
|
| 31 |
"model_type": "clip_vision_model",
|
| 32 |
"num_attention_heads": 16,
|
| 33 |
"num_hidden_layers": 24,
|
|
@@ -36,5 +38,5 @@
|
|
| 36 |
"vocab_size": 32000
|
| 37 |
},
|
| 38 |
"vision_feature_layer": -2,
|
| 39 |
-
"vision_feature_select_strategy": "
|
| 40 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/raid/dana/mplug_model_hf/",
|
| 3 |
"architectures": [
|
| 4 |
"MPLUGDocOwlForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 23 |
"torch_dtype": "float16",
|
| 24 |
"vocab_size": 32064
|
| 25 |
},
|
| 26 |
+
"torch_dtype": "float16",
|
| 27 |
+
"transformers_version": "4.42.0.dev0",
|
| 28 |
"vision_config": {
|
| 29 |
"hidden_size": 1024,
|
| 30 |
"image_size": 448,
|
| 31 |
"intermediate_size": 4096,
|
| 32 |
+
"layer_norm_eps": 1e-06,
|
| 33 |
"model_type": "clip_vision_model",
|
| 34 |
"num_attention_heads": 16,
|
| 35 |
"num_hidden_layers": 24,
|
|
|
|
| 38 |
"vocab_size": 32000
|
| 39 |
},
|
| 40 |
"vision_feature_layer": -2,
|
| 41 |
+
"vision_feature_select_strategy": "full"
|
| 42 |
}
|
generation_config.json
CHANGED
|
@@ -3,5 +3,5 @@
|
|
| 3 |
"bos_token_id": 1,
|
| 4 |
"eos_token_id": 2,
|
| 5 |
"pad_token_id": 32001,
|
| 6 |
-
"transformers_version": "4.
|
| 7 |
}
|
|
|
|
| 3 |
"bos_token_id": 1,
|
| 4 |
"eos_token_id": 2,
|
| 5 |
"pad_token_id": 32001,
|
| 6 |
+
"transformers_version": "4.42.0.dev0"
|
| 7 |
}
|
model-00001-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4f188125eab7bccf432e1448874a53d1251b6d94d72075c9c5172ef76a6abf5
|
| 3 |
+
size 4987659480
|
model-00002-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28dcd0062e57bd7430d48f161b0f752fa99251ee720b6ab8fd66ad52998299df
|
| 3 |
+
size 4999989896
|
model-00003-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:edd5c101f7ce608a67aab014eefbf92a92e40cc2c3e0ef14a4a523407d40072e
|
| 3 |
+
size 4999956584
|
model-00004-of-00004.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5828e86f5b0bb4b779d66c84600dcf55a7d34e750c650562348fec2da0dcf552
|
| 3 |
+
size 1296675200
|