Upload RobertaForTokenClassification
Browse files- config.json +13 -5
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 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 |
-
"
|
|
|
|
|
|
|
| 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.
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d73a6348c6ab3c5be6b5b280fd270547e63b262b1df6f638adffd403e285af15
|
| 3 |
+
size 496330093
|