Repository navigation
Expand file tree
/
Copy pathvoxcpm1.json
More file actions
298 lines (298 loc) · 8.3 KB
/
Copy pathvoxcpm1.json
File metadata and controls
298 lines (298 loc) · 8.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
{
"schema_version": 1,
"family": "voxcpm1",
"display_name": "VoxCPM1",
"description": "OpenBMB VoxCPM 0.5B tokenizer-free TTS model supporting short-reference voice cloning and streaming output (16kHz).",
"category": "tts",
"status": "supported",
"tasks": [
"tts",
"clone"
],
"modes": [
"offline",
"streaming"
],
"languages": [
"zh",
"en",
"ja",
"ko"
],
"capabilities": {
"clone": [
"speaker_reference"
]
},
"dependencies": [],
"options": {
"request": [
{
"name": "text_chunk_mode",
"type": "enum",
"description": "Text chunking mode; default tag_aware.",
"preset": "text_chunk_mode_full",
"required": false,
"default": "tag_aware"
},
{
"name": "seed",
"type": "int",
"description": "Random seed for MiniCPM and diffusion sampling.",
"required": false
},
{
"name": "max_tokens",
"type": "int",
"description": "Maximum MiniCPM output tokens; default 4096. Zero selects model max_length; negative counts are rejected.",
"required": false,
"default": 4096
},
{
"name": "min_tokens",
"type": "int",
"description": "Minimum MiniCPM output tokens before an EOS stop is honored; default 2.",
"required": false,
"default": 2
},
{
"name": "num_inference_steps",
"type": "int",
"description": "CFM diffusion sampling steps; default 10. Must be positive.",
"required": false,
"default": 10
},
{
"name": "guidance_scale",
"type": "float",
"description": "CFM classifier-free guidance rate. Must be nonnegative.",
"required": false,
"default": 2
},
{
"name": "retry_badcase",
"type": "bool",
"description": "Retry when generation is detected as a bad case; defaults to true offline and false in streaming. Streaming ignores an explicit true value with a warning.",
"required": false
},
{
"name": "retry_badcase_max_times",
"type": "int",
"description": "Maximum total generation attempts when retrying bad cases, including the initial attempt; default 3. Must be positive.",
"required": false,
"default": 3
},
{
"name": "retry_badcase_ratio_threshold",
"type": "float",
"description": "Bad-case ratio threshold for retry decisions. Must be positive.",
"required": false
},
{
"name": "prompt_text",
"type": "string",
"description": "Text prompt for prompt-continuation voice cloning.",
"required": false
},
{
"name": "reference_text",
"type": "string",
"description": "Alias for prompt_text; text prompt for prompt-continuation voice cloning.",
"required": false
},
{
"name": "text_chunk_size",
"type": "int",
"description": "Maximum characters per offline text chunk; must be positive. Does not control streaming chunk cadence.",
"required": false,
"min": 1,
"default": 2048
},
{
"name": "language",
"type": "string",
"description": "Language hint for Chinese-script normalization; Cantonese/yue preserves Traditional characters. Inherits structured transcript or voice language when provided.",
"required": false
}
],
"session": [
{
"name": "lora",
"type": "path",
"description": "Native LoRA directory or checkpoint file with adjacent lora_config.json; merged into generator weights at session creation.",
"required": false
},
{
"name": "lora_scale",
"type": "float",
"description": "Multiplier for the adapter's configured alpha/r scaling; default 1.",
"required": false,
"default": 1.0
},
{
"name": "mem_saver",
"type": "bool",
"description": "Use tighter graph workspaces and release request runtime graphs; default false.",
"required": false,
"default": false
},
{
"name": "prompt_cache_slots",
"type": "int",
"description": "Prompt and prompt-audio embedding cache slots; default 1.",
"required": false,
"default": 1
},
{
"name": "weight_type",
"type": "enum",
"description": "Model weight storage type.",
"preset": "weight_type_full",
"required": false,
"default": "native"
},
{
"name": "audiovae_weight_type",
"type": "enum",
"description": "AudioVAE weight storage type.",
"preset": "weight_type_full",
"required": false,
"default": "native"
},
{
"name": "weight_context_mb",
"type": "int",
"description": "Model weight graph context size in MB.",
"required": false
},
{
"name": "text_embedding_graph_arena_mb",
"type": "int",
"description": "Text embedding host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "lm_step_graph_arena_mb",
"type": "int",
"description": "LM step host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "projection_graph_arena_mb",
"type": "int",
"description": "Projection host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "local_encoder_graph_arena_mb",
"type": "int",
"description": "Local encoder host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "dit_graph_arena_mb",
"type": "int",
"description": "DiT estimator host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "audiovae_weight_context_mb",
"type": "int",
"description": "AudioVAE weight graph context size in MB.",
"required": false
},
{
"name": "audiovae_graph_arena_mb",
"type": "int",
"description": "AudioVAE decoder host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "audiovae_encoder_graph_arena_mb",
"type": "int",
"description": "AudioVAE encoder host graph-metadata arena size in MiB, not device workspace.",
"required": false
},
{
"name": "audiovae_latent_capacity",
"type": "int",
"description": "AudioVAE decoder latent frame capacity.",
"required": false
},
{
"name": "audiovae_encoder_sample_capacity",
"type": "int",
"description": "AudioVAE encoder sample capacity.",
"required": false
}
],
"load": []
},
"runtime": {
"tags": [
"gguf",
"stream"
]
},
"ui": {
"recommended_package": "voxcpm1_0_5b_q8_0",
"tags": [
"TTS",
"Clone",
"GGUF",
"Stream"
],
"docs": [
"docs/models/voxcpm1.md",
"docs/tts.md",
"docs/gguf.md"
]
},
"package_defaults": {
"download": {
"kind": "huggingface_snapshot",
"repo": "audio-cpp/audio.cpp-gguf",
"revision": "main",
"gated": false
}
},
"packages": [
{
"id": "voxcpm1_0_5b_q8_0",
"display_name": "VoxCPM 0.5B Q8_0 GGUF",
"default": true,
"format": "gguf",
"precision": "q8_0",
"target_directory": "VoxCPM1-GGUF",
"files": [
"VoxCPM1-GGUF/voxcpm-0.5b-q8_0-audiovae-f16.gguf"
],
"strip_prefix": "VoxCPM1-GGUF"
}
],
"sources": [
{
"format": "gguf",
"roots": {
"model": ".",
"weights": "$gguf"
},
"files": {
"config": "model:config.json",
"tokenizer_json": "model:tokenizer.json",
"tokenizer_config": "model:tokenizer_config.json"
},
"optional_files": {
"special_tokens_map": "model:special_tokens_map.json"
},
"tensors": {
"weights": {
"source": "weights:"
},
"audiovae_weights": {
"source": "weights:"
}
}
}
]
}