dbrx-instruct-FP8-KV / config.json
kewang2's picture
dbrx-instruct fp8 quantization (#1)
2873950 verified
raw
history blame
1.01 kB
{
"_name_or_path": "/group/amdneuralopt/huggingface/pretrained_models/databricks/dbrx-instruct",
"architectures": [
"DbrxForCausalLM"
],
"attn_config": {
"clip_qkv": 8,
"kv_n_heads": 8,
"model_type": "",
"rope_theta": 500000
},
"d_model": 6144,
"emb_pdrop": 0.0,
"ffn_config": {
"ffn_hidden_size": 10752,
"model_type": "",
"moe_jitter_eps": 0,
"moe_loss_weight": 0.05,
"moe_num_experts": 16,
"moe_top_k": 4
},
"initializer_range": 0.02,
"max_seq_len": 32768,
"model_type": "dbrx",
"n_heads": 48,
"n_layers": 40,
"num_key_value_heads": 8,
"output_router_logits": false,
"quantization_config": {
"activation_scheme": "static",
"ignored_layers": [
"lm_head",
"*router.layer"
],
"kv_cache_scheme": "static",
"quant_method": "fp8"
},
"resid_pdrop": 0.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.45.0",
"use_cache": true,
"vocab_size": 100352
}