C2LLM-7B / config.json
Geralt-Targaryen's picture
Upload folder using huggingface_hub
e8e1a4c verified
{
"architectures": [
"C2LLMForEmbedding"
],
"attention_dropout": 0.0,
"attn_implementation": "flash_attention_2",
"auto_map": {
"AutoConfig": "configuration_c2llm.C2LLMConfig",
"AutoModel": "modeling_c2llm.C2LLMForEmbedding"
},
"compressed_dim": 3584,
"embedding_method": "pma",
"hidden_act": "silu",
"hidden_size": 3584,
"initializer_range": 0.02,
"intermediate_size": 18944,
"max_position_embeddings": 32768,
"max_window_layers": 28,
"model_type": "c2llm",
"num_attention_heads": 28,
"num_hidden_layers": 28,
"num_key_value_heads": 4,
"padding_side": "left",
"pma_ln": true,
"pma_norm": false,
"pma_norm_mode": "post_normal",
"pma_num_heads": 32,
"rms_norm_eps": 1e-06,
"rope_theta": 1000000.0,
"sliding_window": null,
"tie_word_embeddings": false,
"tokenizer_name_or_path": "codefuse-ai/C2LLM-7B",
"torch_dtype": "bfloat16",
"transformers_version": "4.51.3",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 152064
}