lfcc's picture
Upload BertForTokenClassification
884fc7e
raw
history blame
1.65 kB
{
"_name_or_path": "./models/event_type2/checkpoint-1500/",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"directionality": "bidi",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-Business",
"1": "B-Justice",
"2": "B-Movement",
"3": "I-Business",
"4": "I-Transaction",
"5": "I-Contact",
"6": "B-Personnel",
"7": "I-Movement",
"8": "O",
"9": "B-Transaction",
"10": "I-Personnel",
"11": "I-Life",
"12": "I-Justice",
"13": "B-Conflict",
"14": "B-Life",
"15": "I-Conflict",
"16": "B-Contact"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-Business": 0,
"B-Conflict": 13,
"B-Contact": 16,
"B-Justice": 1,
"B-Life": 14,
"B-Movement": 2,
"B-Personnel": 6,
"B-Transaction": 9,
"I-Business": 3,
"I-Conflict": 15,
"I-Contact": 5,
"I-Justice": 12,
"I-Life": 11,
"I-Movement": 7,
"I-Personnel": 10,
"I-Transaction": 4,
"O": 8
},
"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,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.24.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 29794
}