smokxy commited on
Commit
e3d4f9a
·
verified ·
1 Parent(s): 8500dfc

Upload optimized model

Browse files
Files changed (7) hide show
  1. README.md +3 -3
  2. config.json +0 -1
  3. model.onnx +3 -0
  4. special_tokens_map.json +7 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +59 -0
  7. vocab.txt +0 -0
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  tags:
3
- - quantized
 
4
  - ner
5
- - 16-bit-float
6
  library_name: optimum
7
  ---
8
 
@@ -12,4 +12,4 @@ This model has been optimized and uploaded to the HuggingFace Hub.
12
 
13
  ## Model Details
14
  - Original Repository: bert_ner-optimized
15
- - Optimization Tags: quantized, ner, 16-bit-float
 
1
  ---
2
  tags:
3
+ - onnx
4
+ - optimum
5
  - ner
 
6
  library_name: optimum
7
  ---
8
 
 
12
 
13
  ## Model Details
14
  - Original Repository: bert_ner-optimized
15
+ - Optimization Tags: onnx, optimum, ner
config.json CHANGED
@@ -41,7 +41,6 @@
41
  "output_past": true,
42
  "pad_token_id": 0,
43
  "position_embedding_type": "absolute",
44
- "torch_dtype": "float16",
45
  "transformers_version": "4.47.1",
46
  "type_vocab_size": 2,
47
  "use_cache": true,
 
41
  "output_past": true,
42
  "pad_token_id": 0,
43
  "position_embedding_type": "absolute",
 
44
  "transformers_version": "4.47.1",
45
  "type_vocab_size": 2,
46
  "use_cache": true,
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ebb114f4c5d6294a82f2fe56326b643440361b2127a19c0cf8614027924893f
3
+ size 193549363
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_len": 512,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff