|
{ |
|
"_name_or_path": "hf-internal-testing/tiny-random-BeitForImageClassification", |
|
"add_fpn": false, |
|
"architectures": [ |
|
"BeitForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"auxiliary_channels": 256, |
|
"auxiliary_concat_input": false, |
|
"auxiliary_loss_weight": 0.4, |
|
"auxiliary_num_convs": 1, |
|
"drop_path_rate": 0.1, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 32, |
|
"image_size": 30, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 37, |
|
"layer_norm_eps": 1e-12, |
|
"layer_scale_init_value": 0.1, |
|
"model_type": "beit", |
|
"neuron": { |
|
"auto_cast": null, |
|
"auto_cast_type": null, |
|
"compiler_type": "neuronx-cc", |
|
"compiler_version": "2.15.128.0+56dc5a86", |
|
"disable_fallback": false, |
|
"disable_fast_relayout": false, |
|
"dynamic_batch_size": true, |
|
"inline_weights_to_neff": true, |
|
"input_names": [ |
|
"pixel_values" |
|
], |
|
"model_type": "beit", |
|
"optlevel": "2", |
|
"output_attentions": false, |
|
"output_hidden_states": false, |
|
"output_names": [ |
|
"logits" |
|
], |
|
"static_batch_size": 1, |
|
"static_image_size": 30, |
|
"static_num_channels": 3, |
|
"static_patch_size": 2 |
|
}, |
|
"num_attention_heads": 4, |
|
"num_channels": 3, |
|
"num_hidden_layers": 4, |
|
"out_features": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3" |
|
], |
|
"out_indices": [ |
|
0, |
|
1, |
|
2, |
|
3 |
|
], |
|
"patch_size": 2, |
|
"pool_scales": [ |
|
1, |
|
2, |
|
3, |
|
6 |
|
], |
|
"reshape_hidden_states": true, |
|
"semantic_loss_ignore_index": 255, |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4" |
|
], |
|
"task": "image-classification", |
|
"torchscript": true, |
|
"transformers_version": "4.43.2", |
|
"use_absolute_position_embeddings": false, |
|
"use_auxiliary_head": true, |
|
"use_mask_token": false, |
|
"use_mean_pooling": true, |
|
"use_relative_position_bias": false, |
|
"use_shared_relative_position_bias": false, |
|
"vocab_size": 100 |
|
} |
|
|