tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
40ea84c verified Download build.json from huggingface-mic/blip-image-captioning-base-mic: direct link, hf CLI and curl.
- Browser
- Download file 6.36 kB
-
https://huggingface.co/huggingface-mic/blip-image-captioning-base-mic/resolve/main/build.json
- Command line
-
hf download hf://huggingface-mic/blip-image-captioning-base-mic/build.json
-
curl -L -o build.json https://huggingface.co/huggingface-mic/blip-image-captioning-base-mic/resolve/main/build.json
6.36 kB
| { | |
| "fixture": "huggingface-mic/blip-image-captioning-base-mic", | |
| "key": "10d8af92dfb0d186fd6b0e96e0edaabffa08b7e195d0f6b9a1c7714902c83042", | |
| "key_fields": { | |
| "architectures": [ | |
| "BlipForConditionalGeneration" | |
| ], | |
| "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": null, | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "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": 30524, | |
| "hidden_size": 64, | |
| "encoder_hidden_size": 64, | |
| "intermediate_size": 128, | |
| "projection_dim": 32, | |
| "num_hidden_layers": 2, | |
| "num_attention_heads": 4, | |
| "max_position_embeddings": 512, | |
| "hidden_act": "gelu", | |
| "layer_norm_eps": 1e-12, | |
| "hidden_dropout_prob": 0.0, | |
| "attention_probs_dropout_prob": 0.0, | |
| "initializer_range": 0.02, | |
| "bos_token_id": 30522, | |
| "eos_token_id": 2, | |
| "pad_token_id": 0, | |
| "sep_token_id": 102, | |
| "is_decoder": true, | |
| "use_cache": true, | |
| "tie_word_embeddings": true, | |
| "label_smoothing": 0.0, | |
| "_name_or_path": "", | |
| "add_cross_attention": false, | |
| "cross_attention_hidden_size": null, | |
| "decoder_start_token_id": null, | |
| "finetuning_task": null, | |
| "initializer_factor": 1.0, | |
| "model_type": "blip_text_model", | |
| "prefix": null, | |
| "pruned_heads": {}, | |
| "task_specific_params": null, | |
| "tf_legacy_loss": false, | |
| "tie_encoder_decoder": false, | |
| "tokenizer_class": null, | |
| "torchscript": false, | |
| "use_bfloat16": false, | |
| "output_attentions": false | |
| }, | |
| "vision_config": { | |
| "architectures": null, | |
| "output_hidden_states": false, | |
| "return_dict": true, | |
| "dtype": "float32", | |
| "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_size": 64, | |
| "intermediate_size": 128, | |
| "projection_dim": 32, | |
| "num_hidden_layers": 2, | |
| "num_attention_heads": 4, | |
| "image_size": 384, | |
| "patch_size": 16, | |
| "hidden_act": "gelu", | |
| "layer_norm_eps": 1e-05, | |
| "attention_dropout": 0.0, | |
| "initializer_range": 0.02, | |
| "_name_or_path": "", | |
| "add_cross_attention": false, | |
| "bos_token_id": null, | |
| "cross_attention_hidden_size": null, | |
| "decoder_start_token_id": null, | |
| "dropout": 0.0, | |
| "eos_token_id": null, | |
| "finetuning_task": null, | |
| "initializer_factor": 1.0, | |
| "is_decoder": false, | |
| "model_type": "blip_vision_model", | |
| "num_channels": 3, | |
| "pad_token_id": null, | |
| "prefix": null, | |
| "pruned_heads": {}, | |
| "sep_token_id": null, | |
| "task_specific_params": null, | |
| "tf_legacy_loss": false, | |
| "tie_encoder_decoder": false, | |
| "tie_word_embeddings": true, | |
| "tokenizer_class": null, | |
| "torchscript": false, | |
| "use_bfloat16": false, | |
| "output_attentions": false | |
| }, | |
| "projection_dim": 32, | |
| "logit_scale_init_value": 2.6592, | |
| "image_text_hidden_size": 256, | |
| "label_smoothing": 0.0, | |
| "tie_word_embeddings": true, | |
| "initializer_factor": 1.0, | |
| "initializer_range": 0.02, | |
| "model_type": "blip", | |
| "output_attentions": false | |
| }, | |
| "covers": { | |
| "Salesforce/blip-image-captioning-base": "82a37760796d32b1411fe092ab5d4e227313294b" | |
| }, | |
| "built_from": { | |
| "repo": "Salesforce/blip-image-captioning-base", | |
| "revision": "82a37760796d32b1411fe092ab5d4e227313294b" | |
| }, | |
| "seed": 17, | |
| "dtype": "float32", | |
| "builder": "example/build_fixtures.py", | |
| "builder_revision": "7e6f9a81c98ae908f1f4531a1fc153ecc5ceac45", | |
| "recipe": { | |
| "seed": 17 | |
| }, | |
| "shrink": "rule", | |
| "model_class": "BlipForConditionalGeneration", | |
| "parameters": 2275004, | |
| "missing_parameters": [], | |
| "serialization": { | |
| "file": "model.safetensors", | |
| "source_file": "pytorch_model.bin", | |
| "reverted_conversions": [] | |
| }, | |
| "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": [ | |
| "input_ids", | |
| "labels", | |
| "pixel_values" | |
| ], | |
| "class": "BlipForConditionalGeneration" | |
| }, | |
| "weights": "random", | |
| "gate": { | |
| "random": { | |
| "pass": true, | |
| "accepted_insensitive": {}, | |
| "threshold": 0.001, | |
| "deltas": { | |
| "pixel_values:roll_batch": 0.055637262761592865, | |
| "pixel_values:swap_channels": 0.06344413757324219, | |
| "pixel_values:reverse": null, | |
| "pixel_values:halve": 0.001681983470916748, | |
| "input_ids:roll_batch": 0.6617224216461182, | |
| "input_ids:reverse": 0.7053577303886414 | |
| }, | |
| "weakest": "pixel_values:halve", | |
| "no_perturbation_defined": [], | |
| "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": [ | |
| "preprocessor_config.json", | |
| "special_tokens_map.json", | |
| "tokenizer.json", | |
| "tokenizer_config.json", | |
| "vocab.txt" | |
| ], | |
| "environment": { | |
| "python": "3.11.17", | |
| "machine": "x86_64", | |
| "torch": "2.15.0+cpu", | |
| "transformers": "5.23.0.dev0", | |
| "tokenizers": "0.23.3" | |
| }, | |
| "sha256": { | |
| "config.json": "6a604aa886ee8b306b37ca8abe8c349eeaebc9a639e906210357e05c11974ac3", | |
| "generation_config.json": "b2308d1a0f6ffe4c724a5d371d6aa8f8c6bb35d7622a27e4de9d656a2a7d0862", | |
| "model.safetensors": "38ec1a3a0a653cbcfece22dc0bfe22114de1ad17c37e94a83b413b7825815d3a", | |
| "preprocessor_config.json": "065c10ec97edc5081fbd9655b3d9d25e2647ea6d5dab873325e88eed12d80a7d", | |
| "special_tokens_map.json": "b6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3", | |
| "tokenizer.json": "d241a60d5e8f04cc1b2b3e9ef7a4921b27bf526d9f6050ab90f9267a1f9e5c66", | |
| "tokenizer_config.json": "5c7f96096284c55e539eff95f4451c19efc34258ddb975a4400d052b77301e5e", | |
| "vocab.txt": "07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3" | |
| } | |
| } | |