RyanStudio's picture
Upload RobertaForSequenceClassification
64979ae verified
{
"add_cross_attention": false,
"architectures": [
"RobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "bfloat16",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "sexual",
"1": "violence",
"2": "self-harm",
"3": "hate-speech",
"4": "toxic"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"label2id": {
"hate-speech": 3,
"self-harm": 2,
"sexual": 0,
"toxic": 4,
"violence": 1
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 6,
"pad_token_id": 1,
"problem_type": "multi_label_classification",
"tie_word_embeddings": true,
"transformers_version": "5.5.0",
"type_vocab_size": 1,
"use_cache": false,
"vocab_size": 50265
}