Upload quantized Marvis TTS 100M v0.2 with all configs and test samples
Browse files- config.json +17 -0
- generation_config.json +7 -0
- quantization_config.json +9 -2
- tokenizer_config.json +6 -0
config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"CsmModel"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "csm",
|
| 6 |
+
"hidden_size": 1024,
|
| 7 |
+
"num_hidden_layers": 24,
|
| 8 |
+
"num_attention_heads": 16,
|
| 9 |
+
"intermediate_size": 2816,
|
| 10 |
+
"max_position_embeddings": 4096,
|
| 11 |
+
"torch_dtype": "float16",
|
| 12 |
+
"vocab_size": 200000,
|
| 13 |
+
"quantization": {
|
| 14 |
+
"method": "8-bit-bitsandbytes",
|
| 15 |
+
"load_in_8bit": true
|
| 16 |
+
}
|
| 17 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 1,
|
| 3 |
+
"eos_token_id": 2,
|
| 4 |
+
"do_sample": false,
|
| 5 |
+
"max_length": 20,
|
| 6 |
+
"num_beams": 1
|
| 7 |
+
}
|
quantization_config.json
CHANGED
|
@@ -4,6 +4,13 @@
|
|
| 4 |
"model_size_original_mb": 930,
|
| 5 |
"model_size_quantized_mb": 465,
|
| 6 |
"compression_ratio": "50%",
|
| 7 |
-
"
|
| 8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
|
|
|
| 4 |
"model_size_original_mb": 930,
|
| 5 |
"model_size_quantized_mb": 465,
|
| 6 |
"compression_ratio": "50%",
|
| 7 |
+
"inference_framework": "transformers",
|
| 8 |
+
"tested_samples": [
|
| 9 |
+
"Hello, this is a test of the quantized Marvis TTS model.",
|
| 10 |
+
"Marvis TTS provides efficient real-time text-to-speech synthesis.",
|
| 11 |
+
"The quantized model maintains high quality while reducing memory usage.",
|
| 12 |
+
"You can use this model for voice synthesis on edge devices."
|
| 13 |
+
],
|
| 14 |
+
"quantization_date": "2025-11-10",
|
| 15 |
+
"all_samples_passed": true
|
| 16 |
}
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_max_length": 1000000000000000019884200,
|
| 3 |
+
"padding_side": "right",
|
| 4 |
+
"tokenizer_class": "AutoTokenizer",
|
| 5 |
+
"truncation_side": "right"
|
| 6 |
+
}
|