Zawad's picture
Upload BertForTokenClassification
4ca321c verified
raw
history blame
1.71 kB
{
"_name_or_path": "outputs/re3d",
"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-Organisation",
"1": "B-Person",
"2": "O",
"3": "I-Location",
"4": "B-Quantity",
"5": "I-Organisation",
"6": "B-Weapon",
"7": "B-Nationality",
"8": "I-Temporal",
"9": "I-DocumentReference",
"10": "I-Quantity",
"11": "I-Nationality",
"12": "B-Temporal",
"13": "I-Weapon",
"14": "B-MilitaryPlatform",
"15": "B-Money",
"16": "I-MilitaryPlatform",
"17": "B-DocumentReference",
"18": "B-Location",
"19": "I-Person",
"20": "I-Money"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DocumentReference": 17,
"B-Location": 18,
"B-MilitaryPlatform": 14,
"B-Money": 15,
"B-Nationality": 7,
"B-Organisation": 0,
"B-Person": 1,
"B-Quantity": 4,
"B-Temporal": 12,
"B-Weapon": 6,
"I-DocumentReference": 9,
"I-Location": 3,
"I-MilitaryPlatform": 16,
"I-Money": 20,
"I-Nationality": 11,
"I-Organisation": 5,
"I-Person": 19,
"I-Quantity": 10,
"I-Temporal": 8,
"I-Weapon": 13,
"O": 2
},
"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.38.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30000
}