tarekziade commited on
Commit
261f5b1
1 Parent(s): 3c45170

Upload 8 files

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "huawei-noah/TinyBERT_General_4L_312D",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
@@ -34,8 +34,7 @@
34
  "seq_classif_dropout": 0.2,
35
  "sinusoidal_pos_embds": false,
36
  "structure": [],
37
- "torch_dtype": "float32",
38
- "transformers_version": "4.38.2",
39
  "type_vocab_size": 2,
40
  "vocab_size": 30522
41
  }
 
1
  {
2
+ "_name_or_path": "tarekziade/pardonmyai-tiny",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
 
34
  "seq_classif_dropout": 0.2,
35
  "sinusoidal_pos_embds": false,
36
  "structure": [],
37
+ "transformers_version": "4.36.2",
 
38
  "type_vocab_size": 2,
39
  "vocab_size": 30522
40
  }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa4a8a071e1e4734ec0b9af9ef3f906e9edde123d0771ca5af18cfe7bf414937
3
+ size 76214518
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9de50faf4477be23561ad178c4bf28c5eccff30f7b976c77891357c5e6dd28d
3
+ size 19354582
quantize_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "Constant",
8
+ "MatMul",
9
+ "Concat",
10
+ "Cast",
11
+ "Where",
12
+ "Shape",
13
+ "Softmax",
14
+ "Sqrt",
15
+ "Unsqueeze",
16
+ "Transpose",
17
+ "Expand",
18
+ "Gather",
19
+ "Erf",
20
+ "Pow",
21
+ "ReduceMean",
22
+ "Reshape",
23
+ "Slice",
24
+ "Sub",
25
+ "Gemm",
26
+ "Equal",
27
+ "Relu",
28
+ "Add",
29
+ "Mul",
30
+ "Div"
31
+ ],
32
+ "weight_type": "QInt8"
33
+ }
34
+ }
35
+ }
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
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