llama-160m / config.json
Cheng98's picture
Upload folder using huggingface_hub
5a0fbe7
raw
history blame
10.9 kB
{
"_name_or_path": "JackFram/llama-160m",
"architectures": [
"LlamaForCausalLM"
],
"bos_token_id": 0,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"max_position_embeddings": 2048,
"model_type": "llama",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"quant_config": {
"default": {
"bypass": true,
"name": "integer"
},
"model_layer_0": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_1": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_10": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_11": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_2": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_3": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_4": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_5": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_6": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_7": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_8": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
},
"model_layer_9": {
"mlp": {
"down_proj": {
"bypass": true,
"name": "integer"
},
"gate_proj": {
"bypass": true,
"name": "integer"
},
"up_proj": {
"bypass": true,
"name": "integer"
}
},
"self_attn": {
"k_proj": {
"bypass": true,
"name": "integer"
},
"matmul_0": {
"bypass": true,
"name": "integer"
},
"matmul_1": {
"bypass": true,
"name": "integer"
},
"o_proj": {
"bypass": true,
"name": "integer"
},
"q_proj": {
"bypass": true,
"name": "integer"
},
"v_proj": {
"bypass": true,
"name": "integer"
}
}
}
},
"rms_norm_eps": 1e-06,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.30.0",
"use_cache": true,
"vocab_size": 32000
}