wb-charcs-extraction / config.json
vkimbris's picture
Upload BertForTokenClassification
6e71573 verified
raw
history blame contribute delete
No virus
2.16 kB
{
"_name_or_path": "vkimbris/wb-descriptions-bert",
"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-SEASON",
"2": "I-SEASON",
"3": "B-GENDER",
"4": "I-GENDER",
"5": "B-COMPOSITION",
"6": "I-COMPOSITION",
"7": "B-PURPOSE",
"8": "I-PURPOSE",
"9": "B-BRAND",
"10": "I-BRAND",
"11": "B-CUT",
"12": "I-CUT",
"13": "B-TEXTURE",
"14": "I-TEXTURE",
"15": "B-SPORTS",
"16": "I-SPORTS",
"17": "B-CLASP",
"18": "I-CLASP",
"19": "B-DECORATIONS",
"20": "I-DECORATIONS",
"21": "B-PRINT",
"22": "I-PRINT",
"23": "B-DRESS-MODEL",
"24": "I-DRESS-MODEL",
"25": "B-PACKAGE",
"26": "I-PACKAGE",
"27": "B-SKIRT-MODEL",
"28": "I-SKIRT-MODEL"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-BRAND": 9,
"B-CLASP": 17,
"B-COMPOSITION": 5,
"B-CUT": 11,
"B-DECORATIONS": 19,
"B-DRESS-MODEL": 23,
"B-GENDER": 3,
"B-PACKAGE": 25,
"B-PRINT": 21,
"B-PURPOSE": 7,
"B-SEASON": 1,
"B-SKIRT-MODEL": 27,
"B-SPORTS": 15,
"B-TEXTURE": 13,
"I-BRAND": 10,
"I-CLASP": 18,
"I-COMPOSITION": 6,
"I-CUT": 12,
"I-DECORATIONS": 20,
"I-DRESS-MODEL": 24,
"I-GENDER": 4,
"I-PACKAGE": 26,
"I-PRINT": 22,
"I-PURPOSE": 8,
"I-SEASON": 2,
"I-SKIRT-MODEL": 28,
"I-SPORTS": 16,
"I-TEXTURE": 14,
"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
}