{ | |
"_name_or_path": "hf-internal-testing/tiny-random-LevitModel", | |
"architectures": [ | |
"LevitModel" | |
], | |
"attention_ratio": [ | |
2, | |
2, | |
2 | |
], | |
"depths": [ | |
2, | |
3, | |
4 | |
], | |
"down_ops": [ | |
[ | |
"Subsample", | |
16, | |
8, | |
4, | |
2, | |
2 | |
], | |
[ | |
"Subsample", | |
16, | |
16, | |
4, | |
2, | |
2 | |
], | |
[ | |
"" | |
] | |
], | |
"drop_path_rate": 0, | |
"hidden_sizes": [ | |
128, | |
256, | |
384 | |
], | |
"image_size": 64, | |
"initializer_range": 0.02, | |
"kernel_size": 3, | |
"key_dim": [ | |
16, | |
16, | |
16 | |
], | |
"mlp_ratio": [ | |
2, | |
2, | |
2 | |
], | |
"model_type": "levit", | |
"neuron": { | |
"auto_cast": null, | |
"auto_cast_type": null, | |
"compiler_type": "neuronx-cc", | |
"compiler_version": "2.14.182.0+a56cbff7", | |
"disable_fallback": false, | |
"disable_fast_relayout": false, | |
"dynamic_batch_size": false, | |
"inline_weights_to_neff": true, | |
"input_names": [ | |
"pixel_values" | |
], | |
"model_type": "levit", | |
"optlevel": "2", | |
"output_attentions": false, | |
"output_hidden_states": false, | |
"output_names": [ | |
"logits" | |
], | |
"static_batch_size": 1, | |
"static_image_size": 64, | |
"static_num_channels": 3, | |
"static_patch_size": 16 | |
}, | |
"num_attention_heads": [ | |
4, | |
6, | |
8 | |
], | |
"num_channels": 3, | |
"padding": 1, | |
"patch_size": 16, | |
"stride": 2, | |
"task": "image-classification", | |
"torchscript": true, | |
"transformers_version": "4.41.1" | |
} | |