KoichiYasuoka's picture
use BertTokenizerFast
82fa3c8
{
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "B-ADJ",
"1": "I-CCONJ",
"2": "AUX",
"3": "B-DET",
"4": "ADV",
"5": "B-NUM",
"6": "I-PRON",
"7": "I-X",
"8": "ADP",
"9": "I-DET",
"10": "B-ADV",
"11": "I-PROPN",
"12": "B-PRON",
"13": "I-ADJ",
"14": "I-NUM",
"15": "PART",
"16": "B-AUX",
"17": "INTJ",
"18": "PRON",
"19": "NUM",
"20": "VERB",
"21": "B-NOUN",
"22": "PUNCT",
"23": "ADJ",
"24": "I-NOUN",
"25": "PROPN",
"26": "B-VERB",
"27": "SYM",
"28": "NOUN",
"29": "CCONJ",
"30": "I-PART",
"31": "B-PROPN",
"32": "B-ADP",
"33": "B-CCONJ",
"34": "SCONJ",
"35": "B-INTJ",
"36": "B-X",
"37": "I-ADP",
"38": "I-ADV",
"39": "I-INTJ",
"40": "B-PART",
"41": "DET",
"42": "I-VERB",
"43": "I-AUX"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"ADJ": 23,
"ADP": 8,
"ADV": 4,
"AUX": 2,
"B-ADJ": 0,
"B-ADP": 32,
"B-ADV": 10,
"B-AUX": 16,
"B-CCONJ": 33,
"B-DET": 3,
"B-INTJ": 35,
"B-NOUN": 21,
"B-NUM": 5,
"B-PART": 40,
"B-PRON": 12,
"B-PROPN": 31,
"B-VERB": 26,
"B-X": 36,
"CCONJ": 29,
"DET": 41,
"I-ADJ": 13,
"I-ADP": 37,
"I-ADV": 38,
"I-AUX": 43,
"I-CCONJ": 1,
"I-DET": 9,
"I-INTJ": 39,
"I-NOUN": 24,
"I-NUM": 14,
"I-PART": 30,
"I-PRON": 6,
"I-PROPN": 11,
"I-VERB": 42,
"I-X": 7,
"INTJ": 17,
"NOUN": 28,
"NUM": 19,
"PART": 15,
"PRON": 18,
"PROPN": 25,
"PUNCT": 22,
"SCONJ": 34,
"SYM": 27,
"VERB": 20
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"tokenizer_class": "BertTokenizer",
"torch_dtype": "float32",
"transformers_version": "4.9.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 6291
}