{ "fixture": "huggingface-mic/HunyuanOCR-mic", "key": "fadf52ac60af535522738f9055f4d213cdefef8c2e2bf4bcf67a157313baa73e", "key_fields": { "architectures": [ "HunYuanVLForConditionalGeneration" ], "output_hidden_states": false, "return_dict": true, "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, "text_config": { "architectures": [ "HunYuanVLForConditionalGeneration" ], "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": 120818, "hidden_size": 64, "intermediate_size": 128, "num_hidden_layers": 2, "num_attention_heads": 4, "num_key_value_heads": 2, "hidden_act": "silu", "max_position_embeddings": 131072, "initializer_range": 0.02, "rms_norm_eps": 1e-05, "use_cache": true, "pad_token_id": 120002, "bos_token_id": 120000, "eos_token_id": 120020, "eod_token_id": 120020, "pretraining_tp": 1, "tie_word_embeddings": true, "rope_parameters": { "alpha": 1000.0, "beta_fast": 32, "beta_slow": 1, "factor": 1.0, "mscale": 1.0, "mscale_all_dim": 1.0, "rope_theta": 10000.0, "rope_type": "dynamic", "type": "dynamic", "mrope_section": [ 2, 2, 2, 2 ] }, "attention_bias": false, "attention_dropout": 0.0, "head_dim": 16, "sep_token_id": 0, "_name_or_path": "", "model_type": "hunyuan_vl_text", "use_qk_norm": true, "output_attentions": false }, "vision_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, "hidden_act": "gelu", "hidden_size": 64, "intermediate_size": 128, "interpolate_mode": "bilinear", "rms_norm_eps": 1e-05, "attention_dropout": 0.0, "num_attention_heads": 4, "num_key_value_heads": 4, "num_channels": 3, "num_hidden_layers": 2, "out_hidden_size": 64, "patch_size": 16, "spatial_merge_size": 2, "temporal_patch_size": 1, "img_max_token_num": 16384, "max_image_size": 2048, "min_image_size": 512, "max_vit_seq_len": 65536, "text_hidden_size": 64, "_name_or_path": "", "model_type": "hunyuan_vl_vision", "output_attentions": false }, "image_token_id": 120120, "tie_word_embeddings": true, "im_start_id": 120118, "im_end_id": 120119, "im_newline_id": 120121, "model_type": "hunyuan_vl", "use_qk_norm": true, "image_start_token_id": 120118, "image_end_token_id": 120119, "image_newline_token_id": 120121, "video_start_token_id": 120122, "video_end_token_id": 120123, "video_start_id": 120122, "video_end_id": 120123, "output_attentions": false, "dtype": "bfloat16" }, "covers": { "tencent/HunyuanOCR": "47644ecc4fc854efa4f505155158831f36773ee4" }, "built_from": { "repo": "tencent/HunyuanOCR", "revision": "47644ecc4fc854efa4f505155158831f36773ee4" }, "seed": 17, "dtype": "bfloat16", "builder": "example/build_fixtures.py", "builder_revision": "d6c4e1368e76b3cb3fbd52f1d7813a1c321195c5", "recipe": { "seed": 17, "model_class": "HunYuanVLForConditionalGeneration" }, "shrink": "rule", "model_class": "HunYuanVLForConditionalGeneration", "parameters": 9054208, "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", "image_grid_thw", "input_ids", "labels", "mm_token_type_ids", "pixel_values" ], "class": "HunYuanVLForConditionalGeneration" }, "weights": "random", "gate": { "random": { "pass": true, "accepted_insensitive": {}, "threshold": 0.001, "deltas": { "input_ids:roll_batch": null, "input_ids:reverse": 1.48046875, "attention_mask:all_ones": null, "pixel_values:roll_batch": 1.0078125, "pixel_values:swap_channels": 0.29296875, "pixel_values:reverse": 0.29296875, "pixel_values:halve": 0.033203125 }, "weakest": "pixel_values:halve", "no_perturbation_defined": [ "mm_token_type_ids", "image_grid_thw" ], "not_a_forward_parameter": [] } }, "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": true, "finite": true } }, "copied_unchanged": [ "LICENSE", "chat_template.jinja", "generation_config.json", "preprocessor_config.json", "special_tokens_map.json", "tokenizer.json", "tokenizer_config.json", "video_preprocessor_config.json" ], "environment": { "python": "3.12.12", "machine": "arm64", "torch": "2.14.1", "transformers": "5.22.0.dev0", "tokenizers": "0.23.3" }, "sha256": { "LICENSE": "745adaa59575d2a98b64fd6d3452537b477a6b6edc126f742fc055313cc3d3e0", "chat_template.jinja": "be3371395b9e67a8f981d86543eb5a93d132a1dc3f54058a2d75b4ed1efc73fe", "config.json": "0de9b18305fa93cd48586efd00bf23e4a772b6e85349e7c3d5d4f2d868a1822b", "generation_config.json": "e9f4d443b97de6cb40767d12b5fc045a5ca3fb6d2f911124fce307bfbe1ad585", "model.safetensors": "0c344abfd760b9d429c65c9a2dde3b3255d61143b10a67e8e0fc8f8530917233", "preprocessor_config.json": "e17baf5f25f542380a3a8231fefa08f359d86db1ac088feb12ecb8b06ddb01c3", "special_tokens_map.json": "71442c8c43669f4cedd669f1700f89a741773c49aef55783fbd533f72f050c92", "tokenizer.json": "3e2ab46bcc5ed8bce013b245c6daecf19fa1d2a18f48a9c88a1f571dcbf7dfd3", "tokenizer_config.json": "804e8a7fb5a129afb19f6ad88c51c5d3c1aa643b6abb9536d10bcdcf633b4d74", "video_preprocessor_config.json": "f0b9fba99cdc7d556adb3a9023f961534d46c1b7c84b31c6684d8562cd866b79" } }