marefa-ner / config.json
bakrianoo's picture
update NER model
aaebb3e
{
"_name_or_path": "xlm-roberta-large",
"architectures": [
"XLMRobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"eos_token_id": 2,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "O",
"1": "B-job",
"10": "I-event",
"11": "B-organization",
"12": "I-organization",
"13": "I-location",
"14": "I-nationality",
"15": "B-product",
"16": "I-product",
"17": "B-artwork",
"18": "I-artwork",
"2": "I-job",
"3": "B-nationality",
"4": "B-person",
"5": "I-person",
"6": "B-location",
"7": "B-time",
"8": "I-time",
"9": "B-event"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-artwork": 17,
"B-event": 9,
"B-job": 1,
"B-location": 6,
"B-nationality": 3,
"B-organization": 11,
"B-person": 4,
"B-product": 15,
"B-time": 7,
"I-artwork": 18,
"I-event": 10,
"I-job": 2,
"I-location": 13,
"I-nationality": 14,
"I-organization": 12,
"I-person": 5,
"I-product": 16,
"I-time": 8,
"O": 0
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"transformers_version": "4.8.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}