tarekziade's picture
tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
f3f3785 verified
Raw History Blame Contribute Delete
4.09 kB
{
"fixture": "huggingface-mic/granite-3.0-1b-a400m-instruct-mic",
"key": "95559b44c59e2d83dc5d345a411c67e74e797a821caf46064830059d8b9ac56d",
"key_fields": {
"architectures": [
"GraniteMoeForCausalLM"
],
"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,
"vocab_size": 49155,
"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": 4096,
"initializer_range": 0.02,
"rms_norm_eps": 1e-06,
"use_cache": true,
"pad_token_id": 0,
"bos_token_id": 0,
"eos_token_id": 0,
"tie_word_embeddings": true,
"rope_parameters": {
"rope_theta": 10000,
"rope_type": "default"
},
"attention_bias": false,
"attention_dropout": 0.0,
"embedding_multiplier": 12.0,
"logits_scaling": 6.0,
"residual_multiplier": 0.22,
"attention_multiplier": 0.015625,
"num_local_experts": 4,
"num_experts_per_tok": 2,
"output_router_logits": false,
"router_aux_loss_coef": 0.0,
"model_type": "granitemoe",
"output_attentions": false,
"dtype": "bfloat16"
},
"covers": {
"ibm-granite/granite-3.0-1b-a400m-instruct": "ffec3c35bdfd97a06f0b4cd5fcc92cd9b1584445"
},
"built_from": {
"repo": "ibm-granite/granite-3.0-1b-a400m-instruct",
"revision": "ffec3c35bdfd97a06f0b4cd5fcc92cd9b1584445"
},
"seed": 17,
"dtype": "bfloat16",
"builder": "example/build_fixtures.py",
"builder_revision": "ed107e55ab1c53dc35febfa2a8ed87a0a5a42a3c",
"recipe": {
"seed": 17
},
"shrink": "rule",
"model_class": "GraniteMoeForCausalLM",
"parameters": 3367936,
"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"
],
"class": "GraniteMoeForCausalLM"
},
"weights": "random",
"gate": {
"random": {
"pass": true,
"accepted_insensitive": {},
"threshold": 0.001,
"deltas": {
"input_ids:roll_batch": 0.2742919921875,
"input_ids:reverse": 0.32177734375,
"attention_mask:all_ones": 0.021728515625
},
"weakest": "attention_mask:all_ones",
"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": [
"added_tokens.json",
"generation_config.json",
"merges.txt",
"special_tokens_map.json",
"tokenizer.json",
"tokenizer_config.json",
"vocab.json"
],
"environment": {
"python": "3.12.12",
"machine": "arm64",
"torch": "2.14.1",
"transformers": "5.22.0.dev0",
"tokenizers": "0.23.3"
},
"sha256": {
"added_tokens.json": "081bdeaf76fc5463cc2e20fbadf17ad9eb569bb5343b120cc64b98840754f96c",
"config.json": "1e78037ab930c7a7e6ebf4cce18138a2e4b7163f1d0f33af4705cb7474c3b6ee",
"generation_config.json": "cb482de67fcafdef681b085a24ce8004d906f8990c849be2c75b3c4a5a4f7804",
"merges.txt": "303127a244b0078878156c17229f36d11b7a3a3f8e47b7cfdbb304ff46be5030",
"model.safetensors": "5f02025e9b4e02212b5617642e61af0f4d2bdb6f45463968df80d1a5168d6319",
"special_tokens_map.json": "596d752bf46f5cace1f6826b52ed7d913347a4eea0ecce8ab2f869471ca40369",
"tokenizer.json": "ed944c0b3d71e2d651a5ba0f8e7b350faff30031c8e3353de70b12b9c1bf5654",
"tokenizer_config.json": "9aab47148a9468bacde5b86b69af3cc2e0d7e1fe55c23c0d07d3179f37e2b69b",
"vocab.json": "80ab859339a2525fdfbda14bc39df02dffb824aefdaf86426217bbb146d17e01"
}
}