KapDEK commited on
Commit
264598d
1 Parent(s): 2e7c396

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +34 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "image_classification",
3
+ "architecture": "ViT",
4
+ "pretrained_model_name": "google/vit-base-patch16-224",
5
+ "num_classes": 2,
6
+ "input_size": [224, 224],
7
+ "input_channels": 3,
8
+ "output_size": 2,
9
+ "mean": [0.5, 0.5, 0.5],
10
+ "std": [0.5, 0.5, 0.5],
11
+ "max_seq_length": null,
12
+ "pad_to_max_seq_length": false,
13
+ "truncation_strategy": "longest_first",
14
+ "do_lower_case": false,
15
+ "tokenizer_name": null,
16
+ "transformer_model_type": null,
17
+ "config_name": null,
18
+ "dropout": 0.1,
19
+ "attention_dropout": 0.1,
20
+ "hidden_dropout": 0.1,
21
+ "num_attention_heads": 12,
22
+ "hidden_size": 768,
23
+ "intermediate_size": 3072,
24
+ "num_hidden_layers": 12,
25
+ "activation_function": "gelu",
26
+ "initializer_range": 0.02,
27
+ "layer_norm_eps": 1e-12,
28
+ "gradient_checkpointing": false,
29
+ "use_cache": true,
30
+ "output_attentions": false,
31
+ "output_hidden_states": false,
32
+ "id2label": {"0": "not hotdog", "1": "hotdog"},
33
+ "label2id": {"not hotdog": 0, "hotdog": 1}
34
+ }