Propaganda_model / config.json
Sujithanumala's picture
added idlabel and label2id
1ae7158 verified
{
"_name_or_path": "bert-base-uncased",
"architectures": [
"BertForTokenClassification"
],
"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": "Exaggeration,Minimisation",
"1": "Whataboutism",
"2": "Empty",
"3": "Appeal_to_fear-prejudice",
"4": "Straw_Men",
"5": "Appeal_to_Authority",
"6": "Bandwagon",
"7": "Doubt",
"8": "Name_Calling,Labeling",
"9": "Obfuscation,Intentional_Vagueness,Confusion",
"10": "Thought-terminating_Cliches",
"11": "Loaded_Language",
"12": "Slogans",
"13": "Black-and-White_Fallacy",
"14": "Red_Herring",
"15": "Flag-Waving",
"16": "Repetition",
"17": "Causal_Oversimplification",
"18": "Reductio_ad_hitlerum"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Exaggeration,Minimisation": 0,
"Whataboutism": 1,
"Thought-terminating_Cliches": 10,
"Loaded_Language": 11,
"Slogans": 12,
"Black-and-White_Fallac": 13,
"Red_Herring": 14,
"Flag-Waving": 15,
"Repetition": 16,
"Causal_Oversimplification": 17,
"Reductio_ad_hitlerum": 18,
"Empty": 2,
"Appeal_to_fear-prejudice": 3,
"Straw_Men": 4,
"Appeal_to_Authority": 5,
"Bandwagon": 6,
"Doubt": 7,
"Name_Calling,Labeling": 8,
"Obfuscation,Intentional_Vagueness,Confusion": 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",
"torch_dtype": "float32",
"transformers_version": "4.27.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}