Text Classification
Transformers
Safetensors
xlm-roberta
toxicity
Inference Endpoints
dardem commited on
Commit
f378345
1 Parent(s): e0a9096

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +8 -0
config.json CHANGED
@@ -3,6 +3,14 @@
3
  "architectures": [
4
  "XLMRobertaForSequenceClassification"
5
  ],
 
 
 
 
 
 
 
 
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
 
3
  "architectures": [
4
  "XLMRobertaForSequenceClassification"
5
  ],
6
+ "id2label": {
7
+ "0": "neutral",
8
+ "1": "toxic"
9
+ },
10
+ "label2id": {
11
+ "neutral": 0,
12
+ "toxic": 1
13
+ },
14
  "attention_probs_dropout_prob": 0.1,
15
  "bos_token_id": 0,
16
  "classifier_dropout": null,