YeungNLP commited on
Commit
ede6c52
1 Parent(s): d320e13

Upload 7 files

Browse files
added_tokens.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "add_type_embedding": true,
6
+ "architectures": [
7
+ "OFAModel"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "attn_scale_factor": 2.0,
11
+ "bos_token_id": 0,
12
+ "classifier_dropout": 0.0,
13
+ "code_image_size": 128,
14
+ "code_layernorm_embedding": true,
15
+ "d_model": 768,
16
+ "decoder_attention_heads": 12,
17
+ "decoder_drop_path_rate": 0.0,
18
+ "decoder_ffn_dim": 3072,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_normalize_before": true,
22
+ "decoder_start_token_id": 0,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 12,
25
+ "encoder_drop_path_rate": 0.0,
26
+ "encoder_ffn_dim": 3072,
27
+ "encoder_layerdrop": 0.0,
28
+ "encoder_layers": 6,
29
+ "encoder_normalize_before": true,
30
+ "entangle_position_embedding": false,
31
+ "eos_token_id": 2,
32
+ "forced_eos_token_id": 2,
33
+ "image_bucket_size": 42,
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "layernorm_embedding": true,
37
+ "max_position_embeddings": 1024,
38
+ "model_type": "ofa",
39
+ "normformer": true,
40
+ "num_hidden_layers": 6,
41
+ "pad_token_id": 1,
42
+ "patch_layernorm_embedding": true,
43
+ "resnet_drop_path_rate": 0.0,
44
+ "resnet_model_path": null,
45
+ "resnet_type": "resnet101",
46
+ "scale_embedding": false,
47
+ "share_decoder_input_output_embed": true,
48
+ "token_bucket_size": 256,
49
+ "torch_dtype": "float32",
50
+ "transformers_version": "4.20.0",
51
+ "use_cache": false,
52
+ "vocab_size": 30325
53
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40bda182541c5873108f70b7e0aca3d1a593a9ce7d9b599b81074e81a1a5f905
3
+ size 706737531
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "</s>",
8
+ "unk_token": "<unk>"
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "eos_token": "</s>",
7
+ "mask_token": "<mask>",
8
+ "name_or_path": "",
9
+ "never_split": null,
10
+ "pad_token": "<pad>",
11
+ "sep_token": "</s>",
12
+ "special_tokens_map_file": null,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "unk_token": "<unk>"
17
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff