ner_roberta_model / config.json
pritmanvar's picture
Training in progress, epoch 22
4356c40 verified
raw
history blame
No virus
1.33 kB
{
"_name_or_path": "xlm-roberta-large",
"architectures": [
"XLMRobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "O",
"1": "B-GCNUM",
"2": "I-GCNUM",
"3": "B-BGNUM",
"4": "I-BGNUM",
"5": "B-DATE",
"6": "I-DATE",
"7": "B-ORG",
"8": "I-ORG",
"9": "B-LOCATION",
"10": "I-LOCATION",
"11": "B-NAME",
"12": "I-NAME",
"13": "B-BARCODE",
"14": "I-BARCODE"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"B-BARCODE": 13,
"B-BGNUM": 3,
"B-DATE": 5,
"B-GCNUM": 1,
"B-LOCATION": 9,
"B-NAME": 11,
"B-ORG": 7,
"I-BARCODE": 14,
"I-BGNUM": 4,
"I-DATE": 6,
"I-GCNUM": 2,
"I-LOCATION": 10,
"I-NAME": 12,
"I-ORG": 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",
"torch_dtype": "float32",
"transformers_version": "4.39.1",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}