farnazzeidi's picture
Initial commit of NER model for legal text
e9ec7fb verified
raw
history blame
1.52 kB
{
"_name_or_path": "./models/mlm_80_without_bertturk_2g_1epoch_32bathsize",
"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-LAW",
"2": "I-LAW",
"3": "B-LOC",
"4": "B-COR",
"5": "I-COR",
"6": "B-PUB",
"7": "I-PUB",
"8": "B-GOV",
"9": "I-GOV",
"10": "B-PER",
"11": "B-OOR",
"12": "I-OOR",
"13": "B-DAT",
"14": "I-DAT",
"15": "B-CRT",
"16": "I-CRT",
"17": "I-PER",
"18": "B-PRO",
"19": "I-PRO",
"20": "B-MNY",
"21": "I-MNY",
"22": "I-LOC"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-COR": 4,
"B-CRT": 15,
"B-DAT": 13,
"B-GOV": 8,
"B-LAW": 1,
"B-LOC": 3,
"B-MNY": 20,
"B-OOR": 11,
"B-PER": 10,
"B-PRO": 18,
"B-PUB": 6,
"I-COR": 5,
"I-CRT": 16,
"I-DAT": 14,
"I-GOV": 9,
"I-LAW": 2,
"I-LOC": 22,
"I-MNY": 21,
"I-OOR": 12,
"I-PER": 17,
"I-PRO": 19,
"I-PUB": 7,
"O": 0
},
"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.32.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32000
}