nlpcver commited on
Commit
e285cd4
1 Parent(s): 8829878

first commitcd

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