DeciLM-7B-instruct / config.json
tomer-deci's picture
added support for text-generation pipeline
49422ae
raw
history blame contribute delete
894 Bytes
{
"architectures": [
"DeciLMForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_decilm.DeciLMConfig",
"AutoModelForCausalLM": "modeling_decilm.DeciLMForCausalLM"
},
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 14336,
"max_position_embeddings": 8192,
"model_type": "deci",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads_per_layer": [4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4],
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": {"type": "dynamic", "factor": 2.0},
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"use_bfloat16": true,
"transformers_version": "4.35.2",
"use_cache": true,
"vocab_size": 32000,
"tokenizer_class": "LlamaTokenizer"
}