HiAmNear commited on
Commit
0c8ef5f
·
verified ·
1 Parent(s): b1b27d8

Upload XLMRobertaForSequenceClassification

Browse files
Files changed (1) hide show
  1. config.json +51 -51
config.json CHANGED
@@ -1,51 +1,51 @@
1
- {
2
- "_name_or_path": "uitnlp/CafeBERT",
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": 1024,
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
- },
24
- "initializer_range": 0.02,
25
- "intermediate_size": 4096,
26
- "label2id": {
27
- "LABEL_0": 0,
28
- "LABEL_1": 1,
29
- "LABEL_2": 2,
30
- "LABEL_3": 3,
31
- "LABEL_4": 4,
32
- "LABEL_5": 5,
33
- "LABEL_6": 6,
34
- "LABEL_7": 7,
35
- "LABEL_8": 8
36
- },
37
- "layer_norm_eps": 1e-05,
38
- "max_position_embeddings": 514,
39
- "model_type": "xlm-roberta",
40
- "num_attention_heads": 16,
41
- "num_hidden_layers": 24,
42
- "output_past": true,
43
- "pad_token_id": 1,
44
- "position_embedding_type": "absolute",
45
- "problem_type": "single_label_classification",
46
- "torch_dtype": "float32",
47
- "transformers_version": "4.45.1",
48
- "type_vocab_size": 1,
49
- "use_cache": true,
50
- "vocab_size": 250002
51
- }
 
1
+ {
2
+ "_name_or_path": "HiAmNear/cafebert-ViFE",
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": 1024,
13
+ "id2label": {
14
+ "0": "AFFECTION",
15
+ "1": "ANGER",
16
+ "2": "BRAVERY",
17
+ "3": "DISGUST",
18
+ "4": "FEAR",
19
+ "5": "HAPPINESS",
20
+ "6": "NEUTRAL",
21
+ "7": "SADNESS",
22
+ "8": "SURPRISE"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 4096,
26
+ "label2id": {
27
+ "AFFECTION": 0,
28
+ "ANGER": 1,
29
+ "BRAVERY": 2,
30
+ "DISGUST": 3,
31
+ "FEAR": 4,
32
+ "HAPPINESS": 5,
33
+ "NEUTRAL": 6,
34
+ "SADNESS": 7,
35
+ "SURPRISE": 8
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "max_position_embeddings": 514,
39
+ "model_type": "xlm-roberta",
40
+ "num_attention_heads": 16,
41
+ "num_hidden_layers": 24,
42
+ "output_past": true,
43
+ "pad_token_id": 1,
44
+ "position_embedding_type": "absolute",
45
+ "problem_type": "single_label_classification",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.46.3",
48
+ "type_vocab_size": 1,
49
+ "use_cache": true,
50
+ "vocab_size": 250002
51
+ }