Upload XLMRobertaForSequenceClassification
Browse files- config.json +131 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./bert-finetuned-events-english_2layer/checkpoint-9170",
|
3 |
+
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "accidentcrash",
|
15 |
+
"1": "agreements",
|
16 |
+
"2": "arrestjaildetain",
|
17 |
+
"3": "artifact",
|
18 |
+
"4": "artifactexistence",
|
19 |
+
"5": "attack",
|
20 |
+
"6": "collaborate",
|
21 |
+
"7": "commandorder",
|
22 |
+
"8": "commitmentpromiseexpressintent",
|
23 |
+
"9": "conflict",
|
24 |
+
"10": "contact",
|
25 |
+
"11": "damagedestroy",
|
26 |
+
"12": "demonstrate",
|
27 |
+
"13": "die",
|
28 |
+
"14": "disaster",
|
29 |
+
"15": "discussion",
|
30 |
+
"16": "elect",
|
31 |
+
"17": "endposition",
|
32 |
+
"18": "fireexplosion",
|
33 |
+
"19": "formation",
|
34 |
+
"20": "funeralvigil",
|
35 |
+
"21": "government",
|
36 |
+
"22": "initiatejudicialprocess",
|
37 |
+
"23": "injure",
|
38 |
+
"24": "inspection",
|
39 |
+
"25": "investigate",
|
40 |
+
"26": "judicialconsequences",
|
41 |
+
"27": "justice",
|
42 |
+
"28": "legislate",
|
43 |
+
"29": "life",
|
44 |
+
"30": "manufacture",
|
45 |
+
"31": "mediastatement",
|
46 |
+
"32": "movement",
|
47 |
+
"33": "negotiate",
|
48 |
+
"34": "personnel",
|
49 |
+
"35": "prevarication",
|
50 |
+
"36": "publicstatementinperson",
|
51 |
+
"37": "requestadvise",
|
52 |
+
"38": "sensoryobserve",
|
53 |
+
"39": "spy",
|
54 |
+
"40": "startposition",
|
55 |
+
"41": "threatencoerce",
|
56 |
+
"42": "transaction",
|
57 |
+
"43": "transfermoney",
|
58 |
+
"44": "transferownership",
|
59 |
+
"45": "transportartifact",
|
60 |
+
"46": "transportperson",
|
61 |
+
"47": "vote",
|
62 |
+
"48": "yield"
|
63 |
+
},
|
64 |
+
"initializer_range": 0.02,
|
65 |
+
"intermediate_size": 3072,
|
66 |
+
"label2id": {
|
67 |
+
"accidentcrash": 0,
|
68 |
+
"agreements": 1,
|
69 |
+
"arrestjaildetain": 2,
|
70 |
+
"artifact": 3,
|
71 |
+
"artifactexistence": 4,
|
72 |
+
"attack": 5,
|
73 |
+
"collaborate": 6,
|
74 |
+
"commandorder": 7,
|
75 |
+
"commitmentpromiseexpressintent": 8,
|
76 |
+
"conflict": 9,
|
77 |
+
"contact": 10,
|
78 |
+
"damagedestroy": 11,
|
79 |
+
"demonstrate": 12,
|
80 |
+
"die": 13,
|
81 |
+
"disaster": 14,
|
82 |
+
"discussion": 15,
|
83 |
+
"elect": 16,
|
84 |
+
"endposition": 17,
|
85 |
+
"fireexplosion": 18,
|
86 |
+
"formation": 19,
|
87 |
+
"funeralvigil": 20,
|
88 |
+
"government": 21,
|
89 |
+
"initiatejudicialprocess": 22,
|
90 |
+
"injure": 23,
|
91 |
+
"inspection": 24,
|
92 |
+
"investigate": 25,
|
93 |
+
"judicialconsequences": 26,
|
94 |
+
"justice": 27,
|
95 |
+
"legislate": 28,
|
96 |
+
"life": 29,
|
97 |
+
"manufacture": 30,
|
98 |
+
"mediastatement": 31,
|
99 |
+
"movement": 32,
|
100 |
+
"negotiate": 33,
|
101 |
+
"personnel": 34,
|
102 |
+
"prevarication": 35,
|
103 |
+
"publicstatementinperson": 36,
|
104 |
+
"requestadvise": 37,
|
105 |
+
"sensoryobserve": 38,
|
106 |
+
"spy": 39,
|
107 |
+
"startposition": 40,
|
108 |
+
"threatencoerce": 41,
|
109 |
+
"transaction": 42,
|
110 |
+
"transfermoney": 43,
|
111 |
+
"transferownership": 44,
|
112 |
+
"transportartifact": 45,
|
113 |
+
"transportperson": 46,
|
114 |
+
"vote": 47,
|
115 |
+
"yield": 48
|
116 |
+
},
|
117 |
+
"layer_norm_eps": 1e-05,
|
118 |
+
"max_position_embeddings": 514,
|
119 |
+
"model_type": "xlm-roberta",
|
120 |
+
"num_attention_heads": 12,
|
121 |
+
"num_hidden_layers": 12,
|
122 |
+
"output_past": true,
|
123 |
+
"pad_token_id": 1,
|
124 |
+
"position_embedding_type": "absolute",
|
125 |
+
"problem_type": "multi_label_classification",
|
126 |
+
"torch_dtype": "float32",
|
127 |
+
"transformers_version": "4.30.0",
|
128 |
+
"type_vocab_size": 1,
|
129 |
+
"use_cache": true,
|
130 |
+
"vocab_size": 250002
|
131 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52f5b5777ef54076d817af9b550e2e1a11c2583bcba6b97e06612083644f483f
|
3 |
+
size 1112398709
|