hf-transformers-bot's picture
Publish MIC usage, slim fixture and reviewed Transformers expectations
73b73cb verified
Raw History Blame Contribute Delete
4.61 kB
{
"fixture": "huggingface-mic-temp/tiny_starcoder_py-vllm-mic",
"key": "060822cf2757abb77ba74805ef4673661f4a087c55598ab9d180b19afda98ead",
"key_fields": {
"architectures": [
"GPTBigCodeForCausalLM"
],
"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": 49152,
"n_positions": 8192,
"n_embd": 64,
"n_layer": 2,
"n_head": 2,
"n_inner": 128,
"activation_function": "gelu_pytorch_tanh",
"resid_pdrop": 0.1,
"embd_pdrop": 0.1,
"attn_pdrop": 0.1,
"layer_norm_epsilon": 1e-05,
"initializer_range": 0.02,
"scale_attn_weights": true,
"use_cache": true,
"bos_token_id": 0,
"eos_token_id": 0,
"pad_token_id": null,
"attention_softmax_in_fp32": true,
"scale_attention_softmax_in_fp32": true,
"multi_query": true,
"add_cross_attention": false,
"tie_word_embeddings": true,
"num_key_value_heads": 1,
"inference_runner": 0,
"max_batch_size": null,
"max_sequence_length": null,
"model_type": "gpt_bigcode",
"pad_key_length": true,
"pre_allocate_kv_cache": false,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"validate_runner_input": true,
"output_attentions": false
},
"covers": {
"bigcode/tiny_starcoder_py": "8547527bef0bc927268c1653cce6948c5c242dd1"
},
"built_from": {
"repo": "bigcode/tiny_starcoder_py",
"revision": "8547527bef0bc927268c1653cce6948c5c242dd1"
},
"seed": 17,
"dtype": "float32",
"builder": "example/build_fixtures.py",
"builder_revision": null,
"recipe": {
"seed": 17,
"model_class": "GPTBigCodeForCausalLM",
"config_overrides": {
"fields": {
"n_head": 2,
"num_key_value_heads": 1
},
"reason": "vLLM's Transformers backend on CPU supports head widths [32, 48, 64, 80]...; the shrink rule gives 16. 4 heads of 16 -> 2 of 32 keeps the q/o projection shapes; the k/v projections grow (weights sized by the head width, e.g. q/k norms, grow). (serving profile vllm-cpu v1)"
}
},
"shrink": "rule",
"model_class": "GPTBigCodeForCausalLM",
"parameters": 3728768,
"missing_parameters": [],
"serialization": {
"file": "model.safetensors",
"source_file": "model.safetensors",
"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": [
"attention_mask",
"input_ids",
"labels"
],
"class": "GPTBigCodeForCausalLM"
},
"weights": "random",
"gate": {
"random": {
"pass": true,
"accepted_insensitive": {},
"threshold": 0.001,
"deltas": {
"input_ids:roll_batch": 1.2897167205810547,
"input_ids:reverse": 1.189239740371704,
"attention_mask:all_ones": 0.5487403869628906
},
"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": [
"generation_config.json",
"merges.txt",
"special_tokens_map.json",
"tokenizer.json",
"tokenizer_config.json",
"vocab.json"
],
"environment": {
"python": "3.11.18",
"machine": "x86_64",
"torch": "2.14.0+cpu",
"transformers": "5.25.0.dev0",
"tokenizers": "0.23.3"
},
"sha256": {
"config.json": "d9a863247cb803c3b8506f5268803c7aeb91c261a60193dd2ebe7c5b9e229c06",
"generation_config.json": "368f15f9c335d48e1a585440037c77022af6b867303dc8fe9ee01e8fc86c1617",
"merges.txt": "74b0a4bc1a97ebc1d227f69231b18574374ba052fb945b0fa0aa91d3c32504a2",
"model.safetensors": "726a98689c2ba58d67f6a0c2faeb22547ff5aa5a1c0220fdab2893009c281915",
"special_tokens_map.json": "0823292e24ea07b89317e9ede9d08da2a1b6c014290c06908a7ad04f1efd6719",
"tokenizer.json": "42b5a37ba11199f024f2b8873e1ecba98da33166e16f700bf7cb2304b0a5583f",
"tokenizer_config.json": "95684c52ad9a970dbbb17576ee2237cb62902c1eff6804c7c91a4d6219a4a6d7",
"vocab.json": "20175afb9f164fad4829aca2279f8df7eeff1e2e3f671378aaa287a740aff09f"
}
}