Upload RobertaForSequenceClassification
Browse files- config.json +26 -23
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,36 +1,39 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
|
|
|
|
|
|
11 |
"id2label": {
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
|
|
17 |
"label2id": {
|
18 |
-
"negative":
|
19 |
"neutral": 1,
|
20 |
-
"positive":
|
21 |
},
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"pad_token_id":
|
|
|
28 |
"problem_type": "single_label_classification",
|
29 |
-
"qa_dropout": 0.1,
|
30 |
-
"seq_classif_dropout": 0.2,
|
31 |
-
"sinusoidal_pos_embds": false,
|
32 |
-
"tie_weights_": true,
|
33 |
"torch_dtype": "float32",
|
34 |
"transformers_version": "4.40.1",
|
35 |
-
"
|
|
|
|
|
36 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./SA_results/my_model",
|
|
|
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": "negative",
|
16 |
+
"1": "neutral",
|
17 |
+
"2": "positive"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
+
"negative": 0,
|
23 |
"neutral": 1,
|
24 |
+
"positive": 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.40.1",
|
36 |
+
"type_vocab_size": 1,
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50265
|
39 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:643638b5d6869503dcc7ba4edcbfdc8cf86b698ad12b69b7f47c578ca4293b2a
|
3 |
+
size 498615900
|