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": 25,
|
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:57af7f3d8d72a3ca4e5619c247344b4b5ee362a5ebcf307c0634d67b65e721c0
|
3 |
+
size 1157129714
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c54cf1332d491f7f4057504df4ac78a78712874aca1c5731330430e0c55259b
|
3 |
+
size 893933650
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cec3c771bfa7e886e029cd013326b13ad7d18f58fac33824f43c106fbdfe920
|
3 |
+
size 579717643
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:995058c82c5f570601dd8a0ba74ee60a392f764268bc5f628455e44dd3b476ec
|
3 |
+
size 349120924
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3c54cf1332d491f7f4057504df4ac78a78712874aca1c5731330430e0c55259b
|
3 |
+
size 893933650
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11d5f4f5a720931d91429867fc1df22fc507f1878a321ada77a47afa424ff3dc
|
3 |
+
size 471795362
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:995058c82c5f570601dd8a0ba74ee60a392f764268bc5f628455e44dd3b476ec
|
3 |
+
size 349120924
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:615a7a36da389066de2bf52a77015577123f9eca870f98f3de99d5cb10e1c48d
|
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 |
+
}
|