config.json
767 B · 34 lines · json Raw
1 {
2 "_name_or_path": "google/vit-base-patch16-224-in21k",
3 "architectures": [
4 "ViTForImageClassification"
5 ],
6 "attention_probs_dropout_prob": 0.0,
7 "encoder_stride": 16,
8 "finetuning_task": "image-classification",
9 "hidden_act": "gelu",
10 "hidden_dropout_prob": 0.0,
11 "hidden_size": 768,
12 "id2label": {
13 "0": "no",
14 "1": "yes"
15 },
16 "image_size": 224,
17 "initializer_range": 0.02,
18 "intermediate_size": 3072,
19 "label2id": {
20 "no": "0",
21 "yes": "1"
22 },
23 "layer_norm_eps": 1e-12,
24 "model_type": "vit",
25 "num_attention_heads": 12,
26 "num_channels": 3,
27 "num_hidden_layers": 12,
28 "patch_size": 16,
29 "problem_type": "single_label_classification",
30 "qkv_bias": true,
31 "torch_dtype": "float32",
32 "transformers_version": "4.36.0.dev0"
33 }
34