in6087
commited on
Commit
•
75c392d
1
Parent(s):
ec20f14
add model
Browse files- config.json +44 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/tmp/test-richard_bert_base_uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "ner",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "AFTER_COMPOUND",
|
14 |
+
"1": "BEFORE_COMPOUND",
|
15 |
+
"2": "IN_COMPOUND",
|
16 |
+
"3": "IN_COMPOUND_AFTERSIGN",
|
17 |
+
"4": "IN_COMPOUND_BEFORESIGN",
|
18 |
+
"5": "NOT_VP_COORDINATOR",
|
19 |
+
"6": "UNKNOWN"
|
20 |
+
},
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 4096,
|
23 |
+
"label2id": {
|
24 |
+
"AFTER_COMPOUND": 0,
|
25 |
+
"BEFORE_COMPOUND": 1,
|
26 |
+
"IN_COMPOUND": 2,
|
27 |
+
"IN_COMPOUND_AFTERSIGN": 3,
|
28 |
+
"IN_COMPOUND_BEFORESIGN": 4,
|
29 |
+
"NOT_VP_COORDINATOR": 5,
|
30 |
+
"UNKNOWN": 6
|
31 |
+
},
|
32 |
+
"layer_norm_eps": 1e-12,
|
33 |
+
"max_position_embeddings": 512,
|
34 |
+
"model_type": "bert",
|
35 |
+
"num_attention_heads": 16,
|
36 |
+
"num_hidden_layers": 24,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"position_embedding_type": "absolute",
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.9.2",
|
41 |
+
"type_vocab_size": 2,
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 30522
|
44 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76b8f8dca67ecf08cd36431354ce8eb92a3736447d899133191c0071e05071b7
|
3 |
+
size 1336553265
|