ljnlonoljpiljm
commited on
Commit
•
ab0b40b
1
Parent(s):
bad7fff
Upload Florence2ForConditionalGeneration
Browse files- config.json +4 -2
- generation_config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
@@ -15,6 +15,7 @@
|
|
15 |
"pad_token_id": 1,
|
16 |
"projection_dim": 768,
|
17 |
"text_config": {
|
|
|
18 |
"_name_or_path": "",
|
19 |
"activation_dropout": 0.1,
|
20 |
"activation_function": "gelu",
|
@@ -105,8 +106,9 @@
|
|
105 |
"vocab_size": 51289
|
106 |
},
|
107 |
"torch_dtype": "float32",
|
108 |
-
"transformers_version": "4.
|
109 |
"vision_config": {
|
|
|
110 |
"_name_or_path": "",
|
111 |
"add_cross_attention": false,
|
112 |
"architectures": null,
|
@@ -160,7 +162,7 @@
|
|
160 |
"length_penalty": 1.0,
|
161 |
"max_length": 20,
|
162 |
"min_length": 0,
|
163 |
-
"model_type": "
|
164 |
"no_repeat_ngram_size": 0,
|
165 |
"num_beam_groups": 1,
|
166 |
"num_beams": 1,
|
|
|
15 |
"pad_token_id": 1,
|
16 |
"projection_dim": 768,
|
17 |
"text_config": {
|
18 |
+
"_attn_implementation_autoset": true,
|
19 |
"_name_or_path": "",
|
20 |
"activation_dropout": 0.1,
|
21 |
"activation_function": "gelu",
|
|
|
106 |
"vocab_size": 51289
|
107 |
},
|
108 |
"torch_dtype": "float32",
|
109 |
+
"transformers_version": "4.46.2",
|
110 |
"vision_config": {
|
111 |
+
"_attn_implementation_autoset": false,
|
112 |
"_name_or_path": "",
|
113 |
"add_cross_attention": false,
|
114 |
"architectures": null,
|
|
|
162 |
"length_penalty": 1.0,
|
163 |
"max_length": 20,
|
164 |
"min_length": 0,
|
165 |
+
"model_type": "",
|
166 |
"no_repeat_ngram_size": 0,
|
167 |
"num_beam_groups": 1,
|
168 |
"num_beams": 1,
|
generation_config.json
CHANGED
@@ -9,5 +9,5 @@
|
|
9 |
"no_repeat_ngram_size": 3,
|
10 |
"num_beams": 3,
|
11 |
"pad_token_id": 1,
|
12 |
-
"transformers_version": "4.
|
13 |
}
|
|
|
9 |
"no_repeat_ngram_size": 3,
|
10 |
"num_beams": 3,
|
11 |
"pad_token_id": 1,
|
12 |
+
"transformers_version": "4.46.2"
|
13 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1083916964
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b991e9b09d60928f62337e8eccfa7a18462c8616781d205bb0c0a7a61c9bf774
|
3 |
size 1083916964
|