Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +88 -0
- onnx/model.onnx +3 -0
- onnx/model.onnx_data +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
- quantize_config.json +18 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +59 -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 |
+
onnx/model.onnx_data filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_attn_implementation_autoset": true,
|
3 |
+
"_name_or_path": "nvidia/domain-classifier",
|
4 |
+
"attention_probs_dropout_prob": 0.1,
|
5 |
+
"base_model": "microsoft/deberta-v3-base",
|
6 |
+
"config_path": null,
|
7 |
+
"fc_dropout": 0.2,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 1536,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Adult",
|
13 |
+
"1": "Arts_and_Entertainment",
|
14 |
+
"2": "Autos_and_Vehicles",
|
15 |
+
"3": "Beauty_and_Fitness",
|
16 |
+
"4": "Books_and_Literature",
|
17 |
+
"5": "Business_and_Industrial",
|
18 |
+
"6": "Computers_and_Electronics",
|
19 |
+
"7": "Finance",
|
20 |
+
"8": "Food_and_Drink",
|
21 |
+
"9": "Games",
|
22 |
+
"10": "Health",
|
23 |
+
"11": "Hobbies_and_Leisure",
|
24 |
+
"12": "Home_and_Garden",
|
25 |
+
"13": "Internet_and_Telecom",
|
26 |
+
"14": "Jobs_and_Education",
|
27 |
+
"15": "Law_and_Government",
|
28 |
+
"16": "News",
|
29 |
+
"17": "Online_Communities",
|
30 |
+
"18": "People_and_Society",
|
31 |
+
"19": "Pets_and_Animals",
|
32 |
+
"20": "Real_Estate",
|
33 |
+
"21": "Science",
|
34 |
+
"22": "Sensitive_Subjects",
|
35 |
+
"23": "Shopping",
|
36 |
+
"24": "Sports",
|
37 |
+
"25": "Travel_and_Transportation"
|
38 |
+
},
|
39 |
+
"initializer_range": 0.02,
|
40 |
+
"intermediate_size": 6144,
|
41 |
+
"label2id": {
|
42 |
+
"Adult": 0,
|
43 |
+
"Arts_and_Entertainment": 1,
|
44 |
+
"Autos_and_Vehicles": 2,
|
45 |
+
"Beauty_and_Fitness": 3,
|
46 |
+
"Books_and_Literature": 4,
|
47 |
+
"Business_and_Industrial": 5,
|
48 |
+
"Computers_and_Electronics": 6,
|
49 |
+
"Finance": 7,
|
50 |
+
"Food_and_Drink": 8,
|
51 |
+
"Games": 9,
|
52 |
+
"Health": 10,
|
53 |
+
"Hobbies_and_Leisure": 11,
|
54 |
+
"Home_and_Garden": 12,
|
55 |
+
"Internet_and_Telecom": 13,
|
56 |
+
"Jobs_and_Education": 14,
|
57 |
+
"Law_and_Government": 15,
|
58 |
+
"News": 16,
|
59 |
+
"Online_Communities": 17,
|
60 |
+
"People_and_Society": 18,
|
61 |
+
"Pets_and_Animals": 19,
|
62 |
+
"Real_Estate": 20,
|
63 |
+
"Science": 21,
|
64 |
+
"Sensitive_Subjects": 22,
|
65 |
+
"Shopping": 23,
|
66 |
+
"Sports": 24,
|
67 |
+
"Travel_and_Transportation": 25
|
68 |
+
},
|
69 |
+
"layer_norm_eps": 1e-07,
|
70 |
+
"legacy": true,
|
71 |
+
"max_position_embeddings": 512,
|
72 |
+
"max_relative_positions": -1,
|
73 |
+
"model_type": "deberta-v2",
|
74 |
+
"num_attention_heads": 24,
|
75 |
+
"num_hidden_layers": 24,
|
76 |
+
"pad_token_id": 0,
|
77 |
+
"pooler_dropout": 0,
|
78 |
+
"pooler_hidden_act": "gelu",
|
79 |
+
"pooler_hidden_size": 1536,
|
80 |
+
"pos_att_type": null,
|
81 |
+
"position_biased_input": true,
|
82 |
+
"pretrained": true,
|
83 |
+
"relative_attention": false,
|
84 |
+
"torch_dtype": "float32",
|
85 |
+
"transformers_version": "4.49.0",
|
86 |
+
"type_vocab_size": 0,
|
87 |
+
"vocab_size": 128100
|
88 |
+
}
|
onnx/model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:511cf3b8f4811bd08aca0f990c94e19f7884e5b91ff6a0767246a6c548d3064b
|
3 |
+
size 749428
|
onnx/model.onnx_data
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0cb0910228f726ce2fb61f154b97d416a609e172484e2bff757c9c0310cdbcb
|
3 |
+
size 3508105216
|
onnx/model_bnb4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8aeabe86eb48b14c588b9094a742f336d1b9da84a729671dde106b9402f2dc4f
|
3 |
+
size 1173164805
|
onnx/model_fp16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d04497c75d5b1ac85e8fa378de20b89277131acdf56208143e1f505ca9e1c34
|
3 |
+
size 1754795167
|
onnx/model_int8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca51a196a5c7b862c7f501bcebb73435694ae8b349b0829d556608bddf60a924
|
3 |
+
size 879605230
|
onnx/model_q4.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:107626f9c088872a698d262436fba5d32cd2f4cdde948b47f414efec5478d729
|
3 |
+
size 1215630957
|
onnx/model_q4f16.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:48f33ca397562fc102c6989523e4b282c497ea28e434f364388cf578407000d8
|
3 |
+
size 778067786
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca51a196a5c7b862c7f501bcebb73435694ae8b349b0829d556608bddf60a924
|
3 |
+
size 879605230
|
onnx/model_uint8.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39ac1b4e9d036144ff67ceadd6d80b6f66556c96e7d32be5bcdd1d0be9c5fd02
|
3 |
+
size 879605230
|
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,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "[CLS]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "[SEP]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "[MASK]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "[PAD]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "[SEP]",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "[UNK]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
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 |
+
"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 |
+
"128000": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"bos_token": "[CLS]",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_lower_case": false,
|
48 |
+
"eos_token": "[SEP]",
|
49 |
+
"extra_special_tokens": {},
|
50 |
+
"mask_token": "[MASK]",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"sp_model_kwargs": {},
|
55 |
+
"split_by_punct": false,
|
56 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
57 |
+
"unk_token": "[UNK]",
|
58 |
+
"vocab_type": "spm"
|
59 |
+
}
|