igorktech's picture
Update config.json
55ddfeb
raw
history blame
1.84 kB
{
"_name_or_path": "DeepPavlov/rubert-base-cased",
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"directionality": "bidi",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "POST",
"1": "NOUN",
"10": "NUMR",
"11": "ADVB",
"12": "NPRO",
"13": "PRED",
"14": "PREP",
"15": "CONJ",
"16": "PRCL",
"17": "INTJ",
"18": "PNCT",
"19": "UNKN",
"2": "ADJF",
"20": "NUMB",
"21": "ROMN",
"22": "LATN",
"23": "SYMB",
"24": "GREK",
"25": "DATE",
"26": "TIME",
"27": "HANI",
"3": "ADJS",
"4": "COMP",
"5": "VERB",
"6": "INFN",
"7": "PRTF",
"8": "PRTS",
"9": "GRND"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"ADJF": 2,
"ADJS": 3,
"ADVB": 11,
"COMP": 4,
"CONJ": 15,
"DATE": 25,
"GREK": 24,
"GRND": 9,
"HANI": 27,
"INFN": 6,
"INTJ": 17,
"LATN": 22,
"NOUN": 1,
"NPRO": 12,
"NUMB": 20,
"NUMR": 10,
"PNCT": 18,
"POST": 0,
"PRCL": 16,
"PRED": 13,
"PREP": 14,
"PRTF": 7,
"PRTS": 8,
"ROMN": 21,
"SYMB": 23,
"TIME": 26,
"UNKN": 19,
"VERB": 5
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_type": "first_token_transform",
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.25.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 119547
}