KoichiYasuoka's picture
model improved
c62c8b1
raw
history blame
2.58 kB
{
"architectures": [
"RobertaForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"custom_pipelines": {
"upos": {
"impl": "upos.BellmanFordTokenClassificationPipeline",
"pt": "AutoModelForTokenClassification"
}
},
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "ADJ",
"1": "B-ADJ",
"2": "I-ADJ",
"3": "ADP",
"4": "B-ADP",
"5": "I-ADP",
"6": "ADV",
"7": "B-ADV",
"8": "I-ADV",
"9": "AUX",
"10": "B-AUX",
"11": "I-AUX",
"12": "DET",
"13": "B-DET",
"14": "I-DET",
"15": "INTJ",
"16": "B-INTJ",
"17": "I-INTJ",
"18": "NOUN",
"19": "B-NOUN",
"20": "I-NOUN",
"21": "NUM",
"22": "B-NUM",
"23": "I-NUM",
"24": "PART",
"25": "B-PART",
"26": "I-PART",
"27": "PRON",
"28": "B-PRON",
"29": "I-PRON",
"30": "PROPN",
"31": "B-PROPN",
"32": "I-PROPN",
"33": "PUNCT",
"34": "B-PUNCT",
"35": "I-PUNCT",
"36": "SCONJ",
"37": "B-SCONJ",
"38": "I-SCONJ",
"39": "SYM",
"40": "B-SYM",
"41": "I-SYM",
"42": "VERB",
"43": "B-VERB",
"44": "I-VERB",
"45": "X",
"46": "B-X",
"47": "I-X"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"ADJ": 0,
"ADP": 3,
"ADV": 6,
"AUX": 9,
"B-ADJ": 1,
"B-ADP": 4,
"B-ADV": 7,
"B-AUX": 10,
"B-DET": 13,
"B-INTJ": 16,
"B-NOUN": 19,
"B-NUM": 22,
"B-PART": 25,
"B-PRON": 28,
"B-PROPN": 31,
"B-PUNCT": 34,
"B-SCONJ": 37,
"B-SYM": 40,
"B-VERB": 43,
"B-X": 46,
"DET": 12,
"I-ADJ": 2,
"I-ADP": 5,
"I-ADV": 8,
"I-AUX": 11,
"I-DET": 14,
"I-INTJ": 17,
"I-NOUN": 20,
"I-NUM": 23,
"I-PART": 26,
"I-PRON": 29,
"I-PROPN": 32,
"I-PUNCT": 35,
"I-SCONJ": 38,
"I-SYM": 41,
"I-VERB": 44,
"I-X": 47,
"INTJ": 15,
"NOUN": 18,
"NUM": 21,
"PART": 24,
"PRON": 27,
"PROPN": 30,
"PUNCT": 33,
"SCONJ": 36,
"SYM": 39,
"VERB": 42,
"X": 45
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"tokenizer_class": "BertTokenizerFast",
"torch_dtype": "float32",
"transformers_version": "4.39.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 8094
}