Upload model
Browse files- config.json +2 -10
- generation_config.json +2 -1
- model.safetensors +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "./
|
3 |
"architectures": [
|
4 |
"VisionEncoderDecoderModel"
|
5 |
],
|
@@ -85,7 +85,6 @@
|
|
85 |
"vocab_size": 50265
|
86 |
},
|
87 |
"decoder_start_token_id": 0,
|
88 |
-
"early_stopping": true,
|
89 |
"encoder": {
|
90 |
"_name_or_path": "",
|
91 |
"add_cross_attention": false,
|
@@ -163,17 +162,10 @@
|
|
163 |
"typical_p": 1.0,
|
164 |
"use_bfloat16": false
|
165 |
},
|
166 |
-
"eos_token_id": 2,
|
167 |
"is_encoder_decoder": true,
|
168 |
-
"length_penalty": 2.0,
|
169 |
-
"max_length": 64,
|
170 |
"model_type": "vision-encoder-decoder",
|
171 |
-
"no_repeat_ngram_size": 3,
|
172 |
-
"num_beams": 10,
|
173 |
"pad_token_id": 1,
|
174 |
-
"sep_token_id": 2,
|
175 |
"tie_word_embeddings": false,
|
176 |
"torch_dtype": "float32",
|
177 |
-
"transformers_version": "4.
|
178 |
-
"vocab_size": 50265
|
179 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./model/Math",
|
3 |
"architectures": [
|
4 |
"VisionEncoderDecoderModel"
|
5 |
],
|
|
|
85 |
"vocab_size": 50265
|
86 |
},
|
87 |
"decoder_start_token_id": 0,
|
|
|
88 |
"encoder": {
|
89 |
"_name_or_path": "",
|
90 |
"add_cross_attention": false,
|
|
|
162 |
"typical_p": 1.0,
|
163 |
"use_bfloat16": false
|
164 |
},
|
|
|
165 |
"is_encoder_decoder": true,
|
|
|
|
|
166 |
"model_type": "vision-encoder-decoder",
|
|
|
|
|
167 |
"pad_token_id": 1,
|
|
|
168 |
"tie_word_embeddings": false,
|
169 |
"torch_dtype": "float32",
|
170 |
+
"transformers_version": "4.44.0"
|
|
|
171 |
}
|
generation_config.json
CHANGED
@@ -3,7 +3,8 @@
|
|
3 |
"bos_token_id": 0,
|
4 |
"decoder_start_token_id": 2,
|
5 |
"eos_token_id": 2,
|
|
|
6 |
"pad_token_id": 1,
|
7 |
-
"transformers_version": "4.
|
8 |
"use_cache": false
|
9 |
}
|
|
|
3 |
"bos_token_id": 0,
|
4 |
"decoder_start_token_id": 2,
|
5 |
"eos_token_id": 2,
|
6 |
+
"max_length": 256,
|
7 |
"pad_token_id": 1,
|
8 |
+
"transformers_version": "4.44.0",
|
9 |
"use_cache": false
|
10 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2436757100
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93bd2db3d0bca51602552c402696e7f12b0d51e4595d7b4f2fcb3cb95cc84714
|
3 |
size 2436757100
|