codellm_1b_rotary / config.json
kazemnejad's picture
Upload CustomDecoderOnlyT5
ac0b14a verified
raw
history blame
959 Bytes
{
"architectures": [
"CustomDecoderOnlyT5"
],
"auto_map": {
"AutoConfig": "configuration_custom_t5.CustomT5Config",
"AutoModelForCausalLM": "modeling_custom_t5.CustomDecoderOnlyT5"
},
"classifier_dropout": 0.0,
"d_ff": 16384,
"d_kv": 128,
"d_model": 1024,
"decoder_start_token_id": 0,
"dense_act_fn": "relu",
"dropout_rate": 0.1,
"eos_token_id": 1,
"feed_forward_proj": "relu",
"initializer_factor": 1.0,
"is_decoder": true,
"is_encoder_decoder": false,
"is_gated_act": false,
"layer_norm_epsilon": 1e-06,
"model_type": "custom_decoder_only_t5",
"n_positions": 1024,
"num_decoder_layers": 24,
"num_heads": 32,
"num_layers": 24,
"output_past": true,
"pad_token_id": 0,
"position_encoding_type": "rotary",
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"torch_dtype": "float32",
"transformers_version": "4.31.0",
"use_cache": true,
"vocab_size": 49152
}