mlong-t5-large-sumstew / config.json
Joemgu's picture
Update config.json
9177530
raw
history blame
1.2 kB
{
"_name_or_path": "joemgu/mlong-t5-large-sumstew",
"architectures": [
"LongT5ForConditionalGeneration"
],
"d_ff": 2816,
"d_kv": 64,
"d_model": 1024,
"decoder_start_token_id": 0,
"dense_act_fn": "gelu_new",
"dropout_rate": 0.0,
"encoder_attention_type": "transient-global",
"eos_token_id": 1,
"feed_forward_proj": "gated-gelu",
"global_block_size": 16,
"initializer_factor": 1.0,
"is_encoder_decoder": true,
"is_gated_act": true,
"layer_norm_epsilon": 1e-06,
"local_radius": 127,
"model_type": "longt5",
"n_positions": 4096,
"num_decoder_layers": 24,
"num_heads": 16,
"num_layers": 24,
"output_past": true,
"pad_token_id": 0,
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.30.2",
"use_cache": true,
"task_specific_params": {
"summarization": {
"use_cache": true,
"top_k": 3,
"penalty_alpha": 0.4,
"renormalize_logits": true,
"do_sample": false,
"num_beams": 1,
"no_repeat_ngram_size": 5,
"prefix": "Write a title and summarize: "
}
},
"vocab_size": 256384
}