Upload config.json with huggingface_hub
Browse files- config.json +70 -0
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "D:\\nickm\\trained_models\\onnx",
|
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": "Analyst Update",
|
13 |
+
"1": "Fed | Central Banks",
|
14 |
+
"2": "Company | Product News",
|
15 |
+
"3": "Treasuries | Corporate Debt",
|
16 |
+
"4": "Dividend",
|
17 |
+
"5": "Earnings",
|
18 |
+
"6": "Energy | Oil",
|
19 |
+
"7": "Financials",
|
20 |
+
"8": "Currencies",
|
21 |
+
"9": "General News | Opinion",
|
22 |
+
"10": "Gold | Metals | Materials",
|
23 |
+
"11": "IPO",
|
24 |
+
"12": "Legal | Regulation",
|
25 |
+
"13": "M&A | Investments",
|
26 |
+
"14": "Macro",
|
27 |
+
"15": "Markets",
|
28 |
+
"16": "Politics",
|
29 |
+
"17": "Personnel Change",
|
30 |
+
"18": "Stock Commentary",
|
31 |
+
"19": "Stock Movement"
|
32 |
+
},
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"intermediate_size": 3072,
|
35 |
+
"label2id": {
|
36 |
+
"Analyst Update": 0,
|
37 |
+
"Company | Product News": 2,
|
38 |
+
"Currencies": 8,
|
39 |
+
"Dividend": 4,
|
40 |
+
"Earnings": 5,
|
41 |
+
"Energy | Oil": 6,
|
42 |
+
"Fed | Central Banks": 1,
|
43 |
+
"Financials": 7,
|
44 |
+
"General News | Opinion": 9,
|
45 |
+
"Gold | Metals | Materials": 10,
|
46 |
+
"IPO": 11,
|
47 |
+
"Legal | Regulation": 12,
|
48 |
+
"M&A | Investments": 13,
|
49 |
+
"Macro": 14,
|
50 |
+
"Markets": 15,
|
51 |
+
"Personnel Change": 17,
|
52 |
+
"Politics": 16,
|
53 |
+
"Stock Commentary": 18,
|
54 |
+
"Stock Movement": 19,
|
55 |
+
"Treasuries | Corporate Debt": 3
|
56 |
+
},
|
57 |
+
"layer_norm_eps": 1e-12,
|
58 |
+
"max_position_embeddings": 512,
|
59 |
+
"model_type": "bert",
|
60 |
+
"num_attention_heads": 12,
|
61 |
+
"num_hidden_layers": 12,
|
62 |
+
"pad_token_id": 0,
|
63 |
+
"position_embedding_type": "absolute",
|
64 |
+
"problem_type": "single_label_classification",
|
65 |
+
"torch_dtype": "float32",
|
66 |
+
"transformers_version": "4.25.1",
|
67 |
+
"type_vocab_size": 2,
|
68 |
+
"use_cache": false,
|
69 |
+
"vocab_size": 30873
|
70 |
+
}
|