GuardT2I / config.json
YijunYang280's picture
Upload config.json
0c04e7d verified
{
"_name_or_path": "/bian_data/google_bert_for_seq_generation/bert_for_seq_generation_L-24_bbc_encoder",
"add_cross_attention": true,
"architectures": [
"BertGenerationDecoder"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 2,
"directionality": "bidi",
"eos_token_id": 1,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 4096,
"is_decoder": true,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert-generation",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"return_scores": true,
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"use_cache": true,
"vocab_size": 50358
}