Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- added_tokens.json +6 -0
- config.json +3 -0
- gliner_config.json +31 -0
- onnx/model.onnx +3 -0
- onnx/model_bnb4.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_int8.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- onnx/model_uint8.onnx +3 -0
- special_tokens_map.json +15 -0
- spm.model +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +82 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
added_tokens.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<<ENT>>": 250103,
|
3 |
+
"<<SEP>>": 250104,
|
4 |
+
"[FLERT]": 250102,
|
5 |
+
"[MASK]": 250101
|
6 |
+
}
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "gliner"
|
3 |
+
}
|
gliner_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"class_token_index": 250103,
|
3 |
+
"dropout": 0.4,
|
4 |
+
"encoder_config": null,
|
5 |
+
"ent_token": "<<ENT>>",
|
6 |
+
"eval_every": 5000,
|
7 |
+
"fine_tune": true,
|
8 |
+
"has_rnn": true,
|
9 |
+
"hidden_size": 512,
|
10 |
+
"lr_encoder": "1e-5",
|
11 |
+
"lr_others": "5e-5",
|
12 |
+
"max_len": 384,
|
13 |
+
"max_neg_type_ratio": 1,
|
14 |
+
"max_types": 50,
|
15 |
+
"max_width": 12,
|
16 |
+
"model_name": "microsoft/mdeberta-v3-base",
|
17 |
+
"model_type": "gliner",
|
18 |
+
"name": "correct",
|
19 |
+
"num_steps": 30000,
|
20 |
+
"random_drop": true,
|
21 |
+
"sep_token": "<<SEP>>",
|
22 |
+
"shuffle_types": true,
|
23 |
+
"size_sup": -1,
|
24 |
+
"span_mode": "markerV0",
|
25 |
+
"subtoken_pooling": "first",
|
26 |
+
"train_batch_size": 8,
|
27 |
+
"transformers_version": "4.38.2",
|
28 |
+
"vocab_size": 250105,
|
29 |
+
"warmup_ratio": 3000,
|
30 |
+
"words_splitter_type": "whitespace"
|
31 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7c2d7ee4e3e76f56c7110e8456ce5af6961f99c8e6d3b220fd29e856cdedca4
|
3 |
+
size 1157129714
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:310a4e1440b1448165505fbd6880bade8f5bd58457c4dc144335c7702967dacd
|
3 |
+
size 893933650
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a304be8685fb172b54dd0fc3cb6bcaceac1503cab8491e88918b5539cc44b756
|
3 |
+
size 579717643
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84a41d7b406afce413b3ddfebb3912b890738e58e115da2dad6b69d0ccb59755
|
3 |
+
size 349120924
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:310a4e1440b1448165505fbd6880bade8f5bd58457c4dc144335c7702967dacd
|
3 |
+
size 893933650
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71e387462897910ce55a3ef491310433989481421b94475db721980a92309ba0
|
3 |
+
size 471795362
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84a41d7b406afce413b3ddfebb3912b890738e58e115da2dad6b69d0ccb59755
|
3 |
+
size 349120924
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d04dcaa316f690c067a34e967d2abf518e673f92c1b80528d02b0141c029846c
|
3 |
+
size 349120961
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": {
|
9 |
+
"content": "[UNK]",
|
10 |
+
"lstrip": false,
|
11 |
+
"normalized": true,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
}
|
15 |
+
}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3
|
3 |
+
size 4305025
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:914bd3c8fb7b525af9e23b60d0ec7b1248ddb2b99014efd9c02ebeb022f8cab7
|
3 |
+
size 16331948
|
tokenizer_config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"1": {
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"250101": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"250102": {
|
44 |
+
"content": "[FLERT]",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"250103": {
|
52 |
+
"content": "<<ENT>>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": false
|
58 |
+
},
|
59 |
+
"250104": {
|
60 |
+
"content": "<<SEP>>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": true,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": false
|
66 |
+
}
|
67 |
+
},
|
68 |
+
"bos_token": "[CLS]",
|
69 |
+
"clean_up_tokenization_spaces": true,
|
70 |
+
"cls_token": "[CLS]",
|
71 |
+
"do_lower_case": false,
|
72 |
+
"eos_token": "[SEP]",
|
73 |
+
"mask_token": "[MASK]",
|
74 |
+
"model_max_length": 1000000000000000019884624838656,
|
75 |
+
"pad_token": "[PAD]",
|
76 |
+
"sep_token": "[SEP]",
|
77 |
+
"sp_model_kwargs": {},
|
78 |
+
"split_by_punct": false,
|
79 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
80 |
+
"unk_token": "[UNK]",
|
81 |
+
"vocab_type": "spm"
|
82 |
+
}
|