CXRFE / config.json
pamessina's picture
try copying original CXR-BERT's source code to see if it works
b3ccc39
raw
history blame
852 Bytes
{
"_name_or_path": "pamessina/CXRFE",
"architectures": [
"CXRBertModel"
],
"attention_probs_dropout_prob": 0.25,
"auto_map": {
"AutoConfig": "pamessina/CXRFE--configuration_cxrbert.CXRBertConfig",
"AutoModel": "pamessina/CXRFE--modeling_cxrbert.CXRBertModel"
},
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.25,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "cxr-bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"projection_size": 128,
"torch_dtype": "float32",
"transformers_version": "4.41.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}