Download ViT/config.json from Dataset-and-Model/transfer-learning: direct link, hf CLI and curl.
- Browser
- Download file 1.7 kB
-
https://huggingface.co/Dataset-and-Model/transfer-learning/resolve/main/ViT/config.json
- Command line
-
hf download hf://Dataset-and-Model/transfer-learning/ViT/config.json
-
curl -L -o config.json https://huggingface.co/Dataset-and-Model/transfer-learning/resolve/main/ViT/config.json
1.7 kB
| { | |
| "_name_or_path": "/home/yoru/.cache/huggingface/hub/models--google--vit-large-patch32-384/snapshots/a2b30ad36d02e99f045cd2ecfc71e0ae16991efa", | |
| "architectures": [ | |
| "ViTForImageClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "encoder_stride": 16, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 1024, | |
| "id2label": { | |
| "0": "Civet", | |
| "1": "Emerald_Dove", | |
| "2": "Foemosan_Gem-faced_Civet", | |
| "3": "Formosan_Ferret-badger", | |
| "4": "Formosan_Sambar_Deer", | |
| "5": "Formosan_Serow", | |
| "6": "Formosan_Sika_Deer", | |
| "7": "Formosan_Yellow-throated_Marten", | |
| "8": "Formosan_macaque", | |
| "9": "Formosan_wild_boar", | |
| "10": "Mouse", | |
| "11": "Reeves's_Muntjac", | |
| "12": "Swinhoe's_Pheasant", | |
| "13": "Taiwan_Partridge", | |
| "14": "Urva", | |
| "15": "cat", | |
| "16": "dog", | |
| "17": "squirrel" | |
| }, | |
| "image_size": 384, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "label2id": { | |
| "Civet": 0, | |
| "Emerald_Dove": 1, | |
| "Foemosan_Gem-faced_Civet": 2, | |
| "Formosan_Ferret-badger": 3, | |
| "Formosan_Sambar_Deer": 4, | |
| "Formosan_Serow": 5, | |
| "Formosan_Sika_Deer": 6, | |
| "Formosan_Yellow-throated_Marten": 7, | |
| "Formosan_macaque": 8, | |
| "Formosan_wild_boar": 9, | |
| "Mouse": 10, | |
| "Reeves's_Muntjac": 11, | |
| "Swinhoe's_Pheasant": 12, | |
| "Taiwan_Partridge": 13, | |
| "Urva": 14, | |
| "cat": 15, | |
| "dog": 16, | |
| "squirrel": 17 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "model_type": "vit", | |
| "num_attention_heads": 16, | |
| "num_channels": 3, | |
| "num_hidden_layers": 24, | |
| "patch_size": 32, | |
| "problem_type": "single_label_classification", | |
| "qkv_bias": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.40.2" | |
| } | |