CoolFace
Modelpublic

ChavyvAkvar/lfm2-openformer-test

sourceHugging Faceotherupdated 11mo agoView on Hugging Face
0likes8downloads
config.json47 linesDownload Raw Back to root
1{2  "architectures": [3    "Lfm2ForCausalLM"4  ],5  "block_auto_adjust_ff_dim": true,6  "block_dim": 1024,7  "block_ff_dim": 6656,8  "block_ffn_dim_multiplier": 1.0,9  "block_mlp_init_scale": 1.0,10  "block_multiple_of": 256,11  "block_norm_eps": 1e-05,12  "block_out_init_scale": 1.0,13  "block_use_swiglu": true,14  "block_use_xavier_init": true,15  "bos_token_id": 1,16  "conv_L_cache": 3,17  "conv_bias": false,18  "conv_dim": 1024,19  "conv_dim_out": 1024,20  "conv_use_xavier_init": true,21  "eos_token_id": 7,22  "full_attn_idxs": [23    2,24    5,25    8,26    10,27    12,28    1429  ],30  "hidden_size": 1024,31  "initializer_range": 0.02,32  "max_position_embeddings": 128000,33  "model_type": "lfm2",34  "norm_eps": 1e-05,35  "num_attention_heads": 16,36  "num_heads": 16,37  "num_hidden_layers": 16,38  "num_key_value_heads": 8,39  "pad_token_id": 0,40  "rope_theta": 1000000.0,41  "torch_dtype": "bfloat16",42  "transformers_version": "4.54.0.dev0",43  "use_cache": true,44  "use_pos_enc": true,45  "vocab_size": 6553646}47