vxbrandon's picture
Upload config
0aa0abe verified
{
"_name_or_path": "thrunlab/Mistral_Sparse_refined_web_relu_2024-03-01",
"architectures": [
"SparseMistralforCausalLM"
],
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "thrunlab/Mistral_Sparse_refined_web_relu_2024-03-01--sparsification_sftt.SparseMistralConfig",
"AutoModelForCausalLM": "thrunlab/Mistral_Sparse_refined_web_relu_2024-03-01--sparsification_sftt.SparseMistralforCausalLM"
},
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 14336,
"max_position_embeddings": 32768,
"model_type": "sparse_mistral",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"rms_norm_eps": 1e-05,
"rope_theta": 10000.0,
"sliding_window": 4096,
"thresholds": [
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.36.2",
"use_cache": false,
"use_relu": true,
"use_sparse_model": true,
"use_sparse_predictor": false,
"use_sparse_regularization": false,
"vocab_size": 32000
}