{ "version": "0.1.0", "model_type": "lfm2_moe", "quantization": "q4f16_1", "model_config": { "hidden_size": 2048, "intermediate_size": 7168, "moe_intermediate_size": 1792, "num_attention_heads": 32, "num_hidden_layers": 24, "num_key_value_heads": 8, "norm_eps": 1e-05, "vocab_size": 128000, "rope_theta": 1000000.0, "head_dim": 64, "tie_word_embeddings": true, "conv_L_cache": 3, "conv_bias": false, "num_experts": 32, "num_experts_per_tok": 4, "num_dense_layers": 2, "use_expert_bias": true, "norm_topk_prob": true, "routed_scaling_factor": 1.0, "layer_types": [ "conv", "conv", "full_attention", "conv", "conv", "conv", "full_attention", "conv", "conv", "conv", "full_attention", "conv", "conv", "conv", "full_attention", "conv", "conv", "conv", "full_attention", "conv", "conv", "full_attention", "conv", "conv" ], "full_attn_idxs": null, "block_auto_adjust_ff_dim": false, "block_multiple_of": 256, "block_ffn_dim_multiplier": 1.0, "context_window_size": 4096, "prefill_chunk_size": 2048, "tensor_parallel_shards": 1, "dtype": "bfloat16", "max_batch_size": 128 }, "vocab_size": 128000, "context_window_size": 4096, "sliding_window_size": -1, "prefill_chunk_size": 2048, "attention_sink_size": -1, "tensor_parallel_shards": 1, "pipeline_parallel_stages": 1, "active_vocab_size": 125017, "temperature": 0.7, "presence_penalty": 0.3, "frequency_penalty": 0.5, "repetition_penalty": 1.0, "top_p": 0.95, "tokenizer_files": [ "tokenizer.json", "tokenizer_config.json" ], "tokenizer_info": { "token_postproc_method": "byte_level", "prepend_space_in_encode": false, "strip_space_in_decode": false }, "conv_template": { "name": "lfm2", "system_template": "<|im_start|>system\n{system_message}<|im_end|>\n", "system_message": "", "system_prefix_token_ids": [ 1 ], "add_role_after_system_message": true, "roles": { "user": "<|im_start|>user", "assistant": "<|im_start|>assistant" }, "role_templates": { "user": "{user_message}", "assistant": "{assistant_message}", "tool": "{tool_message}" }, "messages": [], "seps": [ "<|im_end|>\n" ], "role_content_sep": "\n", "role_empty_sep": "\n", "stop_str": [ "<|im_end|>" ], "stop_token_ids": [ 7 ], "strip_reasoning_in_history": false, "function_string": "", "use_function_calling": false }, "pad_token_id": 124893, "bos_token_id": 124894, "eos_token_id": 124900, "model_task": "chat", "embedding_metadata": null }