| { |
| "_name_or_path": "mistralai/Mistral-7B-v0.1", |
| "architectures": [ |
| "SparseMistralforCausalLM" |
| ], |
| "attention_dropout": 0.0, |
| "auto_map": { |
| "AutoConfig": "sparsification_sftt.SparseMistralConfig", |
| "AutoModelForCausalLM": "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.027081236243247986, |
| 0.037111327052116394, |
| 0.07923770695924759, |
| 0.07923770695924759, |
| 0.09327983111143112, |
| 0.10732196271419525, |
| 0.11133399605751038, |
| 0.11735205352306366, |
| 0.12136408686637878, |
| 0.12136408686637878, |
| 0.13340020179748535, |
| 0.13540621101856232, |
| 0.14543630182743073, |
| 0.14744232594966888, |
| 0.15546639263629913, |
| 0.1735205501317978, |
| 0.19558675587177277, |
| 0.21765294671058655, |
| 0.22968906164169312, |
| 0.24373118579387665, |
| 0.24774321913719177, |
| 0.2577733099460602, |
| 0.2577733099460602, |
| 0.26379138231277466, |
| 0.26379138231277466, |
| 0.26379138231277466, |
| 0.26379138231277466, |
| 0.26579737663269043, |
| 0.26579737663269043, |
| 0.26980942487716675, |
| 0.2838515639305115, |
| 0.5145436525344849 |
| ], |
| "tie_word_embeddings": false, |
| "torch_dtype": "bfloat16", |
| "transformers_version": "4.36.2", |
| "use_cache": false, |
| "use_relu": false, |
| "use_sparse_model": true, |
| "use_sparse_predictor": false, |
| "use_sparse_regularization": false, |
| "vocab_size": 32000 |
| } |
|
|