dbrx-instruct-bnb-4bit / config.json
sharpenb's picture
Upload folder using huggingface_hub (#1)
1e450c7 verified
{
"_name_or_path": "SinclairSchneider/dbrx-instruct-quantization-fixed",
"architectures": [
"DbrxForCausalLM"
],
"attn_config": {
"clip_qkv": 8,
"kv_n_heads": 8,
"model_type": "",
"rope_theta": 500000
},
"auto_map": {
"AutoConfig": "SinclairSchneider/dbrx-instruct-quantization-fixed--configuration_dbrx.DbrxConfig",
"AutoModelForCausalLM": "SinclairSchneider/dbrx-instruct-quantization-fixed--modeling_dbrx.DbrxForCausalLM"
},
"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,
"output_router_logits": false,
"quantization_config": {
"_load_in_4bit": true,
"_load_in_8bit": false,
"bnb_4bit_compute_dtype": "bfloat16",
"bnb_4bit_quant_storage": "uint8",
"bnb_4bit_quant_type": "fp4",
"bnb_4bit_use_double_quant": true,
"llm_int8_enable_fp32_cpu_offload": false,
"llm_int8_has_fp16_weight": false,
"llm_int8_skip_modules": [
"lm_head"
],
"llm_int8_threshold": 6.0,
"load_in_4bit": true,
"load_in_8bit": false,
"quant_method": "bitsandbytes"
},
"resid_pdrop": 0.0,
"router_aux_loss_coef": 0.05,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.39.2",
"use_cache": true,
"vocab_size": 100352
}