Download Swin Transformer/config.json from Dataset-and-Model/transfer-learning: direct link, hf CLI and curl.
- Browser
- Download file 2.05 kB
-
https://huggingface.co/Dataset-and-Model/transfer-learning/resolve/main/Swin%20Transformer/config.json
- Command line
-
hf download 'hf://Dataset-and-Model/transfer-learning/Swin Transformer/config.json'
-
curl -L -o config.json https://huggingface.co/Dataset-and-Model/transfer-learning/resolve/main/Swin%20Transformer/config.json
2.05 kB
| { | |
| "_name_or_path": "/home/yoru/.cache/huggingface/hub/models--microsoft--swin-base-patch4-window12-384/snapshots/0c86592b628ac7b09a19ab701c0a76f00b33ce25", | |
| "architectures": [ | |
| "SwinForImageClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "depths": [ | |
| 2, | |
| 2, | |
| 18, | |
| 2 | |
| ], | |
| "drop_path_rate": 0.1, | |
| "embed_dim": 128, | |
| "encoder_stride": 32, | |
| "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, | |
| "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-05, | |
| "mlp_ratio": 4.0, | |
| "model_type": "swin", | |
| "num_channels": 3, | |
| "num_heads": [ | |
| 4, | |
| 8, | |
| 16, | |
| 32 | |
| ], | |
| "num_layers": 4, | |
| "out_features": [ | |
| "stage4" | |
| ], | |
| "out_indices": [ | |
| 4 | |
| ], | |
| "patch_size": 4, | |
| "path_norm": true, | |
| "problem_type": "single_label_classification", | |
| "qkv_bias": true, | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.40.2", | |
| "use_absolute_embeddings": false, | |
| "window_size": 12 | |
| } | |