Safetensors
bi-encoder
bert-bi-encoder / config.json
fschlatt's picture
initial commit
d2418df
raw
history blame
1.18 kB
{
"_name_or_path": "bert-base-uncased",
"add_marker_tokens": false,
"architectures": [
"BiEncoderBertModel"
],
"attend_to_doc_expanded_tokens": false,
"attend_to_query_expanded_tokens": false,
"attention_probs_dropout_prob": 0.1,
"backbone_model_type": "bert",
"classifier_dropout": null,
"doc_expansion": false,
"doc_length": 256,
"doc_pooling_strategy": "mean",
"embedding_dim": 768,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bi-encoder",
"normalize": false,
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"projection": "linear",
"query_aggregation_function": "sum",
"query_expansion": false,
"query_length": 32,
"query_pooling_strategy": "mean",
"save_step": 43007,
"similarity_function": "dot",
"sparsification": null,
"torch_dtype": "float32",
"transformers_version": "4.42.4",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}