hadifar commited on
Commit
24e61e2
1 Parent(s): 6b46526

Upload RobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +13 -5
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_name_or_path": "roberta/",
3
  "architectures": [
4
- "RobertaForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
@@ -19,20 +19,28 @@
19
  "5": "New_Product",
20
  "6": "Other",
21
  "7": "Partnership",
22
- "8": "Sell"
 
 
 
 
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
  "Acquisition": 0,
28
  "Company_Invest": 1,
 
29
  "Contract": 2,
 
30
  "Government_Invest": 3,
31
  "Market_Outlook": 4,
32
  "New_Product": 5,
33
  "Other": 6,
34
  "Partnership": 7,
35
- "Sell": 8
 
 
36
  },
37
  "layer_norm_eps": 1e-05,
38
  "max_position_embeddings": 514,
@@ -43,7 +51,7 @@
43
  "position_embedding_type": "absolute",
44
  "problem_type": "single_label_classification",
45
  "torch_dtype": "float32",
46
- "transformers_version": "4.27.1",
47
  "type_vocab_size": 1,
48
  "use_cache": true,
49
  "vocab_size": 50265
 
1
  {
2
+ "_name_or_path": "model/bea_classifier",
3
  "architectures": [
4
+ "RobertaForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
19
  "5": "New_Product",
20
  "6": "Other",
21
  "7": "Partnership",
22
+ "8": "Sell",
23
+ "9": "Supply_Environment",
24
+ "10": "Economic_Trend",
25
+ "11": "Regulation",
26
+ "12": "Company_Other"
27
  },
28
  "initializer_range": 0.02,
29
  "intermediate_size": 3072,
30
  "label2id": {
31
  "Acquisition": 0,
32
  "Company_Invest": 1,
33
+ "Company_Other": 12,
34
  "Contract": 2,
35
+ "Economic_Trend": 10,
36
  "Government_Invest": 3,
37
  "Market_Outlook": 4,
38
  "New_Product": 5,
39
  "Other": 6,
40
  "Partnership": 7,
41
+ "Regulation": 11,
42
+ "Sell": 8,
43
+ "Supply_Environment": 9
44
  },
45
  "layer_norm_eps": 1e-05,
46
  "max_position_embeddings": 514,
 
51
  "position_embedding_type": "absolute",
52
  "problem_type": "single_label_classification",
53
  "torch_dtype": "float32",
54
+ "transformers_version": "4.30.2",
55
  "type_vocab_size": 1,
56
  "use_cache": true,
57
  "vocab_size": 50265
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6b0594d706307f744e184aedee76db16514f425c0ceace4d68923cb578d7e50e
3
- size 498680757
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d73a6348c6ab3c5be6b5b280fd270547e63b262b1df6f638adffd403e285af15
3
+ size 496330093