ner-investing / config.json
carblacac's picture
add ner investing model from local
98e57d1
raw
history blame
1.41 kB
{
"_name_or_path": "xlm-roberta-base",
"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": 768,
"id2label": {
"0": "B-DATE",
"1": "I-DATE",
"2": "B-ORG",
"3": "I-ORG",
"4": "O",
"5": "B-INDEX",
"6": "B-PERCENTAGE",
"7": "I-PERCENTAGE",
"8": "B-PERSON",
"9": "I-PERSON",
"10": "I-INDEX",
"11": "B-MONEY",
"12": "I-MONEY",
"13": "B-LOC",
"14": "I-LOC",
"15": "B-USER",
"16": "I-USER"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DATE": 0,
"B-INDEX": 5,
"B-LOC": 13,
"B-MONEY": 11,
"B-ORG": 2,
"B-PERCENTAGE": 6,
"B-PERSON": 8,
"B-USER": 15,
"I-DATE": 1,
"I-INDEX": 10,
"I-LOC": 14,
"I-MONEY": 12,
"I-ORG": 3,
"I-PERCENTAGE": 7,
"I-PERSON": 9,
"I-USER": 16,
"O": 4
},
"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",
"torch_dtype": "float32",
"transformers_version": "4.27.4",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}