realm-orqa-wq-openqa / config.json
qqaatw's picture
Add model
7ae00fc
raw
history blame
846 Bytes
{
"architectures": [
"RealmForOpenQA"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"eos_token_id": 2,
"hidden_act": "gelu_new",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"max_span_width": 10,
"model_type": "realm",
"num_attention_heads": 12,
"num_block_records": 13353718,
"num_candidates": 8,
"num_hidden_layers": 12,
"pad_token_id": 1,
"reader_beam_size": 5,
"reader_layer_norm_eps": 0.001,
"reader_seq_len": 320,
"retriever_proj_size": 128,
"searcher_beam_size": 5000,
"searcher_seq_len": 64,
"span_hidden_size": 256,
"torch_dtype": "float32",
"transformers_version": "4.16.0.dev0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}