Fixing TF weights.
Browse files- config.json +50 -52
- tf_model.h5 +1 -1
config.json
CHANGED
@@ -1,54 +1,52 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
"
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
"
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
"
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
"use_cache": true,
|
53 |
-
"vocab_size": 28996
|
54 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "Narsil/small2",
|
3 |
+
"_num_labels": 9,
|
4 |
+
"architectures": ["BertForTokenClassification"],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"classifier_dropout": null,
|
7 |
+
"directionality": "bidi",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 2,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-MISC",
|
15 |
+
"2": "I-MISC",
|
16 |
+
"3": "B-PER",
|
17 |
+
"4": "I-PER",
|
18 |
+
"5": "B-ORG",
|
19 |
+
"6": "I-ORG",
|
20 |
+
"7": "B-LOC",
|
21 |
+
"8": "I-LOC"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 4,
|
25 |
+
"label2id": {
|
26 |
+
"B-LOC": 7,
|
27 |
+
"B-MISC": 1,
|
28 |
+
"B-ORG": 5,
|
29 |
+
"B-PER": 3,
|
30 |
+
"I-LOC": 8,
|
31 |
+
"I-MISC": 2,
|
32 |
+
"I-ORG": 6,
|
33 |
+
"I-PER": 4,
|
34 |
+
"O": 0
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"max_position_embeddings": 512,
|
38 |
+
"model_type": "bert",
|
39 |
+
"num_attention_heads": 2,
|
40 |
+
"num_hidden_layers": 2,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"pooler_fc_size": 768,
|
43 |
+
"pooler_num_attention_heads": 12,
|
44 |
+
"pooler_num_fc_layers": 3,
|
45 |
+
"pooler_size_per_head": 128,
|
46 |
+
"pooler_type": "first_token_transform",
|
47 |
+
"position_embedding_type": "absolute",
|
48 |
+
"transformers_version": "4.10.0.dev0",
|
49 |
+
"type_vocab_size": 2,
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 28996
|
|
|
|
|
52 |
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 301400
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28422e5654b34d4d92f8675c7b563e01992322451c74cefec9137084ac797766
|
3 |
size 301400
|