T0pp / config.json
Saurabh Kulshreshtha
added top-p and top-k sampling
71a28d4
raw
history blame contribute delete
828 Bytes
{
"architectures": [
"T5ForConditionalGeneration"
],
"d_ff": 10240,
"d_kv": 64,
"d_model": 4096,
"decoder_start_token_id": 0,
"dropout_rate": 0.1,
"eos_token_id": 1,
"feed_forward_proj": "gated-gelu",
"gradient_checkpointing": false,
"initializer_factor": 1.0,
"is_encoder_decoder": true,
"layer_norm_epsilon": 1e-06,
"model_type": "t5",
"num_decoder_layers": 24,
"num_heads": 64,
"num_layers": 24,
"output_past": true,
"pad_token_id": 0,
"relative_attention_num_buckets": 32,
"task_specific_params": {
"text2text-generation": {
"do_sample": true,
"max_length": 50,
"top_k": 50,
"top_p": 0.95,
"num_return_sequences": 10
}
},
"tie_word_embeddings": false,
"transformers_version": "4.8.1",
"use_cache": true,
"vocab_size": 32128
}