{ | |
"_name_or_path": "vinai/phobert-base", | |
"architectures": [ | |
"RobertaForTokenClassification" | |
], | |
"attention_probs_dropout_prob": 0.1, | |
"bos_token_id": 0, | |
"classifier_dropout": null, | |
"eos_token_id": 2, | |
"finetuning_task": "ner", | |
"gradient_checkpointing": false, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.1, | |
"hidden_size": 768, | |
"id2label": { | |
"0": "O", | |
"1": "B-BATTERY", | |
"2": "I-BATTERY", | |
"3": "B-CAMERA", | |
"4": "I-CAMERA", | |
"5": "B-GENERAL", | |
"6": "I-GENERAL", | |
"7": "B-SER&ACC", | |
"8": "I-SER&ACC", | |
"9": "B-PERFORMANCE", | |
"10": "I-PERFORMANCE", | |
"11": "B-DESIGN", | |
"12": "I-DESIGN", | |
"13": "B-FEATURES", | |
"14": "I-FEATURES", | |
"15": "B-PRICE", | |
"16": "I-PRICE", | |
"17": "B-SCREEN", | |
"18": "I-SCREEN", | |
"19": "B-STORAGE", | |
"20": "I-STORAGE" | |
}, | |
"initializer_range": 0.02, | |
"intermediate_size": 3072, | |
"label2id": { | |
"B-BATTERY": 1, | |
"B-CAMERA": 3, | |
"B-DESIGN": 11, | |
"B-FEATURES": 13, | |
"B-GENERAL": 5, | |
"B-PERFORMANCE": 9, | |
"B-PRICE": 15, | |
"B-SCREEN": 17, | |
"B-SER&ACC": 7, | |
"B-STORAGE": 19, | |
"I-BATTERY": 2, | |
"I-CAMERA": 4, | |
"I-DESIGN": 12, | |
"I-FEATURES": 14, | |
"I-GENERAL": 6, | |
"I-PERFORMANCE": 10, | |
"I-PRICE": 16, | |
"I-SCREEN": 18, | |
"I-SER&ACC": 8, | |
"I-STORAGE": 20, | |
"O": 0 | |
}, | |
"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.32.0.dev0", | |
"type_vocab_size": 1, | |
"use_cache": true, | |
"vocab_size": 64001 | |
} | |