jasmeeetsingh
commited on
Commit
•
754d6b9
1
Parent(s):
e2d409d
Update config.json
Browse files- config.json +18 -12
config.json
CHANGED
@@ -1,33 +1,39 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "roberta-
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
|
|
8 |
"eos_token_id": 2,
|
9 |
"gradient_checkpointing": false,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
-
"hidden_size":
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
-
"intermediate_size":
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
},
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"max_position_embeddings": 514,
|
27 |
"model_type": "roberta",
|
28 |
-
"num_attention_heads":
|
29 |
-
"num_hidden_layers":
|
30 |
"pad_token_id": 1,
|
|
|
|
|
|
|
|
|
31 |
"type_vocab_size": 1,
|
|
|
32 |
"vocab_size": 50265
|
33 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "cardiffnlp/twitter-roberta-base-mar2022",
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
"eos_token_id": 2,
|
10 |
"gradient_checkpointing": false,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
"id2label": {
|
15 |
+
"0": "not depression",
|
16 |
+
"1": "moderate",
|
17 |
+
"2": "severe"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
+
"not depression": 0,
|
23 |
+
"moderate": 1,
|
24 |
+
"severe": 2
|
25 |
},
|
26 |
"layer_norm_eps": 1e-05,
|
27 |
"max_position_embeddings": 514,
|
28 |
"model_type": "roberta",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
"pad_token_id": 1,
|
32 |
+
"position_embedding_type": "absolute",
|
33 |
+
"problem_type": "single_label_classification",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.18.0",
|
36 |
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
"vocab_size": 50265
|
39 |
+
}
|