initial commit
Browse files- config.json +52 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- vocab.json +0 -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": 1024,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_drop_path_rate": 0.0,
|
17 |
+
"decoder_ffn_dim": 4096,
|
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": 4096,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 12,
|
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": 12,
|
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.15.0",
|
50 |
+
"use_cache": false,
|
51 |
+
"vocab_size": 59457
|
52 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc129c57a1e2645970310f7dbd830fc3f873803d414d375ad25a813842b4059b
|
3 |
+
size 2446650274
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|