Q-50M-Base / config.json
LakoMoor's picture
Release Q-50M-Base
a92b335 verified
Raw
History Blame Contribute Delete
973 Bytes
{
"architectures": [
"QForCausalLM"
],
"attention_dropout": 0.0,
"attention_scalar_gate": true,
"bos_token_id": 1,
"dtype": "float32",
"eos_token_id": 2,
"gate_multiplier": 2.0,
"head_dim": 64,
"hidden_act": "silu",
"hidden_size": 512,
"initializer_range": 0.02,
"intermediate_size": 1792,
"max_position_embeddings": 2048,
"mlp_scalar_gate": true,
"model_type": "q",
"nope_every_n": null,
"nope_layers": [],
"num_attention_heads": 8,
"num_hidden_layers": 10,
"num_key_value_heads": 2,
"pad_token_id": 0,
"qk_norm": true,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "default"
},
"sliding_window": 4096,
"tie_word_embeddings": true,
"transformers_version": "5.5.0",
"use_cache": true,
"vocab_size": 32768,
"auto_map": {
"AutoConfig": "configuration_q.QConfig",
"AutoModel": "modeling_q.QModel",
"AutoModelForCausalLM": "modeling_q.QForCausalLM"
}
}