roberta-nerc / config.json
pawlo2013's picture
Upload 10 files
87926d9 verified
raw
history blame
2.21 kB
{
"_name_or_path": "roberta-base",
"architectures": [
"RobertaForTokenClassification"
],
"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-CARDINAL",
"1": "I-CARDINAL",
"2": "B-DATE",
"3": "I-DATE",
"4": "B-EVENT",
"5": "I-EVENT",
"6": "B-FAC",
"7": "I-FAC",
"8": "B-GPE",
"9": "I-GPE",
"10": "B-LANGUAGE",
"11": "I-LANGUAGE",
"12": "B-LAW",
"13": "I-LAW",
"14": "B-LOC",
"15": "I-LOC",
"16": "B-MONEY",
"17": "I-MONEY",
"18": "B-NORP",
"19": "I-NORP",
"20": "B-ORDINAL",
"21": "I-ORDINAL",
"22": "B-ORG",
"23": "I-ORG",
"24": "B-PERCENT",
"25": "I-PERCENT",
"26": "B-PERSON",
"27": "I-PERSON",
"28": "B-PRODUCT",
"29": "I-PRODUCT",
"30": "B-QUANTITY",
"31": "I-QUANTITY",
"32": "B-TIME",
"33": "I-TIME",
"34": "B-WORK_OF_ART",
"35": "I-WORK_OF_ART",
"36": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-CARDINAL": 0,
"B-DATE": 2,
"B-EVENT": 4,
"B-FAC": 6,
"B-GPE": 8,
"B-LANGUAGE": 10,
"B-LAW": 12,
"B-LOC": 14,
"B-MONEY": 16,
"B-NORP": 18,
"B-ORDINAL": 20,
"B-ORG": 22,
"B-PERCENT": 24,
"B-PERSON": 26,
"B-PRODUCT": 28,
"B-QUANTITY": 30,
"B-TIME": 32,
"B-WORK_OF_ART": 34,
"I-CARDINAL": 1,
"I-DATE": 3,
"I-EVENT": 5,
"I-FAC": 7,
"I-GPE": 9,
"I-LANGUAGE": 11,
"I-LAW": 13,
"I-LOC": 15,
"I-MONEY": 17,
"I-NORP": 19,
"I-ORDINAL": 21,
"I-ORG": 23,
"I-PERCENT": 25,
"I-PERSON": 27,
"I-PRODUCT": 29,
"I-QUANTITY": 31,
"I-TIME": 33,
"I-WORK_OF_ART": 35,
"O": 36
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.38.2",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}