xlm-roberta-ner / config.json
nahiar's picture
Initial upload (auto-create if missing)
8a7eb1e verified
{
"architectures": [
"XLMRobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-EVT",
"1": "B-GPE",
"2": "B-LOC",
"3": "B-PER",
"4": "B-FAC",
"5": "B-LAW",
"6": "B-NOR",
"7": "B-WOA",
"8": "B-ORG",
"9": "I-EVT",
"10": "I-GPE",
"11": "I-LOC",
"12": "I-PER",
"13": "I-FAC",
"14": "I-LAW",
"15": "I-NOR",
"16": "I-WOA",
"17": "I-ORG",
"18": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-EVT": 0,
"B-FAC": 4,
"B-GPE": 1,
"B-LAW": 5,
"B-LOC": 2,
"B-NOR": 6,
"B-ORG": 8,
"B-PER": 3,
"B-WOA": 7,
"I-EVT": 9,
"I-FAC": 13,
"I-GPE": 10,
"I-LAW": 14,
"I-LOC": 11,
"I-NOR": 15,
"I-ORG": 17,
"I-PER": 12,
"I-WOA": 16,
"O": 18
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"transformers_version": "4.57.3",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}