Xenova HF staff commited on
Commit
67697fd
1 Parent(s): 4cc99c7

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +98 -0
config.json ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 768,
9
+ "location_config": {
10
+ "sigma": [1, 16, 256],
11
+ "n": 3,
12
+ "input_size": 2,
13
+ "encoded_size": 256
14
+ },
15
+ "location_config_dict": {},
16
+ "torch_dtype": "float32",
17
+ "transformers_version": null,
18
+ "vision_config": {
19
+ "_name_or_path": "",
20
+ "add_cross_attention": false,
21
+ "architectures": null,
22
+ "attention_dropout": 0.0,
23
+ "bad_words_ids": null,
24
+ "bos_token_id": null,
25
+ "chunk_size_feed_forward": 0,
26
+ "cross_attention_hidden_size": null,
27
+ "decoder_start_token_id": null,
28
+ "diversity_penalty": 0.0,
29
+ "do_sample": false,
30
+ "dropout": 0.0,
31
+ "early_stopping": false,
32
+ "encoder_no_repeat_ngram_size": 0,
33
+ "eos_token_id": null,
34
+ "finetuning_task": null,
35
+ "forced_bos_token_id": null,
36
+ "forced_eos_token_id": null,
37
+ "hidden_act": "quick_gelu",
38
+ "hidden_size": 1024,
39
+ "id2label": {
40
+ "0": "LABEL_0",
41
+ "1": "LABEL_1"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_factor": 1.0,
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 4096,
47
+ "is_decoder": false,
48
+ "is_encoder_decoder": false,
49
+ "label2id": {
50
+ "LABEL_0": 0,
51
+ "LABEL_1": 1
52
+ },
53
+ "layer_norm_eps": 1e-05,
54
+ "length_penalty": 1.0,
55
+ "max_length": 20,
56
+ "min_length": 0,
57
+ "model_type": "clip_vision_model",
58
+ "no_repeat_ngram_size": 0,
59
+ "num_attention_heads": 16,
60
+ "num_beam_groups": 1,
61
+ "num_beams": 1,
62
+ "num_hidden_layers": 24,
63
+ "num_return_sequences": 1,
64
+ "output_attentions": false,
65
+ "output_hidden_states": false,
66
+ "output_scores": false,
67
+ "pad_token_id": null,
68
+ "patch_size": 14,
69
+ "prefix": null,
70
+ "problem_type": null,
71
+ "projection_dim" : 768,
72
+ "pruned_heads": {},
73
+ "remove_invalid_values": false,
74
+ "repetition_penalty": 1.0,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "sep_token_id": null,
78
+ "task_specific_params": null,
79
+ "temperature": 1.0,
80
+ "tie_encoder_decoder": false,
81
+ "tie_word_embeddings": true,
82
+ "tokenizer_class": null,
83
+ "top_k": 50,
84
+ "top_p": 1.0,
85
+ "torch_dtype": null,
86
+ "torchscript": false,
87
+ "transformers_version": "4.16.0.dev0",
88
+ "use_bfloat16": false
89
+ },
90
+ "vision_config_dict": {
91
+ "hidden_size": 1024,
92
+ "intermediate_size": 4096,
93
+ "num_attention_heads": 16,
94
+ "num_hidden_layers": 24,
95
+ "patch_size": 14,
96
+ "projection_dim": 768
97
+ }
98
+ }