Upload config.json with huggingface_hub
Browse files- config.json +21 -17
config.json
CHANGED
@@ -1,13 +1,16 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
|
|
|
|
|
|
11 |
"id2label": {
|
12 |
"0": "LABEL_0",
|
13 |
"1": "LABEL_1",
|
@@ -16,6 +19,7 @@
|
|
16 |
"4": "LABEL_4"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
|
|
19 |
"label2id": {
|
20 |
"LABEL_0": 0,
|
21 |
"LABEL_1": 1,
|
@@ -23,17 +27,17 @@
|
|
23 |
"LABEL_3": 3,
|
24 |
"LABEL_4": 4
|
25 |
},
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
|
|
|
|
31 |
"problem_type": "regression",
|
32 |
-
"qa_dropout": 0.1,
|
33 |
-
"seq_classif_dropout": 0.2,
|
34 |
-
"sinusoidal_pos_embds": false,
|
35 |
-
"tie_weights_": true,
|
36 |
"torch_dtype": "float32",
|
37 |
"transformers_version": "4.30.0",
|
38 |
-
"
|
|
|
|
|
39 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
|
|
|
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": "LABEL_0",
|
16 |
"1": "LABEL_1",
|
|
|
19 |
"4": "LABEL_4"
|
20 |
},
|
21 |
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
"label2id": {
|
24 |
"LABEL_0": 0,
|
25 |
"LABEL_1": 1,
|
|
|
27 |
"LABEL_3": 3,
|
28 |
"LABEL_4": 4
|
29 |
},
|
30 |
+
"layer_norm_eps": 1e-05,
|
31 |
+
"max_position_embeddings": 514,
|
32 |
+
"model_type": "roberta",
|
33 |
+
"num_attention_heads": 12,
|
34 |
+
"num_hidden_layers": 12,
|
35 |
+
"pad_token_id": 1,
|
36 |
+
"position_embedding_type": "absolute",
|
37 |
"problem_type": "regression",
|
|
|
|
|
|
|
|
|
38 |
"torch_dtype": "float32",
|
39 |
"transformers_version": "4.30.0",
|
40 |
+
"type_vocab_size": 1,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 50265
|
43 |
}
|