gbert-legal-ner / config.json
harshildarji's picture
pt and tf models upload
790177f
{
"_name_or_path": "./gbert-legal-ner",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-LIT",
"1": "B-VT",
"2": "I-VO",
"3": "I-GS",
"4": "B-RR",
"5": "I-VS",
"6": "I-LIT",
"7": "B-EUN",
"8": "I-UN",
"9": "B-VS",
"10": "B-AN",
"11": "I-PER",
"12": "B-VO",
"13": "I-INN",
"14": "B-MRK",
"15": "B-LDS",
"16": "I-RR",
"17": "I-VT",
"18": "I-ORG",
"19": "I-RS",
"20": "B-INN",
"21": "I-ST",
"22": "I-LDS",
"23": "B-GRT",
"24": "O",
"25": "B-ORG",
"26": "I-LD",
"27": "I-STR",
"28": "B-LD",
"29": "B-PER",
"30": "I-GRT",
"31": "I-EUN",
"32": "B-ST",
"33": "B-STR",
"34": "B-UN",
"35": "B-RS",
"36": "I-AN",
"37": "B-GS",
"38": "I-MRK",
"39": "PAD"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-AN": 10,
"B-EUN": 7,
"B-GRT": 23,
"B-GS": 37,
"B-INN": 20,
"B-LD": 28,
"B-LDS": 15,
"B-LIT": 0,
"B-MRK": 14,
"B-ORG": 25,
"B-PER": 29,
"B-RR": 4,
"B-RS": 35,
"B-ST": 32,
"B-STR": 33,
"B-UN": 34,
"B-VO": 12,
"B-VS": 9,
"B-VT": 1,
"I-AN": 36,
"I-EUN": 31,
"I-GRT": 30,
"I-GS": 3,
"I-INN": 13,
"I-LD": 26,
"I-LDS": 22,
"I-LIT": 6,
"I-MRK": 38,
"I-ORG": 18,
"I-PER": 11,
"I-RR": 16,
"I-RS": 19,
"I-ST": 21,
"I-STR": 27,
"I-UN": 8,
"I-VO": 2,
"I-VS": 5,
"I-VT": 17,
"O": 24,
"PAD": 39
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.10.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30000
}