bioformer-ner-model / config.json
Mardiyyah's picture
uploading custom model to hub
a4a1e96 verified
{
"_name_or_path": "bioformers/bioformer-16L",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 384,
"id2label": {
"0": "O",
"1": "B-DNA",
"2": "I-DNA",
"3": "B-protein",
"4": "I-protein",
"5": "B-cell_type",
"6": "I-cell_type",
"7": "B-cell_line",
"8": "I-cell_line",
"9": "B-RNA",
"10": "I-RNA"
},
"initializer_range": 0.02,
"intermediate_size": 1536,
"label2id": {
"B-DNA": 1,
"B-RNA": 9,
"B-cell_line": 7,
"B-cell_type": 5,
"B-protein": 3,
"I-DNA": 2,
"I-RNA": 10,
"I-cell_line": 8,
"I-cell_type": 6,
"I-protein": 4,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 1024,
"model_type": "bert",
"num_attention_heads": 6,
"num_hidden_layers": 16,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.43.4",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32768
}