Safetensors
English
bert_hash
custom_code
bert-hash-nano / config.json
davidmezzetti's picture
Update model to remove mask layer
85c8e96
raw
history blame contribute delete
911 Bytes
{
"architectures": [
"BertHashModel"
],
"auto_map": {
"AutoConfig": "configuration_bert_hash.BertHashConfig",
"AutoModel": "modeling_bert_hash.BertHashModel",
"AutoModelForMaskedLM": "modeling_bert_hash.BertHashForMaskedLM",
"AutoModelForSequenceClassification": "modeling_bert_hash.BertHashForSequenceClassification"
},
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 128,
"initializer_range": 0.02,
"intermediate_size": 512,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert_hash",
"num_attention_heads": 2,
"num_hidden_layers": 2,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"projections": 16,
"torch_dtype": "float32",
"transformers_version": "4.55.4",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}