Upload 2 files
Browse files- config.json +52 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"add_type_embedding": true,
|
5 |
+
"architectures": [
|
6 |
+
"OFAModel"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"attn_scale_factor": 2.0,
|
10 |
+
"bos_token_id": 0,
|
11 |
+
"classifier_dropout": 0.0,
|
12 |
+
"code_image_size": 128,
|
13 |
+
"code_layernorm_embedding": true,
|
14 |
+
"d_model": 1280,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_drop_path_rate": 0.0,
|
17 |
+
"decoder_ffn_dim": 5120,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 12,
|
20 |
+
"decoder_normalize_before": true,
|
21 |
+
"decoder_start_token_id": 0,
|
22 |
+
"dropout": 0.1,
|
23 |
+
"encoder_attention_heads": 16,
|
24 |
+
"encoder_drop_path_rate": 0.0,
|
25 |
+
"encoder_ffn_dim": 5120,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 24,
|
28 |
+
"encoder_normalize_before": true,
|
29 |
+
"entangle_position_embedding": false,
|
30 |
+
"eos_token_id": 2,
|
31 |
+
"forced_eos_token_id": 2,
|
32 |
+
"image_bucket_size": 42,
|
33 |
+
"init_std": 0.02,
|
34 |
+
"is_encoder_decoder": true,
|
35 |
+
"layernorm_embedding": true,
|
36 |
+
"max_position_embeddings": 1024,
|
37 |
+
"model_type": "ofa",
|
38 |
+
"normformer": true,
|
39 |
+
"num_hidden_layers": 24,
|
40 |
+
"pad_token_id": 1,
|
41 |
+
"patch_layernorm_embedding": true,
|
42 |
+
"resnet_drop_path_rate": 0.0,
|
43 |
+
"resnet_model_path": null,
|
44 |
+
"resnet_type": "resnet152",
|
45 |
+
"scale_embedding": false,
|
46 |
+
"share_decoder_input_output_embed": true,
|
47 |
+
"token_bucket_size": 256,
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.18.0",
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 59457
|
52 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb3472771fbc727524ffc03579f1b7fbe66636aafbb1c5481509cb6eac3566b8
|
3 |
+
size 3785694190
|