ro-offense-model / config.json
andyP's picture
Initial commit
26a4923
raw
history blame
1.01 kB
{
"attention_probs_dropout_prob": 0.1,
"bert_model": "readerbench/RoBERT-base",
"classifier_dropout": null,
"do_lower_case": 1,
"do_remove_accents": 0,
"gcn_adj_matrix": "adjacency_matrix/graph_extended_comments.pkl",
"gcn_embedding_dim": 32,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "OTHER",
"1": "PROFANITY",
"2": "INSULT",
"3": "ABUSE"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"ABUSE": 3,
"INSULT": 2,
"OTHER": 0,
"PROFANITY": 1
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"max_seq_len": 256,
"model_type": "vgcn",
"npmi_threshold": 0.2,
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"tf_threshold": 0.0,
"transformers_version": "4.31.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 37788,
"vocab_type": "pmi"
}