phoBERT-ner / config.json
quocanh944's picture
Model save
6c89890 verified
{
"_name_or_path": "vinai/phobert-base-v2",
"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-DATETIME",
"1": "B-LOCATION",
"2": "B-ORGANIZATION",
"3": "B-PERSON",
"4": "I-DATETIME",
"5": "I-LOCATION",
"6": "I-ORGANIZATION",
"7": "I-PERSON",
"8": "O"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-DATETIME": 0,
"B-LOCATION": 1,
"B-ORGANIZATION": 2,
"B-PERSON": 3,
"I-DATETIME": 4,
"I-LOCATION": 5,
"I-ORGANIZATION": 6,
"I-PERSON": 7,
"O": 8
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 258,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"tokenizer_class": "PhobertTokenizer",
"torch_dtype": "float32",
"transformers_version": "4.39.3",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 64001
}