aarimond commited on
Commit
8e7e5cb
·
verified ·
1 Parent(s): be316e1

added model

Browse files
Files changed (2) hide show
  1. config.json +30 -29
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,55 +1,56 @@
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": "LGWG - Designated Activity Company",
13
  "1": "8888",
14
- "10": "JXDX - Societas Europaea",
15
- "11": "54SK - Friendly Society",
16
- "12": "LZIC - Investment Limited Partnership",
17
- "13": "URQH - Public Unlimited Company",
18
- "14": "9999",
19
  "15": "9BPE - Credit Union",
20
  "16": "FF1D - Public Unlimited Company that has no share capital",
21
  "17": "ZJS8 - Industrial and Provident Society",
22
  "18": "363J - European Economic Interest Grouping",
23
- "2": "MNQ7 - Private Company Limited by Shares",
24
- "3": "VYAX - Public Limited Company",
25
- "4": "KMFX - Private Unlimited Company",
26
- "5": "2GV9 - Irish Collective Asset-management Vehicle",
27
- "6": "C58S - Company Limited by Guarantee",
28
- "7": "DWS3 - General Partnership",
29
- "8": "HNJK - Limited Partnership",
30
- "9": "5AX8 - Designated Activity Company Limited by Guarantee"
31
  },
32
  "initializer_range": 0.02,
33
  "intermediate_size": 3072,
34
  "label2id": {
35
- "2GV9 - Irish Collective Asset-management Vehicle": 5,
36
  "363J - European Economic Interest Grouping": 18,
37
- "54SK - Friendly Society": 11,
38
- "5AX8 - Designated Activity Company Limited by Guarantee": 9,
39
  "8888": 1,
40
- "9999": 14,
41
  "9BPE - Credit Union": 15,
42
- "C58S - Company Limited by Guarantee": 6,
43
- "DWS3 - General Partnership": 7,
44
  "FF1D - Public Unlimited Company that has no share capital": 16,
45
- "HNJK - Limited Partnership": 8,
46
- "JXDX - Societas Europaea": 10,
47
- "KMFX - Private Unlimited Company": 4,
48
  "LGWG - Designated Activity Company": 0,
49
- "LZIC - Investment Limited Partnership": 12,
50
- "MNQ7 - Private Company Limited by Shares": 2,
51
- "URQH - Public Unlimited Company": 13,
52
- "VYAX - Public Limited Company": 3,
53
  "ZJS8 - Industrial and Provident Society": 17
54
  },
55
  "layer_norm_eps": 1e-12,
@@ -61,8 +62,8 @@
61
  "position_embedding_type": "absolute",
62
  "problem_type": "single_label_classification",
63
  "torch_dtype": "float32",
64
- "transformers_version": "4.25.1",
65
  "type_vocab_size": 2,
66
  "use_cache": true,
67
- "vocab_size": 30873
68
  }
 
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": "LGWG - Designated Activity Company",
14
  "1": "8888",
15
+ "10": "DWS3 - General Partnership",
16
+ "11": "HNJK - Limited Partnership",
17
+ "12": "5AX8 - Designated Activity Company Limited by Guarantee",
18
+ "13": "54SK - Friendly Society",
19
+ "14": "URQH - Public Unlimited Company",
20
  "15": "9BPE - Credit Union",
21
  "16": "FF1D - Public Unlimited Company that has no share capital",
22
  "17": "ZJS8 - Industrial and Provident Society",
23
  "18": "363J - European Economic Interest Grouping",
24
+ "2": "9999",
25
+ "3": "MNQ7 - Private Company Limited by Shares",
26
+ "4": "VYAX - Public Limited Company",
27
+ "5": "JXDX - Societas Europaea",
28
+ "6": "KMFX - Private Unlimited Company",
29
+ "7": "2GV9 - Irish Collective Asset-management Vehicle",
30
+ "8": "LZIC - Investment Limited Partnership",
31
+ "9": "C58S - Company Limited by Guarantee"
32
  },
33
  "initializer_range": 0.02,
34
  "intermediate_size": 3072,
35
  "label2id": {
36
+ "2GV9 - Irish Collective Asset-management Vehicle": 7,
37
  "363J - European Economic Interest Grouping": 18,
38
+ "54SK - Friendly Society": 13,
39
+ "5AX8 - Designated Activity Company Limited by Guarantee": 12,
40
  "8888": 1,
41
+ "9999": 2,
42
  "9BPE - Credit Union": 15,
43
+ "C58S - Company Limited by Guarantee": 9,
44
+ "DWS3 - General Partnership": 10,
45
  "FF1D - Public Unlimited Company that has no share capital": 16,
46
+ "HNJK - Limited Partnership": 11,
47
+ "JXDX - Societas Europaea": 5,
48
+ "KMFX - Private Unlimited Company": 6,
49
  "LGWG - Designated Activity Company": 0,
50
+ "LZIC - Investment Limited Partnership": 8,
51
+ "MNQ7 - Private Company Limited by Shares": 3,
52
+ "URQH - Public Unlimited Company": 14,
53
+ "VYAX - Public Limited Company": 4,
54
  "ZJS8 - Industrial and Provident Society": 17
55
  },
56
  "layer_norm_eps": 1e-12,
 
62
  "position_embedding_type": "absolute",
63
  "problem_type": "single_label_classification",
64
  "torch_dtype": "float32",
65
+ "transformers_version": "4.41.2",
66
  "type_vocab_size": 2,
67
  "use_cache": true,
68
+ "vocab_size": 30522
69
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:346a8d180aa4734f73046703363cec4e0426ce1c75607628a81153a273868f35
3
+ size 438010940