| { |
| "_name_or_path": "Boreas-7B", |
| "architectures": [ |
| "MistralForCausalLM" |
| ], |
| "attention_bias": false, |
| "attention_dropout": 0.0, |
| "attention_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| "sp", |
| "tp", |
| null |
| ], |
| "attn_mechanism": "normal", |
| "axis_dims": [ |
| 1, |
| -1, |
| 1, |
| 1 |
| ], |
| "axis_names": [ |
| "dp", |
| "fsdp", |
| "tp", |
| "sp" |
| ], |
| "backend": null, |
| "bias_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| null, |
| null, |
| null |
| ], |
| "bits": null, |
| "block_b": 1, |
| "block_k": 128, |
| "block_k_dkv": 128, |
| "block_k_dq": 128, |
| "block_k_major": 128, |
| "block_k_major_dkv": 128, |
| "block_k_major_dq": 128, |
| "block_q": 128, |
| "block_q_dkv": 128, |
| "block_q_dq": 128, |
| "block_q_major_dkv": 128, |
| "bos_token_id": 1, |
| "easy_method": "train", |
| "eos_token_id": 2, |
| "generation_attention_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| null, |
| "tp", |
| null |
| ], |
| "generation_bias_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| null, |
| null, |
| null |
| ], |
| "generation_query_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| "sp", |
| null, |
| null |
| ], |
| "hidden_act": "silu", |
| "hidden_size": 4096, |
| "initializer_range": 0.02, |
| "intermediate_size": 14336, |
| "key_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| "sp", |
| "tp", |
| null |
| ], |
| "max_position_embeddings": 32768, |
| "model_type": "mistral", |
| "num_attention_heads": 32, |
| "num_hidden_layers": 32, |
| "num_key_value_heads": 8, |
| "number_rep_kv": 1, |
| "quantization_config": { |
| "_load_in_4bit": false, |
| "_load_in_8bit": true, |
| "bnb_4bit_compute_dtype": "float32", |
| "bnb_4bit_quant_storage": "uint8", |
| "bnb_4bit_quant_type": "fp4", |
| "bnb_4bit_use_double_quant": false, |
| "llm_int8_enable_fp32_cpu_offload": false, |
| "llm_int8_has_fp16_weight": false, |
| "llm_int8_skip_modules": null, |
| "llm_int8_threshold": 6.0, |
| "load_in_4bit": false, |
| "load_in_8bit": true, |
| "quant_method": "bitsandbytes" |
| }, |
| "query_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| "sp", |
| "tp", |
| null |
| ], |
| "rms_norm_eps": 1e-05, |
| "rope_scaling": null, |
| "rope_theta": 10000.0, |
| "scan_attention_layers": false, |
| "scan_mlp_chunk_size": 1024, |
| "scan_ring_attention": false, |
| "shard_attention_computation": true, |
| "sliding_window": 4096, |
| "tie_word_embeddings": false, |
| "torch_dtype": "float16", |
| "transformers_version": "4.39.3", |
| "use_cache": true, |
| "use_scan_mlp": false, |
| "use_sharded_kv_caching": true, |
| "use_sharding_constraint": false, |
| "value_partition_spec": [ |
| [ |
| "dp", |
| "fsdp" |
| ], |
| "sp", |
| "tp", |
| null |
| ], |
| "vocab_size": 32000 |
| } |
|
|