Xenova HF staff commited on
Commit
314c890
1 Parent(s): bb735af

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,13 +1,15 @@
1
  {
2
- "_name_or_path": "Davlan/distilbert-base-multilingual-cased-ner-hrl",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForTokenClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
 
11
  "id2label": {
12
  "0": "O",
13
  "1": "B-DATE",
@@ -20,6 +22,7 @@
20
  "8": "I-LOC"
21
  },
22
  "initializer_range": 0.02,
 
23
  "label2id": {
24
  "B-DATE": 1,
25
  "B-LOC": 7,
@@ -31,16 +34,20 @@
31
  "I-PER": 4,
32
  "O": 0
33
  },
 
34
  "max_position_embeddings": 512,
35
- "model_type": "distilbert",
36
- "n_heads": 12,
37
- "n_layers": 6,
38
- "output_past": true,
39
  "pad_token_id": 0,
40
- "qa_dropout": 0.1,
41
- "seq_classif_dropout": 0.2,
42
- "sinusoidal_pos_embds": false,
43
- "tie_weights_": true,
44
- "transformers_version": "4.27.4",
 
 
 
 
45
  "vocab_size": 119547
46
  }
 
1
  {
2
+ "_name_or_path": "Davlan/bert-base-multilingual-cased-ner-hrl",
 
3
  "architectures": [
4
+ "BertForTokenClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
  "id2label": {
14
  "0": "O",
15
  "1": "B-DATE",
 
22
  "8": "I-LOC"
23
  },
24
  "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
  "label2id": {
27
  "B-DATE": 1,
28
  "B-LOC": 7,
 
34
  "I-PER": 4,
35
  "O": 0
36
  },
37
+ "layer_norm_eps": 1e-12,
38
  "max_position_embeddings": 512,
39
+ "model_type": "bert",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
 
42
  "pad_token_id": 0,
43
+ "pooler_fc_size": 768,
44
+ "pooler_num_attention_heads": 12,
45
+ "pooler_num_fc_layers": 3,
46
+ "pooler_size_per_head": 128,
47
+ "pooler_type": "first_token_transform",
48
+ "position_embedding_type": "absolute",
49
+ "transformers_version": "4.29.2",
50
+ "type_vocab_size": 2,
51
+ "use_cache": true,
52
  "vocab_size": 119547
53
  }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfadba12b572b46c192cd5888c20c833fa7f7cdee9d20676227690c61e635a29
3
+ size 709345280
onnx/model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:24a0b98f4dd4cd92842f5a541272f86f760225a64a29928eddef14bdb2edb986
3
- size 135359829
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:388fa1ddfb8f4d8ba6d680ebcd4e5feee6ec4e730bb0255ec61e96fe34d3cfa5
3
+ size 178080299
tokenizer_config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "cls_token": "[CLS]",
3
  "do_basic_tokenize": true,
4
  "do_lower_case": false,
@@ -7,9 +8,8 @@
7
  "never_split": null,
8
  "pad_token": "[PAD]",
9
  "sep_token": "[SEP]",
10
- "special_tokens_map_file": null,
11
  "strip_accents": null,
12
  "tokenize_chinese_chars": true,
13
- "tokenizer_class": "DistilBertTokenizer",
14
  "unk_token": "[UNK]"
15
  }
 
1
  {
2
+ "clean_up_tokenization_spaces": true,
3
  "cls_token": "[CLS]",
4
  "do_basic_tokenize": true,
5
  "do_lower_case": false,
 
8
  "never_split": null,
9
  "pad_token": "[PAD]",
10
  "sep_token": "[SEP]",
 
11
  "strip_accents": null,
12
  "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "BertTokenizer",
14
  "unk_token": "[UNK]"
15
  }