rohinp commited on
Commit
a6c2c61
·
verified ·
1 Parent(s): 8f8a4a8

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. added_tokens.json +40 -0
  2. generation_config.json +6 -4
  3. quantize_config.json +103 -0
added_tokens.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "\t\t": 50294,
3
+ "\t\t\t": 50293,
4
+ "\t\t\t\t": 50292,
5
+ "\t\t\t\t\t": 50291,
6
+ "\t\t\t\t\t\t": 50290,
7
+ "\t\t\t\t\t\t\t": 50289,
8
+ "\t\t\t\t\t\t\t\t": 50288,
9
+ "\t\t\t\t\t\t\t\t\t": 50287,
10
+ " ": 50286,
11
+ " ": 50285,
12
+ " ": 50284,
13
+ " ": 50283,
14
+ " ": 50282,
15
+ " ": 50281,
16
+ " ": 50280,
17
+ " ": 50279,
18
+ " ": 50278,
19
+ " ": 50277,
20
+ " ": 50276,
21
+ " ": 50275,
22
+ " ": 50274,
23
+ " ": 50273,
24
+ " ": 50272,
25
+ " ": 50271,
26
+ " ": 50270,
27
+ " ": 50269,
28
+ " ": 50268,
29
+ " ": 50267,
30
+ " ": 50266,
31
+ " ": 50265,
32
+ " ": 50264,
33
+ " ": 50263,
34
+ " ": 50262,
35
+ " ": 50261,
36
+ " ": 50260,
37
+ " ": 50259,
38
+ " ": 50258,
39
+ " ": 50257
40
+ }
generation_config.json CHANGED
@@ -1,6 +1,8 @@
1
  {
2
- "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 50256,
5
- "transformers_version": "4.33.0.dev0"
 
 
6
  }
 
1
  {
2
+ "max_new_tokens": 150,
3
+ "temperature": 0.9,
4
+ "top_p": 0.9,
5
+ "do_sample": true,
6
+ "num_beams": 1,
7
+ "early_stopping": true
8
  }
quantize_config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": false,
3
+ "reduce_range": false,
4
+ "per_model_config": {
5
+ "decoder_model": {
6
+ "op_types": [
7
+ "Cast",
8
+ "Equal",
9
+ "Sqrt",
10
+ "Softmax",
11
+ "Neg",
12
+ "Reshape",
13
+ "ReduceMean",
14
+ "Where",
15
+ "MatMul",
16
+ "Slice",
17
+ "Shape",
18
+ "Unsqueeze",
19
+ "Gather",
20
+ "Sub",
21
+ "Squeeze",
22
+ "Mul",
23
+ "Split",
24
+ "Expand",
25
+ "ConstantOfShape",
26
+ "Concat",
27
+ "Constant",
28
+ "Transpose",
29
+ "Range",
30
+ "Pow",
31
+ "Tanh",
32
+ "Add",
33
+ "Div"
34
+ ],
35
+ "weight_type": "QInt8"
36
+ },
37
+ "decoder_model_merged": {
38
+ "op_types": [
39
+ "Cast",
40
+ "Equal",
41
+ "Sqrt",
42
+ "Softmax",
43
+ "Neg",
44
+ "Reshape",
45
+ "ReduceMean",
46
+ "Where",
47
+ "MatMul",
48
+ "Slice",
49
+ "Shape",
50
+ "Gather",
51
+ "Unsqueeze",
52
+ "Sub",
53
+ "Squeeze",
54
+ "Mul",
55
+ "Split",
56
+ "Expand",
57
+ "ConstantOfShape",
58
+ "Concat",
59
+ "Constant",
60
+ "Transpose",
61
+ "Range",
62
+ "Pow",
63
+ "Tanh",
64
+ "Add",
65
+ "If",
66
+ "Div"
67
+ ],
68
+ "weight_type": "QInt8"
69
+ },
70
+ "decoder_with_past_model": {
71
+ "op_types": [
72
+ "Cast",
73
+ "Equal",
74
+ "Sqrt",
75
+ "Softmax",
76
+ "Neg",
77
+ "Reshape",
78
+ "ReduceMean",
79
+ "Where",
80
+ "MatMul",
81
+ "Slice",
82
+ "Shape",
83
+ "Unsqueeze",
84
+ "Gather",
85
+ "Sub",
86
+ "Squeeze",
87
+ "Mul",
88
+ "Split",
89
+ "Expand",
90
+ "ConstantOfShape",
91
+ "Concat",
92
+ "Constant",
93
+ "Transpose",
94
+ "Range",
95
+ "Pow",
96
+ "Tanh",
97
+ "Add",
98
+ "Div"
99
+ ],
100
+ "weight_type": "QInt8"
101
+ }
102
+ }
103
+ }