add model
Browse files- config.json +57 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "tner_ckpt/fin_deberta_v3_large/best_model",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 1024,
|
10 |
+
"id2label": {
|
11 |
+
"0": "O",
|
12 |
+
"1": "B-PER",
|
13 |
+
"2": "B-LOC",
|
14 |
+
"3": "B-ORG",
|
15 |
+
"4": "B-MISC",
|
16 |
+
"5": "I-PER",
|
17 |
+
"6": "I-LOC",
|
18 |
+
"7": "I-ORG",
|
19 |
+
"8": "I-MISC"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 4096,
|
23 |
+
"label2id": {
|
24 |
+
"B-LOC": 2,
|
25 |
+
"B-MISC": 4,
|
26 |
+
"B-ORG": 3,
|
27 |
+
"B-PER": 1,
|
28 |
+
"I-LOC": 6,
|
29 |
+
"I-MISC": 8,
|
30 |
+
"I-ORG": 7,
|
31 |
+
"I-PER": 5,
|
32 |
+
"O": 0
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-07,
|
35 |
+
"max_position_embeddings": 512,
|
36 |
+
"max_relative_positions": -1,
|
37 |
+
"model_type": "deberta-v2",
|
38 |
+
"norm_rel_ebd": "layer_norm",
|
39 |
+
"num_attention_heads": 16,
|
40 |
+
"num_hidden_layers": 24,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"pooler_dropout": 0,
|
43 |
+
"pooler_hidden_act": "gelu",
|
44 |
+
"pooler_hidden_size": 1024,
|
45 |
+
"pos_att_type": [
|
46 |
+
"p2c",
|
47 |
+
"c2p"
|
48 |
+
],
|
49 |
+
"position_biased_input": false,
|
50 |
+
"position_buckets": 256,
|
51 |
+
"relative_attention": true,
|
52 |
+
"share_att_key": true,
|
53 |
+
"torch_dtype": "float32",
|
54 |
+
"transformers_version": "4.20.1",
|
55 |
+
"type_vocab_size": 0,
|
56 |
+
"vocab_size": 128100
|
57 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:011ac87e23c7729d64bcba4abeb513607010d1f887bac0ae014e29bd6374edf7
|
3 |
+
size 1736217519
|