roberta-base-coco-NER / config.json
mohsin-riad's picture
End of training
e4047a0 verified
{
"_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": "O",
"1": "B-VEHICLE",
"2": "I-VEHICLE",
"3": "B-PERSON",
"4": "I-PERSON",
"5": "B-LOCATION",
"6": "I-LOCATION",
"7": "B-OBJECT",
"8": "I-OBJECT",
"9": "B-NUMBER",
"10": "I-NUMBER",
"11": "B-BODYPART",
"12": "I-BODYPART",
"13": "B-ANIMAL",
"14": "I-ANIMAL",
"15": "B-ACTIVITY",
"16": "I-ACTIVITY"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-ACTIVITY": 15,
"B-ANIMAL": 13,
"B-BODYPART": 11,
"B-LOCATION": 5,
"B-NUMBER": 9,
"B-OBJECT": 7,
"B-PERSON": 3,
"B-VEHICLE": 1,
"I-ACTIVITY": 16,
"I-ANIMAL": 14,
"I-BODYPART": 12,
"I-LOCATION": 6,
"I-NUMBER": 10,
"I-OBJECT": 8,
"I-PERSON": 4,
"I-VEHICLE": 2,
"O": 0
},
"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.40.1",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}