Upload model
Browse files- config.json +8 -5
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"decoder": {
|
| 6 |
"_attn_implementation_autoset": true,
|
|
@@ -36,6 +37,7 @@
|
|
| 36 |
"decoder_start_token_id": null,
|
| 37 |
"diversity_penalty": 0.0,
|
| 38 |
"do_sample": false,
|
|
|
|
| 39 |
"dropout": 0.1,
|
| 40 |
"early_stopping": false,
|
| 41 |
"encoder_cross_attn_layers": [
|
|
@@ -91,7 +93,7 @@
|
|
| 91 |
"lru_width": 512,
|
| 92 |
"max_length": 20,
|
| 93 |
"min_length": 0,
|
| 94 |
-
"model_type": "
|
| 95 |
"no_repeat_ngram_size": 0,
|
| 96 |
"num_attention_heads": 8,
|
| 97 |
"num_beam_groups": 1,
|
|
@@ -145,7 +147,7 @@
|
|
| 145 |
"decoder_end_token_id": 1,
|
| 146 |
"decoder_start_token_id": 1,
|
| 147 |
"encoder": {
|
| 148 |
-
"_attn_implementation_autoset":
|
| 149 |
"_name_or_path": "",
|
| 150 |
"add_cross_attention": false,
|
| 151 |
"architectures": null,
|
|
@@ -244,6 +246,7 @@
|
|
| 244 |
"typical_p": 1.0,
|
| 245 |
"use_absolute_embeddings": false,
|
| 246 |
"use_bfloat16": false,
|
|
|
|
| 247 |
"window_size": 8
|
| 248 |
},
|
| 249 |
"eos_token_id": 1,
|
|
@@ -251,6 +254,6 @@
|
|
| 251 |
"model_type": "vision-encoder-decoder",
|
| 252 |
"pad_token_id": 0,
|
| 253 |
"tie_word_embeddings": false,
|
| 254 |
-
"torch_dtype": "
|
| 255 |
-
"transformers_version": "4.
|
| 256 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/Users/vik/datalab/experiments/texify_train",
|
| 3 |
"architectures": [
|
| 4 |
+
"TexifyModel"
|
| 5 |
],
|
| 6 |
"decoder": {
|
| 7 |
"_attn_implementation_autoset": true,
|
|
|
|
| 37 |
"decoder_start_token_id": null,
|
| 38 |
"diversity_penalty": 0.0,
|
| 39 |
"do_sample": false,
|
| 40 |
+
"double_residual_flow": false,
|
| 41 |
"dropout": 0.1,
|
| 42 |
"early_stopping": false,
|
| 43 |
"encoder_cross_attn_layers": [
|
|
|
|
| 93 |
"lru_width": 512,
|
| 94 |
"max_length": 20,
|
| 95 |
"min_length": 0,
|
| 96 |
+
"model_type": "texify",
|
| 97 |
"no_repeat_ngram_size": 0,
|
| 98 |
"num_attention_heads": 8,
|
| 99 |
"num_beam_groups": 1,
|
|
|
|
| 147 |
"decoder_end_token_id": 1,
|
| 148 |
"decoder_start_token_id": 1,
|
| 149 |
"encoder": {
|
| 150 |
+
"_attn_implementation_autoset": true,
|
| 151 |
"_name_or_path": "",
|
| 152 |
"add_cross_attention": false,
|
| 153 |
"architectures": null,
|
|
|
|
| 246 |
"typical_p": 1.0,
|
| 247 |
"use_absolute_embeddings": false,
|
| 248 |
"use_bfloat16": false,
|
| 249 |
+
"use_positional_embeddings": true,
|
| 250 |
"window_size": 8
|
| 251 |
},
|
| 252 |
"eos_token_id": 1,
|
|
|
|
| 254 |
"model_type": "vision-encoder-decoder",
|
| 255 |
"pad_token_id": 0,
|
| 256 |
"tie_word_embeddings": false,
|
| 257 |
+
"torch_dtype": "float16",
|
| 258 |
+
"transformers_version": "4.48.1"
|
| 259 |
}
|
model.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:3ee5c3efcd79246f20fccc5292ce95bd5e4c0e26e6ef7abc8e6543f1a159e1cf
|
| 3 |
+
size 338587064
|