yangapku commited on
Commit
afe47dd
1 Parent(s): 7e73595

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +114 -0
config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPModel"
4
+ ],
5
+ "initializer_factor": 1.0,
6
+ "logit_scale_init_value": 2.6592,
7
+ "model_type": "clip",
8
+ "projection_dim": 512,
9
+ "text_config": {
10
+ "architectures": [
11
+ "BertForMaskedLM"
12
+ ],
13
+ "attention_probs_dropout_prob": 0.1,
14
+ "bos_token_id": 0,
15
+ "directionality": "bidi",
16
+ "eos_token_id": 2,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_size": 768,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "output_past": true,
28
+ "pad_token_id": 0,
29
+ "pooler_fc_size": 768,
30
+ "pooler_num_attention_heads": 12,
31
+ "pooler_num_fc_layers": 3,
32
+ "pooler_size_per_head": 128,
33
+ "pooler_type": "first_token_transform",
34
+ "type_vocab_size": 2,
35
+ "vocab_size": 21128
36
+ },
37
+ "text_config_dict": null,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": null,
40
+ "vision_config": {
41
+ "_name_or_path": "",
42
+ "add_cross_attention": false,
43
+ "architectures": null,
44
+ "attention_dropout": 0.0,
45
+ "bad_words_ids": null,
46
+ "bos_token_id": null,
47
+ "chunk_size_feed_forward": 0,
48
+ "decoder_start_token_id": null,
49
+ "diversity_penalty": 0.0,
50
+ "do_sample": false,
51
+ "dropout": 0.0,
52
+ "early_stopping": false,
53
+ "encoder_no_repeat_ngram_size": 0,
54
+ "eos_token_id": null,
55
+ "finetuning_task": null,
56
+ "forced_bos_token_id": null,
57
+ "forced_eos_token_id": null,
58
+ "hidden_act": "quick_gelu",
59
+ "hidden_size": 768,
60
+ "id2label": {
61
+ "0": "LABEL_0",
62
+ "1": "LABEL_1"
63
+ },
64
+ "image_size": 224,
65
+ "initializer_factor": 1.0,
66
+ "initializer_range": 0.02,
67
+ "intermediate_size": 3072,
68
+ "is_decoder": false,
69
+ "is_encoder_decoder": false,
70
+ "label2id": {
71
+ "LABEL_0": 0,
72
+ "LABEL_1": 1
73
+ },
74
+ "layer_norm_eps": 1e-05,
75
+ "length_penalty": 1.0,
76
+ "max_length": 20,
77
+ "min_length": 0,
78
+ "model_type": "clip_vision_model",
79
+ "no_repeat_ngram_size": 0,
80
+ "num_attention_heads": 12,
81
+ "num_beam_groups": 1,
82
+ "num_beams": 1,
83
+ "num_hidden_layers": 12,
84
+ "num_return_sequences": 1,
85
+ "output_attentions": false,
86
+ "output_hidden_states": false,
87
+ "output_scores": false,
88
+ "pad_token_id": null,
89
+ "patch_size": 16,
90
+ "prefix": null,
91
+ "problem_type": null,
92
+ "projection_dim" : 512,
93
+ "pruned_heads": {},
94
+ "remove_invalid_values": false,
95
+ "repetition_penalty": 1.0,
96
+ "return_dict": true,
97
+ "return_dict_in_generate": false,
98
+ "sep_token_id": null,
99
+ "task_specific_params": null,
100
+ "temperature": 1.0,
101
+ "tie_encoder_decoder": false,
102
+ "tie_word_embeddings": true,
103
+ "tokenizer_class": null,
104
+ "top_k": 50,
105
+ "top_p": 1.0,
106
+ "torch_dtype": null,
107
+ "torchscript": false,
108
+ "transformers_version": "4.12.0.dev0",
109
+ "use_bfloat16": false
110
+ },
111
+ "vision_config_dict": {
112
+ "patch_size": 16
113
+ }
114
+ }