wb-charcs-extraction / config.json
vkimbris's picture
Upload BertForTokenClassification
6b24472 verified
raw
history blame
2.17 kB
{
"_name_or_path": "DeepPavlov/rubert-base-cased-conversational",
"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": "O",
"1": "B-COMPOSITION",
"2": "I-COMPOSITION",
"3": "B-BRAND",
"4": "I-BRAND",
"5": "B-GENDER",
"6": "I-GENDER",
"7": "B-SEASON",
"8": "I-SEASON",
"9": "B-DECORATIONS",
"10": "I-DECORATIONS",
"11": "B-CUT",
"12": "I-CUT",
"13": "B-PRINT",
"14": "I-PRINT",
"15": "B-SPORTS",
"16": "I-SPORTS",
"17": "B-TEXTURE",
"18": "I-TEXTURE",
"19": "B-PACKAGE",
"20": "I-PACKAGE",
"21": "B-PURPOSE",
"22": "I-PURPOSE",
"23": "B-SKIRT-MODEL",
"24": "I-SKIRT-MODEL",
"25": "B-DRESS-MODEL",
"26": "I-DRESS-MODEL",
"27": "B-CLASP",
"28": "I-CLASP"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-BRAND": 3,
"B-CLASP": 27,
"B-COMPOSITION": 1,
"B-CUT": 11,
"B-DECORATIONS": 9,
"B-DRESS-MODEL": 25,
"B-GENDER": 5,
"B-PACKAGE": 19,
"B-PRINT": 13,
"B-PURPOSE": 21,
"B-SEASON": 7,
"B-SKIRT-MODEL": 23,
"B-SPORTS": 15,
"B-TEXTURE": 17,
"I-BRAND": 4,
"I-CLASP": 28,
"I-COMPOSITION": 2,
"I-CUT": 12,
"I-DECORATIONS": 10,
"I-DRESS-MODEL": 26,
"I-GENDER": 6,
"I-PACKAGE": 20,
"I-PRINT": 14,
"I-PURPOSE": 22,
"I-SEASON": 8,
"I-SKIRT-MODEL": 24,
"I-SPORTS": 16,
"I-TEXTURE": 18,
"O": 0
},
"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.38.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 119547
}