Upload 3 files
Browse files- config.json +16 -15
- model.safetensors +2 -2
- training_args.bin +2 -2
config.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
|
|
11 |
"id2label": {
|
12 |
"0": "VERY NEGATIVE",
|
13 |
"1": "NEGATIVE",
|
@@ -17,6 +17,7 @@
|
|
17 |
"5": "VERY POSITIVE"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
|
|
20 |
"label2id": {
|
21 |
"NEGATIVE": 1,
|
22 |
"POSITIVE": 4,
|
@@ -25,17 +26,17 @@
|
|
25 |
"VERY NEGATIVE": 0,
|
26 |
"VERY POSITIVE": 5
|
27 |
},
|
|
|
28 |
"max_position_embeddings": 512,
|
29 |
-
"model_type": "
|
30 |
-
"
|
31 |
-
"
|
32 |
"pad_token_id": 0,
|
|
|
33 |
"problem_type": "single_label_classification",
|
34 |
-
"qa_dropout": 0.1,
|
35 |
-
"seq_classif_dropout": 0.2,
|
36 |
-
"sinusoidal_pos_embds": false,
|
37 |
-
"tie_weights_": true,
|
38 |
"torch_dtype": "float32",
|
39 |
"transformers_version": "4.36.2",
|
40 |
-
"
|
|
|
|
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "yiyanghkust/finbert-pretrain",
|
|
|
3 |
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "VERY NEGATIVE",
|
13 |
"1": "NEGATIVE",
|
|
|
17 |
"5": "VERY POSITIVE"
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
"NEGATIVE": 1,
|
23 |
"POSITIVE": 4,
|
|
|
26 |
"VERY NEGATIVE": 0,
|
27 |
"VERY POSITIVE": 5
|
28 |
},
|
29 |
+
"layer_norm_eps": 1e-12,
|
30 |
"max_position_embeddings": 512,
|
31 |
+
"model_type": "bert",
|
32 |
+
"num_attention_heads": 12,
|
33 |
+
"num_hidden_layers": 12,
|
34 |
"pad_token_id": 0,
|
35 |
+
"position_embedding_type": "absolute",
|
36 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
37 |
"torch_dtype": "float32",
|
38 |
"transformers_version": "4.36.2",
|
39 |
+
"type_vocab_size": 2,
|
40 |
+
"use_cache": true,
|
41 |
+
"vocab_size": 30873
|
42 |
}
|
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:e06d39cb86a7a7c62770c3958fe488f293cd157f77b5677370e1a177547499f3
|
3 |
+
size 439049224
|
training_args.bin
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:e493d05d535a8b527c50ced6e23650d053affe4f2916fdac526d373e37de58a9
|
3 |
+
size 4664
|