Narsil HF staff commited on
Commit
8528e18
1 Parent(s): f93c128

Fixing TF weights.

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