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