mirror of
https://github.com/jambonz/speech-utils.git
synced 2025-12-19 03:37:49 +00:00
support rimelabs arcana
This commit is contained in:
@@ -963,6 +963,11 @@ const synthRimelabs = async(logger, {
|
||||
params += ',write_cache_file=1';
|
||||
if (opts.speedAlpha) params += `,speed_alpha=${opts.speedAlpha}`;
|
||||
if (opts.reduceLatency) params += `,reduce_latency=${opts.reduceLatency}`;
|
||||
// Arcana model parameters
|
||||
if (opts.temperature) params += `,temperature=${opts.temperature}`;
|
||||
if (opts.repetition_penalty) params += `,repetition_penalty=${opts.repetition_penalty}`;
|
||||
if (opts.top_p) params += `,top_p=${opts.top_p}`;
|
||||
if (opts.max_tokens) params += `,max_tokens=${opts.max_tokens}`;
|
||||
params += '}';
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user