rdinnager commited on
Commit
157b8ae
·
verified ·
1 Parent(s): 6bbf1ad

Add id2label [fruit, flower] + multi_label_classification problem_type

Browse files
Files changed (1) hide show
  1. config.json +10 -0
config.json CHANGED
@@ -7,17 +7,27 @@
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.0,
9
  "hidden_size": 1024,
 
 
 
 
10
  "image_size": 224,
11
  "initializer_range": 0.02,
12
  "intermediate_size": 4096,
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "model_type": "vit",
15
  "num_attention_heads": 16,
16
  "num_channels": 3,
17
  "num_hidden_layers": 24,
 
18
  "patch_size": 16,
19
  "pooler_act": "tanh",
20
  "pooler_output_size": 768,
 
21
  "qkv_bias": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.52.4"
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.0,
9
  "hidden_size": 1024,
10
+ "id2label": {
11
+ "0": "fruit",
12
+ "1": "flower"
13
+ },
14
  "image_size": 224,
15
  "initializer_range": 0.02,
16
  "intermediate_size": 4096,
17
+ "label2id": {
18
+ "fruit": 0,
19
+ "flower": 1
20
+ },
21
  "layer_norm_eps": 1e-12,
22
  "model_type": "vit",
23
  "num_attention_heads": 16,
24
  "num_channels": 3,
25
  "num_hidden_layers": 24,
26
+ "num_labels": 2,
27
  "patch_size": 16,
28
  "pooler_act": "tanh",
29
  "pooler_output_size": 768,
30
+ "problem_type": "multi_label_classification",
31
  "qkv_bias": true,
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.52.4"