toxic-bert-bg / config.json
melaniab's picture
Add model files
0163dcf verified
{
"_name_or_path": "rmihaylov/bert-base-bg",
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"by_layer_is_trainable": {
"0": true,
"1": true,
"10": true,
"11": true,
"12": true,
"13": true,
"14": true,
"15": true,
"16": true,
"17": true,
"18": true,
"19": true,
"2": true,
"20": true,
"21": true,
"22": true,
"23": true,
"3": true,
"4": true,
"5": true,
"6": true,
"7": true,
"8": true,
"9": true
},
"classifier_dropout": null,
"cls_trainable": true,
"directionality": "bidi",
"embedding_postprocessor_trainable": true,
"embeddings_layer_norm_trainable": true,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2",
"3": "LABEL_3"
},
"init_optimizer_variables": true,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2,
"LABEL_3": 3
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"pooler_fc_size": 768,
"pooler_num_attention_heads": 12,
"pooler_num_fc_layers": 3,
"pooler_size_per_head": 128,
"pooler_trainable": true,
"pooler_type": "first_token_transform",
"position_embedding_type": "absolute",
"position_embeddings_trainable": true,
"problem_type": "single_label_classification",
"token_type_trainable": true,
"torch_dtype": "float32",
"transformer_trainable": true,
"transformers_version": "4.41.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 119547,
"word_embeddings_trainable": true
}