aarimond commited on
Commit
b65e917
1 Parent(s): 5c89336

added model

Browse files
Files changed (2) hide show
  1. config.json +18 -15
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,38 +1,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": "8888",
13
  "1": "51RC - Not-for-profit Corporation",
 
14
  "2": "PJ10 - Business Corporation",
15
  "3": "SDX0 - Limited Liability Company",
16
- "4": "XIZI - Limited Liability Partnership",
17
- "5": "BO6L - Limited Partnership",
18
- "6": "4VH5 - Commercial Bank",
19
- "7": "9999",
20
- "8": "M0ER - Savings Bank",
21
- "9": "EPCY - Savings and Loan Association"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "4VH5 - Commercial Bank": 6,
27
  "51RC - Not-for-profit Corporation": 1,
28
  "8888": 0,
29
- "9999": 7,
30
- "BO6L - Limited Partnership": 5,
31
- "EPCY - Savings and Loan Association": 9,
32
- "M0ER - Savings Bank": 8,
 
33
  "PJ10 - Business Corporation": 2,
34
  "SDX0 - Limited Liability Company": 3,
35
- "XIZI - Limited Liability Partnership": 4
36
  },
37
  "layer_norm_eps": 1e-12,
38
  "max_position_embeddings": 512,
@@ -43,8 +46,8 @@
43
  "position_embedding_type": "absolute",
44
  "problem_type": "single_label_classification",
45
  "torch_dtype": "float32",
46
- "transformers_version": "4.25.1",
47
  "type_vocab_size": 2,
48
  "use_cache": true,
49
- "vocab_size": 30873
50
  }
 
1
  {
2
+ "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "8888",
14
  "1": "51RC - Not-for-profit Corporation",
15
+ "10": "D6JI - credit union",
16
  "2": "PJ10 - Business Corporation",
17
  "3": "SDX0 - Limited Liability Company",
18
+ "4": "BO6L - Limited Partnership",
19
+ "5": "XIZI - Limited Liability Partnership",
20
+ "6": "M0ER - Savings Bank",
21
+ "7": "4VH5 - Commercial Bank",
22
+ "8": "EPCY - Savings and Loan Association",
23
+ "9": "9999"
24
  },
25
  "initializer_range": 0.02,
26
  "intermediate_size": 3072,
27
  "label2id": {
28
+ "4VH5 - Commercial Bank": 7,
29
  "51RC - Not-for-profit Corporation": 1,
30
  "8888": 0,
31
+ "9999": 9,
32
+ "BO6L - Limited Partnership": 4,
33
+ "D6JI - credit union": 10,
34
+ "EPCY - Savings and Loan Association": 8,
35
+ "M0ER - Savings Bank": 6,
36
  "PJ10 - Business Corporation": 2,
37
  "SDX0 - Limited Liability Company": 3,
38
+ "XIZI - Limited Liability Partnership": 5
39
  },
40
  "layer_norm_eps": 1e-12,
41
  "max_position_embeddings": 512,
 
46
  "position_embedding_type": "absolute",
47
  "problem_type": "single_label_classification",
48
  "torch_dtype": "float32",
49
+ "transformers_version": "4.41.2",
50
  "type_vocab_size": 2,
51
  "use_cache": true,
52
+ "vocab_size": 30522
53
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:46c5b4585325e5244146cd0d862cb1880e454f068dcda94b7a90c686a05a54e2
3
- size 439065712
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8c361f91c30db83788ca637fc4ad8b054a78951537e1c6aac8c609deb92be15
3
+ size 437986332