archich commited on
Commit
d8668f5
·
verified ·
1 Parent(s): efba8ae

Add config.json for API support

Browse files
Files changed (1) hide show
  1. config.json +27 -0
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "model_type": "xlm-roberta",
7
+ "num_labels": 2,
8
+ "id2label": {
9
+ "0": "NOT_HATE_SPEECH",
10
+ "1": "HATE_SPEECH"
11
+ },
12
+ "label2id": {
13
+ "NOT_HATE_SPEECH": 0,
14
+ "HATE_SPEECH": 1
15
+ },
16
+ "problem_type": "single_label_classification",
17
+ "hidden_size": 768,
18
+ "num_hidden_layers": 12,
19
+ "num_attention_heads": 12,
20
+ "intermediate_size": 3072,
21
+ "hidden_act": "gelu",
22
+ "hidden_dropout_prob": 0.1,
23
+ "attention_probs_dropout_prob": 0.1,
24
+ "max_position_embeddings": 514,
25
+ "type_vocab_size": 1,
26
+ "vocab_size": 250002
27
+ }