#!/usr/bin/env bash set -euo pipefail SEED=42 thinker_sampling_params='{ "temperature": 0.0, "top_p": 1.0, "top_k": -1, "max_tokens": 2048, "seed": 42, "detokenize": true, "repetition_penalty": 1.1 }' talker_sampling_params='{ "temperature": 0.9, "top_p": 0.8, "top_k": 40, "max_tokens": 2048, "seed": 42, "detokenize": true, "repetition_penalty": 1.05, "stop_token_ids": [8294] }' code2wav_sampling_params='{ "temperature": 0.0, "top_p": 1.0, "top_k": -1, "max_tokens": 2048, "seed": 42, "detokenize": true, "repetition_penalty": 1.1 }' # Above is optional, it has a default setting in stage_configs of the corresponding model. output=$(curl -sS -X POST http://localhost:8091/v1/chat/completions \ -H "Content-Type: application/json" \ -d @- <