Upload config.json with huggingface_hub
Browse files- config.json +64 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/8t/hoan/models/detoxify_multilingual_original/onnx_optimized/config.json",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4",
|
19 |
+
"5": "LABEL_5",
|
20 |
+
"6": "LABEL_6",
|
21 |
+
"7": "LABEL_7",
|
22 |
+
"8": "LABEL_8",
|
23 |
+
"9": "LABEL_9",
|
24 |
+
"10": "LABEL_10",
|
25 |
+
"11": "LABEL_11",
|
26 |
+
"12": "LABEL_12",
|
27 |
+
"13": "LABEL_13",
|
28 |
+
"14": "LABEL_14",
|
29 |
+
"15": "LABEL_15"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"LABEL_0": 0,
|
35 |
+
"LABEL_1": 1,
|
36 |
+
"LABEL_10": 10,
|
37 |
+
"LABEL_11": 11,
|
38 |
+
"LABEL_12": 12,
|
39 |
+
"LABEL_13": 13,
|
40 |
+
"LABEL_14": 14,
|
41 |
+
"LABEL_15": 15,
|
42 |
+
"LABEL_2": 2,
|
43 |
+
"LABEL_3": 3,
|
44 |
+
"LABEL_4": 4,
|
45 |
+
"LABEL_5": 5,
|
46 |
+
"LABEL_6": 6,
|
47 |
+
"LABEL_7": 7,
|
48 |
+
"LABEL_8": 8,
|
49 |
+
"LABEL_9": 9
|
50 |
+
},
|
51 |
+
"layer_norm_eps": 1e-05,
|
52 |
+
"max_position_embeddings": 514,
|
53 |
+
"model_type": "xlm-roberta",
|
54 |
+
"num_attention_heads": 12,
|
55 |
+
"num_hidden_layers": 12,
|
56 |
+
"output_past": true,
|
57 |
+
"pad_token_id": 1,
|
58 |
+
"position_embedding_type": "absolute",
|
59 |
+
"torch_dtype": "float32",
|
60 |
+
"transformers_version": "4.35.2",
|
61 |
+
"type_vocab_size": 1,
|
62 |
+
"use_cache": true,
|
63 |
+
"vocab_size": 250002
|
64 |
+
}
|