yangapku commited on
Commit
5567038
1 Parent(s): c41ff17

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +120 -0
config.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ChineseCLIPModel"
4
+ ],
5
+ "initializer_factor": 1.0,
6
+ "logit_scale_init_value": 2.6592,
7
+ "model_type": "chinese_clip",
8
+ "projection_dim": 768,
9
+ "text_config": {
10
+ "architectures": [
11
+ "ChineseCLIPTextModel"
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": "chinese_clip_text_model",
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
+ "cross_attention_hidden_size": null,
49
+ "decoder_start_token_id": null,
50
+ "diversity_penalty": 0.0,
51
+ "do_sample": false,
52
+ "dropout": 0.0,
53
+ "early_stopping": false,
54
+ "encoder_no_repeat_ngram_size": 0,
55
+ "eos_token_id": null,
56
+ "finetuning_task": null,
57
+ "forced_bos_token_id": null,
58
+ "forced_eos_token_id": null,
59
+ "hidden_act": "quick_gelu",
60
+ "hidden_size": 1024,
61
+ "id2label": {
62
+ "0": "LABEL_0",
63
+ "1": "LABEL_1"
64
+ },
65
+ "image_size": 224,
66
+ "initializer_factor": 1.0,
67
+ "initializer_range": 0.02,
68
+ "intermediate_size": 4096,
69
+ "is_decoder": false,
70
+ "is_encoder_decoder": false,
71
+ "label2id": {
72
+ "LABEL_0": 0,
73
+ "LABEL_1": 1
74
+ },
75
+ "layer_norm_eps": 1e-05,
76
+ "length_penalty": 1.0,
77
+ "max_length": 20,
78
+ "min_length": 0,
79
+ "model_type": "clip_vision_model",
80
+ "no_repeat_ngram_size": 0,
81
+ "num_attention_heads": 16,
82
+ "num_beam_groups": 1,
83
+ "num_beams": 1,
84
+ "num_hidden_layers": 24,
85
+ "num_return_sequences": 1,
86
+ "output_attentions": false,
87
+ "output_hidden_states": false,
88
+ "output_scores": false,
89
+ "pad_token_id": null,
90
+ "patch_size": 14,
91
+ "prefix": null,
92
+ "problem_type": null,
93
+ "projection_dim" : 768,
94
+ "pruned_heads": {},
95
+ "remove_invalid_values": false,
96
+ "repetition_penalty": 1.0,
97
+ "return_dict": true,
98
+ "return_dict_in_generate": false,
99
+ "sep_token_id": null,
100
+ "task_specific_params": null,
101
+ "temperature": 1.0,
102
+ "tie_encoder_decoder": false,
103
+ "tie_word_embeddings": true,
104
+ "tokenizer_class": null,
105
+ "top_k": 50,
106
+ "top_p": 1.0,
107
+ "torch_dtype": null,
108
+ "torchscript": false,
109
+ "transformers_version": "4.16.0.dev0",
110
+ "use_bfloat16": false
111
+ },
112
+ "vision_config_dict": {
113
+ "hidden_size": 1024,
114
+ "intermediate_size": 4096,
115
+ "num_attention_heads": 16,
116
+ "num_hidden_layers": 24,
117
+ "patch_size": 14,
118
+ "projection_dim": 768
119
+ }
120
+ }