ult5-pt-small / config.json
tgsc's picture
Update config.json
790cd0f
raw
history blame
888 Bytes
{
"_name_or_path": "tgsc/ult5-pt-small",
"architectures": [
"T5ForConditionalGeneration"
],
"bos_token_id": 50257,
"d_ff": 2048,
"d_kv": 64,
"d_model": 512,
"decoder_start_token_id": 0,
"dense_act_fn": "silu",
"dropout_rate": 0.1,
"eos_token_id": 1,
"feed_forward_proj": "gated-silu",
"initializer_factor": 1.0,
"is_encoder_decoder": true,
"is_gated_act": true,
"layer_norm_epsilon": 1e-06,
"model_type": "t5",
"n_positions": 1024,
"num_decoder_layers": 6,
"num_heads": 8,
"num_layers": 6,
"output_past": true,
"pad_token_id": 0,
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"torch_dtype": "float32",
"transformers_version": "4.28.0.dev0",
"use_cache": true,
"task_specific_params": {
"text-generation": {
"do_sample": true,
"max_length": 50
}
},
"vocab_size": 50361
}