Felladrin commited on
Commit
5d670d8
·
verified ·
1 Parent(s): b1c667a

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers.js
3
+ base_model:
4
+ - boltuix/NeuroBERT-NER
5
+ ---
6
+
7
+ # NeuroBERT-NER (ONNX)
8
+
9
+ This is an ONNX version of [boltuix/NeuroBERT-NER](https://huggingface.co/boltuix/NeuroBERT-NER). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx).
config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "boltuix/NeuroBERT-NER",
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 256,
12
+ "id2label": {
13
+ "0": "B-CARDINAL",
14
+ "1": "B-DATE",
15
+ "2": "B-EVENT",
16
+ "3": "B-FAC",
17
+ "4": "B-GPE",
18
+ "5": "B-LANGUAGE",
19
+ "6": "B-LAW",
20
+ "7": "B-LOC",
21
+ "8": "B-MONEY",
22
+ "9": "B-NORP",
23
+ "10": "B-ORDINAL",
24
+ "11": "B-ORG",
25
+ "12": "B-PERCENT",
26
+ "13": "B-PERSON",
27
+ "14": "B-PRODUCT",
28
+ "15": "B-QUANTITY",
29
+ "16": "B-TIME",
30
+ "17": "B-WORK_OF_ART",
31
+ "18": "I-CARDINAL",
32
+ "19": "I-DATE",
33
+ "20": "I-EVENT",
34
+ "21": "I-FAC",
35
+ "22": "I-GPE",
36
+ "23": "I-LANGUAGE",
37
+ "24": "I-LAW",
38
+ "25": "I-LOC",
39
+ "26": "I-MONEY",
40
+ "27": "I-NORP",
41
+ "28": "I-ORDINAL",
42
+ "29": "I-ORG",
43
+ "30": "I-PERCENT",
44
+ "31": "I-PERSON",
45
+ "32": "I-PRODUCT",
46
+ "33": "I-QUANTITY",
47
+ "34": "I-TIME",
48
+ "35": "I-WORK_OF_ART",
49
+ "36": "O"
50
+ },
51
+ "initializer_range": 0.02,
52
+ "intermediate_size": 1024,
53
+ "label2id": {
54
+ "B-CARDINAL": "0",
55
+ "B-DATE": "1",
56
+ "B-EVENT": "2",
57
+ "B-FAC": "3",
58
+ "B-GPE": "4",
59
+ "B-LANGUAGE": "5",
60
+ "B-LAW": "6",
61
+ "B-LOC": "7",
62
+ "B-MONEY": "8",
63
+ "B-NORP": "9",
64
+ "B-ORDINAL": "10",
65
+ "B-ORG": "11",
66
+ "B-PERCENT": "12",
67
+ "B-PERSON": "13",
68
+ "B-PRODUCT": "14",
69
+ "B-QUANTITY": "15",
70
+ "B-TIME": "16",
71
+ "B-WORK_OF_ART": "17",
72
+ "I-CARDINAL": "18",
73
+ "I-DATE": "19",
74
+ "I-EVENT": "20",
75
+ "I-FAC": "21",
76
+ "I-GPE": "22",
77
+ "I-LANGUAGE": "23",
78
+ "I-LAW": "24",
79
+ "I-LOC": "25",
80
+ "I-MONEY": "26",
81
+ "I-NORP": "27",
82
+ "I-ORDINAL": "28",
83
+ "I-ORG": "29",
84
+ "I-PERCENT": "30",
85
+ "I-PERSON": "31",
86
+ "I-PRODUCT": "32",
87
+ "I-QUANTITY": "33",
88
+ "I-TIME": "34",
89
+ "I-WORK_OF_ART": "35",
90
+ "O": "36"
91
+ },
92
+ "layer_norm_eps": 1e-12,
93
+ "max_position_embeddings": 512,
94
+ "model_type": "bert",
95
+ "num_attention_heads": 4,
96
+ "num_hidden_layers": 2,
97
+ "pad_token_id": 0,
98
+ "position_embedding_type": "absolute",
99
+ "torch_dtype": "float32",
100
+ "transformers_version": "4.49.0",
101
+ "type_vocab_size": 2,
102
+ "use_cache": true,
103
+ "vocab_size": 30522
104
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4954559e9bec6dfc6894d3cbfbca14c605ecf59d4e80ea49000b40b19497e570
3
+ size 38200751
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65f11a3999ad227ca4c9243e4f13d851d549164ad6831eaa4b80b724332a4636
3
+ size 32763484
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953e12d132e3e6ad867ce7ba01a79e7e97f5b9a71cb609d516cb5c080e154e24
3
+ size 19131614
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17dbf6ccfe500ee8a5da9177ebcdbb1c7394626e077e70571adebae8833c9709
3
+ size 9659067
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:119524607ef3119d06d4e58786a22fab686971ef7294a2948bb30782bd94d19b
3
+ size 32862276
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56038c4a61c0a3621620e98514ab5d3eef9da1813b6507421064c20ccfe63f0b
3
+ size 16858915
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17dbf6ccfe500ee8a5da9177ebcdbb1c7394626e077e70571adebae8833c9709
3
+ size 9659067
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8039adbc4da0b746f30aece4d084704ecc6143dd702f2e8199f5e8fd2b54ed3f
3
+ size 9659067
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff