unbiased-toxic-roberta / config.json
unitary's picture
added function_to_apply arg
851fcea
raw
history blame
1.38 kB
{
"architectures": [
"RobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"eos_token_id": 2,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "toxicity",
"1": "severe_toxicity",
"2": "obscene",
"3": "identity_attack",
"4": "insult",
"5": "threat",
"6": "sexual_explicit",
"7": "male",
"8": "female",
"9": "homosexual_gay_or_lesbian",
"10": "christian",
"11": "jewish",
"12": "muslim",
"13": "black",
"14": "white",
"15": "psychiatric_or_mental_illness"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"toxicity": 0,
"severe_toxicity": 1,
"christian": 10,
"jewish": 11,
"muslim": 12,
"black": 13,
"white": 14,
"psychiatric_or_mental_illness": 15,
"obscene": 2,
"identity_attack": 3,
"insult": 4,
"threat": 5,
"sexual_explicit": 6,
"male": 7,
"female": 8,
"homosexual_gay_or_lesbian": 9
},
"problem_type": "multi_label_classification",
"function_to_apply": "sigmoid",
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"type_vocab_size": 1,
"vocab_size": 50265
}