aarimond commited on
Commit
573388d
1 Parent(s): 2f2f493

added model

Browse files
Files changed (2) hide show
  1. config.json +26 -21
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,46 +1,51 @@
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": "5HQ4 - Limited Partnership",
14
- "10": "KQXA - Commercial Bank",
15
- "11": "4JCS - Non-deposit Trust Company",
16
- "12": "BADE - Nonprofit Common Interest Development Association",
17
- "13": "9999",
 
 
18
  "2": "H1UM - For-Profit Corporation General Stock",
19
  "3": "EI4J - Limited Liability Company",
20
- "4": "K7YU - Nonprofit Corporation Public Benefit",
21
- "5": "SQ7B - General Partnership",
22
  "6": "7CDL - For-Profit Corporation Close",
23
- "7": "PZR6 - For-Profit Corporation Professional",
24
- "8": "G1P6 - Nonprofit Corporation Mutual Benefit",
25
  "9": "CVXK - Nonprofit Corporation Religious"
26
  },
27
  "initializer_range": 0.02,
28
  "intermediate_size": 3072,
29
  "label2id": {
30
- "4JCS - Non-deposit Trust Company": 11,
31
- "5HQ4 - Limited Partnership": 1,
32
  "7CDL - For-Profit Corporation Close": 6,
33
  "8888": 0,
34
- "9999": 13,
35
- "BADE - Nonprofit Common Interest Development Association": 12,
36
  "CVXK - Nonprofit Corporation Religious": 9,
37
  "EI4J - Limited Liability Company": 3,
38
- "G1P6 - Nonprofit Corporation Mutual Benefit": 8,
39
  "H1UM - For-Profit Corporation General Stock": 2,
40
- "K7YU - Nonprofit Corporation Public Benefit": 4,
41
- "KQXA - Commercial Bank": 10,
42
- "PZR6 - For-Profit Corporation Professional": 7,
43
- "SQ7B - General Partnership": 5
 
 
 
44
  },
45
  "layer_norm_eps": 1e-12,
46
  "max_position_embeddings": 512,
@@ -51,8 +56,8 @@
51
  "position_embedding_type": "absolute",
52
  "problem_type": "single_label_classification",
53
  "torch_dtype": "float32",
54
- "transformers_version": "4.25.1",
55
  "type_vocab_size": 2,
56
  "use_cache": true,
57
- "vocab_size": 30873
58
  }
 
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": "K7YU - Nonprofit Corporation Public Benefit",
15
+ "10": "G1P6 - Nonprofit Corporation Mutual Benefit",
16
+ "11": "LYRX - Savings and Loan Association",
17
+ "12": "9999",
18
+ "13": "O6AU - credit union",
19
+ "14": "N295 - Savings Bank",
20
+ "15": "BADE - Nonprofit Common Interest Development Association",
21
  "2": "H1UM - For-Profit Corporation General Stock",
22
  "3": "EI4J - Limited Liability Company",
23
+ "4": "5HQ4 - Limited Partnership",
24
+ "5": "PZR6 - For-Profit Corporation Professional",
25
  "6": "7CDL - For-Profit Corporation Close",
26
+ "7": "SQ7B - General Partnership",
27
+ "8": "KQXA - Commercial Bank",
28
  "9": "CVXK - Nonprofit Corporation Religious"
29
  },
30
  "initializer_range": 0.02,
31
  "intermediate_size": 3072,
32
  "label2id": {
33
+ "5HQ4 - Limited Partnership": 4,
 
34
  "7CDL - For-Profit Corporation Close": 6,
35
  "8888": 0,
36
+ "9999": 12,
37
+ "BADE - Nonprofit Common Interest Development Association": 15,
38
  "CVXK - Nonprofit Corporation Religious": 9,
39
  "EI4J - Limited Liability Company": 3,
40
+ "G1P6 - Nonprofit Corporation Mutual Benefit": 10,
41
  "H1UM - For-Profit Corporation General Stock": 2,
42
+ "K7YU - Nonprofit Corporation Public Benefit": 1,
43
+ "KQXA - Commercial Bank": 8,
44
+ "LYRX - Savings and Loan Association": 11,
45
+ "N295 - Savings Bank": 14,
46
+ "O6AU - credit union": 13,
47
+ "PZR6 - For-Profit Corporation Professional": 5,
48
+ "SQ7B - General Partnership": 7
49
  },
50
  "layer_norm_eps": 1e-12,
51
  "max_position_embeddings": 512,
 
56
  "position_embedding_type": "absolute",
57
  "problem_type": "single_label_classification",
58
  "torch_dtype": "float32",
59
+ "transformers_version": "4.41.2",
60
  "type_vocab_size": 2,
61
  "use_cache": true,
62
+ "vocab_size": 30522
63
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:325b6fe4a2401bbfee341629e21d93a0702609c6db393454f4bbac62d852242a
3
+ size 438001712