bert-base-ner-nc1 / config.json
OllieStanley's picture
Upload BertForTokenClassification
f6fc749
raw
history blame
2.32 kB
{
"_name_or_path": "dslim/bert-base-NER",
"_num_labels": 9,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-ORDINAL.",
"2": "B-GPE",
"3": "B-FAC",
"4": "B- CARDINAL",
"5": "B-ORG",
"6": "B-NORP",
"7": "B-QUANTITY",
"8": "B-LAW",
"9": "B-EVENT",
"10": "B-LANGUAGE",
"11": "B-PERCENT",
"12": "B-CARDINAL",
"13": "B-DATE",
"14": "B-TIME",
"15": "B-WORK_OF_ART",
"16": "B-MONEY",
"17": "B-PERSON",
"18": "B-ORDINAL",
"19": "B-LOC",
"20": "I-ORDINAL.",
"21": "I-GPE",
"22": "I-FAC",
"23": "I- CARDINAL",
"24": "I-ORG",
"25": "I-NORP",
"26": "I-QUANTITY",
"27": "I-LAW",
"28": "I-EVENT",
"29": "I-LANGUAGE",
"30": "I-PERCENT",
"31": "I-CARDINAL",
"32": "I-DATE",
"33": "I-TIME",
"34": "I-WORK_OF_ART",
"35": "I-MONEY",
"36": "I-PERSON",
"37": "I-ORDINAL",
"38": "I-LOC"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_10": 10,
"LABEL_11": 11,
"LABEL_12": 12,
"LABEL_13": 13,
"LABEL_14": 14,
"LABEL_15": 15,
"LABEL_16": 16,
"LABEL_17": 17,
"LABEL_18": 18,
"LABEL_19": 19,
"LABEL_2": 2,
"LABEL_20": 20,
"LABEL_21": 21,
"LABEL_22": 22,
"LABEL_23": 23,
"LABEL_24": 24,
"LABEL_25": 25,
"LABEL_26": 26,
"LABEL_27": 27,
"LABEL_28": 28,
"LABEL_29": 29,
"LABEL_3": 3,
"LABEL_30": 30,
"LABEL_31": 31,
"LABEL_32": 32,
"LABEL_33": 33,
"LABEL_34": 34,
"LABEL_35": 35,
"LABEL_36": 36,
"LABEL_37": 37,
"LABEL_38": 38,
"LABEL_4": 4,
"LABEL_5": 5,
"LABEL_6": 6,
"LABEL_7": 7,
"LABEL_8": 8,
"LABEL_9": 9
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.34.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 28996
}