Upload folder using huggingface_hub
Browse files- config.json +26 -0
- generation_config.json +8 -0
- onnx/decoder_model.onnx +3 -0
- onnx/decoder_model_merged.onnx +3 -0
- onnx/decoder_model_merged_quantized.onnx +3 -0
- onnx/decoder_model_quantized.onnx +3 -0
- onnx/decoder_with_past_model.onnx +3 -0
- onnx/decoder_with_past_model_quantized.onnx +3 -0
- quantize_config.json +107 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +33 -0
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "RajuKandasamy/tamillama_tiny_30m",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"eos_token_id": 3,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 256,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 786,
|
12 |
+
"max_position_embeddings": 2048,
|
13 |
+
"model_type": "llama",
|
14 |
+
"num_attention_heads": 8,
|
15 |
+
"num_hidden_layers": 16,
|
16 |
+
"num_key_value_heads": 8,
|
17 |
+
"pad_token_id": 1,
|
18 |
+
"pretraining_tp": 1,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": null,
|
21 |
+
"rope_theta": 10000.0,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"transformers_version": "4.33.0.dev0",
|
24 |
+
"use_cache": false,
|
25 |
+
"vocab_size": 32000
|
26 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 3,
|
5 |
+
"pad_token_id": 1,
|
6 |
+
"transformers_version": "4.33.0.dev0",
|
7 |
+
"use_cache": false
|
8 |
+
}
|
onnx/decoder_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abb78dc2f1c5299eaad59f93311a58bae9a05729b5868e618cce89202bdf1623
|
3 |
+
size 122063009
|
onnx/decoder_model_merged.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:efd8b4ce2984ab0513d0b45387af4495b7ab1847fdc3c0c1a49a6b28d0f3e08c
|
3 |
+
size 123158321
|
onnx/decoder_model_merged_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6caa37c4cebcabe4be245d757c4ba49b7f947affa91887be3141c980dda14bb2
|
3 |
+
size 33048128
|
onnx/decoder_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5cdda076d1b9032209af769406e28ddd45c8b4a5e63b556229a49fbfd9f5baf
|
3 |
+
size 31653003
|
onnx/decoder_with_past_model.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32ea01e7681a85a7683d45ac32dfa120f4a727db54f414fe8335f1963d6574a6
|
3 |
+
size 122074560
|
onnx/decoder_with_past_model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1cf15031ad3ea5d12e50facb4e396a18c5a1b910f19a263822f9df36d4d7a6c
|
3 |
+
size 31667200
|
quantize_config.json
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"per_channel": false,
|
3 |
+
"reduce_range": false,
|
4 |
+
"per_model_config": {
|
5 |
+
"decoder_model": {
|
6 |
+
"op_types": [
|
7 |
+
"Identity",
|
8 |
+
"Range",
|
9 |
+
"Expand",
|
10 |
+
"If",
|
11 |
+
"Add",
|
12 |
+
"Concat",
|
13 |
+
"Transpose",
|
14 |
+
"Pow",
|
15 |
+
"Sigmoid",
|
16 |
+
"ReduceMean",
|
17 |
+
"Equal",
|
18 |
+
"Shape",
|
19 |
+
"Reshape",
|
20 |
+
"Where",
|
21 |
+
"Cast",
|
22 |
+
"Constant",
|
23 |
+
"Less",
|
24 |
+
"ConstantOfShape",
|
25 |
+
"Slice",
|
26 |
+
"Mul",
|
27 |
+
"Squeeze",
|
28 |
+
"MatMul",
|
29 |
+
"Div",
|
30 |
+
"Unsqueeze",
|
31 |
+
"Gather",
|
32 |
+
"Softmax",
|
33 |
+
"Neg",
|
34 |
+
"Sqrt",
|
35 |
+
"Sub"
|
36 |
+
],
|
37 |
+
"weight_type": "QInt8"
|
38 |
+
},
|
39 |
+
"decoder_model_merged": {
|
40 |
+
"op_types": [
|
41 |
+
"Identity",
|
42 |
+
"Range",
|
43 |
+
"If",
|
44 |
+
"Expand",
|
45 |
+
"Add",
|
46 |
+
"Concat",
|
47 |
+
"Transpose",
|
48 |
+
"Pow",
|
49 |
+
"Sigmoid",
|
50 |
+
"ReduceMean",
|
51 |
+
"Equal",
|
52 |
+
"Shape",
|
53 |
+
"Reshape",
|
54 |
+
"Where",
|
55 |
+
"Cast",
|
56 |
+
"Constant",
|
57 |
+
"Less",
|
58 |
+
"ConstantOfShape",
|
59 |
+
"Slice",
|
60 |
+
"Mul",
|
61 |
+
"Squeeze",
|
62 |
+
"MatMul",
|
63 |
+
"Div",
|
64 |
+
"Unsqueeze",
|
65 |
+
"Gather",
|
66 |
+
"Softmax",
|
67 |
+
"Neg",
|
68 |
+
"Sqrt",
|
69 |
+
"Sub"
|
70 |
+
],
|
71 |
+
"weight_type": "QInt8"
|
72 |
+
},
|
73 |
+
"decoder_with_past_model": {
|
74 |
+
"op_types": [
|
75 |
+
"Identity",
|
76 |
+
"Range",
|
77 |
+
"Expand",
|
78 |
+
"If",
|
79 |
+
"Add",
|
80 |
+
"Concat",
|
81 |
+
"Transpose",
|
82 |
+
"Pow",
|
83 |
+
"Sigmoid",
|
84 |
+
"ReduceMean",
|
85 |
+
"Equal",
|
86 |
+
"Shape",
|
87 |
+
"Reshape",
|
88 |
+
"Where",
|
89 |
+
"Cast",
|
90 |
+
"Constant",
|
91 |
+
"ConstantOfShape",
|
92 |
+
"Mul",
|
93 |
+
"Slice",
|
94 |
+
"Squeeze",
|
95 |
+
"MatMul",
|
96 |
+
"Div",
|
97 |
+
"Unsqueeze",
|
98 |
+
"Gather",
|
99 |
+
"Softmax",
|
100 |
+
"Neg",
|
101 |
+
"Sqrt",
|
102 |
+
"Sub"
|
103 |
+
],
|
104 |
+
"weight_type": "QInt8"
|
105 |
+
}
|
106 |
+
}
|
107 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<unk>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7dd6b7bc2edb9eb352bcc155235952e2c0601b6a245025176939eb7ecfeb861
|
3 |
+
size 1179251
|
tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"__type": "AddedToken",
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
"clean_up_tokenization_spaces": false,
|
11 |
+
"eos_token": {
|
12 |
+
"__type": "AddedToken",
|
13 |
+
"content": "</s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false
|
18 |
+
},
|
19 |
+
"legacy": true,
|
20 |
+
"model_max_length": 1000000000000000019884624838656,
|
21 |
+
"pad_token": null,
|
22 |
+
"sp_model_kwargs": {},
|
23 |
+
"tokenizer_class": "LlamaTokenizer",
|
24 |
+
"unk_token": {
|
25 |
+
"__type": "AddedToken",
|
26 |
+
"content": "<unk>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": true,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
},
|
32 |
+
"use_default_system_prompt": true
|
33 |
+
}
|