AbstractPhil commited on
Commit
fde50dd
·
verified ·
1 Parent(s): 52a917f

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +22 -0
config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CaptionBertV2Model"
4
+ ],
5
+ "model_type": "captionbert_v2",
6
+ "auto_map": {
7
+ "AutoConfig": "modeling_captionbert.CaptionBertV2Config",
8
+ "AutoModel": "modeling_captionbert.CaptionBertV2Model"
9
+ },
10
+ "vocab_size": 30522,
11
+ "hidden_size": 512,
12
+ "num_hidden_layers": 12,
13
+ "num_attention_heads": 8,
14
+ "intermediate_size": 2048,
15
+ "output_dim": 768,
16
+ "max_position_embeddings": 8192,
17
+ "hidden_dropout_prob": 0.1,
18
+ "pad_token_id": 0,
19
+ "pooling": "mean",
20
+ "torch_dtype": "float32",
21
+ "tokenizer_class": "BertTokenizerFast"
22
+ }