| { |
| "architectures": [ |
| "SwinModel" |
| ], |
| "attention_probs_dropout_prob": 0.0, |
| "depths": [ |
| 1, |
| 2, |
| 1 |
| ], |
| "drop_path_rate": 0.1, |
| "embed_dim": 16, |
| "encoder_stride": 8, |
| "hidden_act": "gelu", |
| "hidden_dropout_prob": 0.0, |
| "hidden_size": 64, |
| "image_size": 32, |
| "initializer_range": 0.02, |
| "layer_norm_eps": 1e-05, |
| "mlp_ratio": 2.0, |
| "model_type": "swin", |
| "neuron": { |
| "auto_cast": null, |
| "auto_cast_type": null, |
| "compiler_type": "neuronx-cc", |
| "compiler_version": "2.19.8089.0+8ab9f450", |
| "disable_fallback": false, |
| "disable_fast_relayout": false, |
| "dynamic_batch_size": true, |
| "float_dtype": "fp32", |
| "inline_weights_to_neff": true, |
| "input_names": [ |
| "pixel_values" |
| ], |
| "int_dtype": "int64", |
| "model_type": "swin", |
| "optlevel": "2", |
| "output_attentions": false, |
| "output_hidden_states": false, |
| "output_names": [ |
| "logits" |
| ], |
| "static_batch_size": 1, |
| "static_image_size": 32, |
| "static_num_channels": 3, |
| "static_patch_size": 2, |
| "task": "image-classification", |
| "tensor_parallel_size": 1 |
| }, |
| "num_channels": 3, |
| "num_heads": [ |
| 2, |
| 2, |
| 4 |
| ], |
| "num_layers": 3, |
| "out_features": [ |
| "stage3" |
| ], |
| "out_indices": [ |
| 3 |
| ], |
| "patch_size": 2, |
| "path_norm": true, |
| "qkv_bias": true, |
| "stage_names": [ |
| "stem", |
| "stage1", |
| "stage2", |
| "stage3" |
| ], |
| "torch_dtype": "float32", |
| "torchscript": true, |
| "transformers_version": "4.55.4", |
| "use_absolute_embeddings": false, |
| "window_size": 2 |
| } |
|
|