ner-distilbert-cased / config.json
rjac's picture
add model
1398d11
raw
history blame
1.24 kB
{
"_name_or_path": "NER-DistilBert-cased",
"activation": "gelu",
"architectures": [
"DistilBertForTokenClassification"
],
"attention_dropout": 0.1,
"dim": 768,
"dropout": 0.1,
"hidden_dim": 3072,
"id2label": {
"0": "O",
"1": "B-PER",
"2": "I-PER",
"3": "B-ORG",
"4": "I-ORG",
"5": "B-GEO",
"6": "I-GEO",
"7": "B-GPE",
"8": "I-GPE",
"9": "B-TIM",
"10": "I-TIM",
"11": "B-ART",
"12": "I-ART",
"13": "B-EVE",
"14": "I-EVE",
"15": "B-NAT",
"16": "I-NAT"
},
"initializer_range": 0.02,
"label2id": {
"B-ART": "11",
"B-EVE": "13",
"B-GEO": "5",
"B-GPE": "7",
"B-NAT": "15",
"B-ORG": "3",
"B-PER": "1",
"B-TIM": "9",
"I-ART": "12",
"I-EVE": "14",
"I-GEO": "6",
"I-GPE": "8",
"I-NAT": "16",
"I-ORG": "4",
"I-PER": "2",
"I-TIM": "10",
"O": "0"
},
"max_position_embeddings": 512,
"model_type": "distilbert",
"n_heads": 12,
"n_layers": 6,
"output_past": true,
"pad_token_id": 0,
"qa_dropout": 0.1,
"seq_classif_dropout": 0.2,
"sinusoidal_pos_embds": false,
"tie_weights_": true,
"torch_dtype": "float32",
"transformers_version": "4.20.1",
"vocab_size": 28996
}