Upload improved quantized ONNX weights (#3)
Browse files- Upload improved quantized ONNX weights (7bb223cfa36adf34433e4b0ed826b7c80c491b63)
- Update config.json (dacab493a88b6b900150b525ac36e5f8f3a61360)
- config.json +13 -18
- onnx/decoder_model_merged_quantized.onnx +2 -2
- onnx/encoder_model_quantized.onnx +2 -2
config.json
CHANGED
@@ -1,39 +1,34 @@
|
|
1 |
{
|
2 |
-
"_attn_implementation_autoset": true,
|
3 |
-
"_name_or_path": "eustlb/moonshine",
|
4 |
-
"apply_spec_augment": false,
|
5 |
"architectures": [
|
6 |
-
"
|
7 |
],
|
8 |
"attention_bias": false,
|
9 |
"attention_dropout": 0.0,
|
10 |
"bos_token_id": 1,
|
11 |
"decoder_hidden_act": "silu",
|
|
|
|
|
|
|
12 |
"decoder_start_token_id": 1,
|
13 |
"encoder_hidden_act": "gelu",
|
|
|
|
|
|
|
14 |
"eos_token_id": 2,
|
15 |
-
"ff_mult": 4,
|
16 |
"hidden_size": 288,
|
17 |
"initializer_range": 0.02,
|
18 |
-
"intermediate_size":
|
19 |
"is_encoder_decoder": true,
|
20 |
-
"
|
21 |
-
"mask_feature_length": 10,
|
22 |
-
"mask_feature_min_masks": 0,
|
23 |
-
"mask_feature_prob": 0.0,
|
24 |
-
"mask_time_length": 10,
|
25 |
-
"mask_time_min_masks": 2,
|
26 |
-
"mask_time_prob": 0.05,
|
27 |
-
"max_position_embeddings": 2048,
|
28 |
"model_type": "moonshine",
|
29 |
"num_attention_heads": 8,
|
30 |
"num_hidden_layers": 6,
|
31 |
"num_key_value_heads": 8,
|
32 |
-
"partial_rotary_factor": 0.
|
33 |
-
"qk_layernorm": false,
|
34 |
"rope_scaling": null,
|
35 |
"rope_theta": 10000.0,
|
36 |
-
"
|
|
|
37 |
"use_cache": true,
|
38 |
"vocab_size": 32768
|
39 |
-
}
|
|
|
1 |
{
|
|
|
|
|
|
|
2 |
"architectures": [
|
3 |
+
"MoonshineForConditionalGeneration"
|
4 |
],
|
5 |
"attention_bias": false,
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 1,
|
8 |
"decoder_hidden_act": "silu",
|
9 |
+
"decoder_num_attention_heads": 8,
|
10 |
+
"decoder_num_hidden_layers": 6,
|
11 |
+
"decoder_num_key_value_heads": 8,
|
12 |
"decoder_start_token_id": 1,
|
13 |
"encoder_hidden_act": "gelu",
|
14 |
+
"encoder_num_attention_heads": 8,
|
15 |
+
"encoder_num_hidden_layers": 6,
|
16 |
+
"encoder_num_key_value_heads": 8,
|
17 |
"eos_token_id": 2,
|
|
|
18 |
"hidden_size": 288,
|
19 |
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 1152,
|
21 |
"is_encoder_decoder": true,
|
22 |
+
"max_position_embeddings": 512,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
"model_type": "moonshine",
|
24 |
"num_attention_heads": 8,
|
25 |
"num_hidden_layers": 6,
|
26 |
"num_key_value_heads": 8,
|
27 |
+
"partial_rotary_factor": 0.9,
|
|
|
28 |
"rope_scaling": null,
|
29 |
"rope_theta": 10000.0,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.48.0.dev0",
|
32 |
"use_cache": true,
|
33 |
"vocab_size": 32768
|
34 |
+
}
|
onnx/decoder_model_merged_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eed87831c3a6103534aae7d47a5d485025c659a1323901513961c39fe8a1a367
|
3 |
+
size 20243286
|
onnx/encoder_model_quantized.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6fc4b7bc5af75c0591fd157a1f3829b533d18e9769a888fd95a62e470dd4f4a
|
3 |
+
size 7937661
|