tarekziade's picture
tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
fb35353 verified
Raw History Blame Contribute Delete
6.54 kB
Invalid JSON:Unexpected token 'I', ..."ll_ones": Infinity, "... is not valid JSON
{
"fixture": "huggingface-mic/grounding-dino-tiny-mic",
"key": "32641c93e0d5feac8a8725be8b710adc617b339ee36d1b86dec1ee01566e6c5a",
"key_fields": {
"architectures": [
"GroundingDinoForObjectDetection"
],
"output_hidden_states": false,
"return_dict": true,
"chunk_size_feed_forward": 0,
"is_encoder_decoder": true,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"backbone_config": {
"architectures": null,
"output_hidden_states": false,
"return_dict": true,
"dtype": null,
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"image_size": 224,
"patch_size": 4,
"num_channels": 3,
"embed_dim": 64,
"depths": [
1,
1,
1,
1
],
"num_heads": [
2,
4,
8,
16
],
"window_size": 7,
"mlp_ratio": 4.0,
"qkv_bias": true,
"hidden_dropout_prob": 0.0,
"attention_probs_dropout_prob": 0.0,
"drop_path_rate": 0.1,
"hidden_act": "gelu",
"use_absolute_embeddings": false,
"initializer_range": 0.02,
"layer_norm_eps": 1e-05,
"encoder_stride": 32,
"num_layers": 2,
"hidden_size": 64,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4"
],
"_name_or_path": "",
"model_type": "swin",
"output_attentions": false,
"out_features": [
"stage2",
"stage3",
"stage4"
],
"out_indices": [
2,
3,
4
]
},
"text_config": {
"architectures": null,
"output_hidden_states": false,
"return_dict": true,
"dtype": null,
"chunk_size_feed_forward": 0,
"is_encoder_decoder": false,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"problem_type": null,
"vocab_size": 30522,
"hidden_size": 64,
"num_hidden_layers": 2,
"num_attention_heads": 4,
"intermediate_size": 128,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"attention_probs_dropout_prob": 0.1,
"max_position_embeddings": 512,
"type_vocab_size": 2,
"initializer_range": 0.02,
"layer_norm_eps": 1e-12,
"pad_token_id": 0,
"use_cache": true,
"classifier_dropout": null,
"is_decoder": false,
"add_cross_attention": false,
"bos_token_id": null,
"eos_token_id": null,
"tie_word_embeddings": true,
"_name_or_path": "",
"model_type": "bert",
"output_attentions": false
},
"num_queries": 900,
"encoder_layers": 2,
"encoder_ffn_dim": 128,
"encoder_attention_heads": 4,
"decoder_layers": 2,
"decoder_ffn_dim": 128,
"decoder_attention_heads": 4,
"activation_function": "relu",
"d_model": 64,
"dropout": 0.1,
"attention_dropout": 0.0,
"activation_dropout": 0.0,
"auxiliary_loss": false,
"position_embedding_type": "sine",
"num_feature_levels": 4,
"encoder_n_points": 4,
"decoder_n_points": 4,
"two_stage": true,
"class_cost": 1.0,
"bbox_cost": 5.0,
"giou_cost": 2.0,
"bbox_loss_coefficient": 5.0,
"giou_loss_coefficient": 2.0,
"focal_alpha": 0.25,
"disable_custom_kernels": false,
"max_text_len": 256,
"text_enhancer_dropout": 0.0,
"fusion_droppath": 0.1,
"fusion_dropout": 0.0,
"embedding_init_target": true,
"query_dim": 4,
"decoder_bbox_embed_share": true,
"two_stage_bbox_embed_share": false,
"positional_embedding_temperature": 20,
"init_std": 0.02,
"layer_norm_eps": 1e-05,
"tie_word_embeddings": true,
"backbone": null,
"model_type": "grounding-dino",
"output_attentions": false
},
"covers": {
"IDEA-Research/grounding-dino-tiny": "a2bb814dd30d776dcf7e30523b00659f4f141c71"
},
"built_from": {
"repo": "IDEA-Research/grounding-dino-tiny",
"revision": "a2bb814dd30d776dcf7e30523b00659f4f141c71"
},
"seed": 17,
"dtype": "float32",
"builder": "example/build_fixtures.py",
"model_class": "GroundingDinoForObjectDetection",
"parameters": 7714390,
"missing_parameters": [],
"checkpoint_inspection": "parameter headers/indexes; bounded binary fallback",
"numeric_health_scope": "CPU float32/bfloat16/float16; autocast for low-precision losses",
"captured": {
"call": "training step",
"inputs": [
"attention_mask",
"input_ids",
"labels",
"pixel_mask",
"pixel_values",
"token_type_ids"
],
"class": "GroundingDinoForObjectDetection"
},
"weights": "random",
"gate": {
"random": {
"pass": true,
"accepted_insensitive": {},
"threshold": 0.001,
"deltas": {
"input_ids:roll_batch": 32.26580810546875,
"input_ids:reverse": 34.78125762939453,
"token_type_ids:all_ones": 23.121896743774414,
"attention_mask:all_ones": Infinity,
"pixel_values:roll_batch": 18.798337936401367,
"pixel_values:swap_channels": 20.410287857055664,
"pixel_values:reverse": 19.802776336669922,
"pixel_values:halve": 16.438833236694336
},
"weakest": "pixel_values:halve",
"no_perturbation_defined": [
"pixel_mask"
]
}
},
"numeric_health": {
"float32": {
"outputs_finite": true,
"loss_finite": true,
"gradients_finite": true,
"finite": true
},
"bfloat16": {
"outputs_finite": true,
"loss_finite": true,
"gradients_finite": true,
"finite": true
},
"float16": {
"outputs_finite": true,
"loss_finite": true,
"unscaled_gradients_finite": false,
"finite": true
}
},
"copied_unchanged": [
"added_tokens.json",
"preprocessor_config.json",
"special_tokens_map.json",
"tokenizer.json",
"tokenizer_config.json",
"vocab.txt"
],
"environment": {
"python": "3.11.14",
"machine": "arm64",
"torch": "2.14.1",
"transformers": "5.20.1",
"tokenizers": "0.23.3"
},
"sha256": {
"added_tokens.json": "909e96cb32d92ce728a01bc99850cbba26196d74115c17ebeb019275412588f2",
"config.json": "df3efb7ce17851c59fc75b4e2b47f46c62ceaebc42d196bedeb1b8854527052c",
"model.safetensors": "fb032709d5b0c9747aa9ba8462d5adab40f26452d99d119c36ea5ad9260bcd3a",
"preprocessor_config.json": "8454179ba95e2ad22947835aad7b45862a601fc0055ab88bf1ee70892d3aea60",
"special_tokens_map.json": "b6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3",
"tokenizer.json": "d241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66",
"tokenizer_config.json": "d40ab645b68211910b9170d22433d43186a6ec8ee6fd10ba170524b25bf4fb56",
"vocab.txt": "07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3"
}
}