privacyshield-ner / config.json
perceptron01's picture
Upload XLMRobertaForTokenClassification
0acdc98 verified
Raw
History Blame Contribute Delete
1.06 kB
{
"add_cross_attention": false,
"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": "O",
"1": "B-PERSON",
"2": "I-PERSON",
"3": "B-ADDRESS",
"4": "I-ADDRESS",
"5": "B-ORG",
"6": "I-ORG"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"B-ADDRESS": 3,
"B-ORG": 5,
"B-PERSON": 1,
"I-ADDRESS": 4,
"I-ORG": 6,
"I-PERSON": 2,
"O": 0
},
"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",
"tie_word_embeddings": true,
"transformers_version": "5.10.2",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 250002
}