CoolFace
Modelpublic

dimuthulk/sinhala-hate-speech-detector

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes143downloads
config.json40 linesDownload Raw Back to root
1{2  "add_cross_attention": false,3  "architectures": [4    "XLMRobertaForSequenceClassification"5  ],6  "attention_probs_dropout_prob": 0.1,7  "bos_token_id": 0,8  "classifier_dropout": null,9  "dtype": "float32",10  "eos_token_id": 2,11  "hidden_act": "gelu",12  "hidden_dropout_prob": 0.1,13  "hidden_size": 768,14  "id2label": {15    "0": "NOT",16    "1": "OFF"17  },18  "initializer_range": 0.02,19  "intermediate_size": 3072,20  "is_decoder": false,21  "label2id": {22    "NOT": 0,23    "OFF": 124  },25  "layer_norm_eps": 1e-05,26  "max_position_embeddings": 514,27  "model_type": "xlm-roberta",28  "num_attention_heads": 12,29  "num_hidden_layers": 12,30  "output_past": true,31  "pad_token_id": 1,32  "position_embedding_type": "absolute",33  "problem_type": "single_label_classification",34  "tie_word_embeddings": true,35  "transformers_version": "5.10.2",36  "type_vocab_size": 1,37  "use_cache": false,38  "vocab_size": 25000239}40