toxicity / config.json
bogdanraduta's picture
Upload config.json with huggingface_hub
70dd545 verified
Raw
History Blame Contribute Delete
1.02 kB
{
"add_cross_attention": false,
"architectures": [
"XLMRobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "insult",
"1": "threat",
"2": "identity_attack",
"3": "harassment"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"harassment": 3,
"identity_attack": 2,
"insult": 0,
"threat": 1
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"problem_type": "multi_label_classification",
"tie_word_embeddings": true,
"transformers_version": "5.15.0",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 250002
}