ob_ner_model / config.json
SteveTran's picture
Upload folder using huggingface_hub
59130b9 verified
{
"architectures": [
"ElectraForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"embedding_size": 768,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "B-brand",
"2": "I-brand",
"3": "B-color",
"4": "I-color",
"5": "B-gender",
"6": "I-gender",
"7": "B-material",
"8": "I-material",
"9": "B-size",
"10": "I-size",
"11": "B-style",
"12": "I-style",
"13": "B-type",
"14": "I-type"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-brand": 1,
"B-color": 3,
"B-gender": 5,
"B-material": 7,
"B-size": 9,
"B-style": 11,
"B-type": 13,
"I-brand": 2,
"I-color": 4,
"I-gender": 6,
"I-material": 8,
"I-size": 10,
"I-style": 12,
"I-type": 14,
"O": 0
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "electra",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"summary_activation": "gelu",
"summary_last_dropout": 0.1,
"summary_type": "first",
"summary_use_proj": true,
"torch_dtype": "float32",
"transformers_version": "4.52.4",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 62000
}