hate-speech-analysis / config.json
nahiar's picture
Upload folder using huggingface_hub
65faba5 verified
{
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "HS",
"1": "Abusive",
"2": "HS_Individual",
"3": "HS_Group",
"4": "HS_Religion",
"5": "HS_Race",
"6": "HS_Physical",
"7": "HS_Gender",
"8": "HS_Other",
"9": "HS_Weak",
"10": "HS_Moderate",
"11": "HS_Strong"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Abusive": 1,
"HS": 0,
"HS_Gender": 7,
"HS_Group": 3,
"HS_Individual": 2,
"HS_Moderate": 10,
"HS_Other": 8,
"HS_Physical": 6,
"HS_Race": 5,
"HS_Religion": 4,
"HS_Strong": 11,
"HS_Weak": 9
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": "multi_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.51.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 32000
}