hukyhukygo commited on
Commit
1fa25f9
·
verified ·
1 Parent(s): 95b508f

Update official model card

Browse files
Files changed (1) hide show
  1. README.md +26 -19
README.md CHANGED
@@ -11,7 +11,8 @@ tags:
11
 
12
  # FireRedTTS3-Instruct for SGLang Omni
13
 
14
- We provide our FireRedTTS3-Instruct checkpoint for inference with
 
15
  [SGLang Omni](https://github.com/sgl-project/sglang-omni). It supports
16
  reference-audio voice cloning, instruction-guided voice design, semantic editing, and acoustic editing.
17
  Audio output is 24 kHz mono, with WAV responses and streaming PCM available
@@ -39,20 +40,15 @@ source .venv/bin/activate
39
  uv pip install --prerelease=allow -e '.[firered-tts3]'
40
  ```
41
 
42
- Use a revision containing the FireRedTTS3 integration. Before that integration
43
- is merged, check out the corresponding PR revision before installing; an older
44
- PyPI release or checkout does not provide this model. Run the following commands
45
- from the `sglang-omni` repository root.
46
 
47
  ## Download this checkpoint
48
 
49
- For PR testing, use our temporary checkpoint at
50
- [CKermit/FireRedTTS3-Instruct](https://huggingface.co/CKermit/FireRedTTS3-Instruct).
51
- After this PR, we plan to publish the official checkpoint at
52
- [FireRedTeam/FireRedTTS3-Instruct](https://huggingface.co/FireRedTeam/FireRedTTS3-Instruct).
53
 
54
  ```bash
55
- hf download CKermit/FireRedTTS3-Instruct \
56
  --local-dir ./models/FireRedTTS3-Instruct
57
  ```
58
 
@@ -90,7 +86,6 @@ curl --fail-with-body -X POST http://localhost:8000/v1/audio/speech \
90
  -d '{
91
  "model": "FireRedTTS3-Instruct",
92
  "input": "Hello, welcome to SGLang Omni.",
93
- "language": "English",
94
  "references": [{
95
  "audio_path": "docs/_static/audio/ref_voice.wav",
96
  "text": "It was the night before my birthday. Hooray! It’s almost here! It may not be a holiday, but it’s the best day of the year."
@@ -167,8 +162,22 @@ Raw acoustic instructions must follow the trained templates rather than
167
  free-form descriptions. For pitch or volume, use, for example,
168
  `"instructions": "shift the pitch by 2 steps"` or
169
  `"instructions": "adjust the volume to 0.8"`. An explicit `instructions`
170
- string takes precedence over the composed speed instruction. The `speed`
171
- field applies to `AcousticEdit`; it does not change cloning or voice design.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  Edit sources are capped at 20 seconds. VoiceDesign and SemanticEdit generate
173
  text before audio, so their first-audio latency differs from cloning.
174
 
@@ -236,18 +245,16 @@ if __name__ == "__main__":
236
  ## Serving notes
237
 
238
  - The current deployment supports a single GPU (`tp_size=1`).
239
- - HTTP `input` is limited to 400 characters. Editing requests may use an empty
240
  `input` as shown above.
241
- - Use an explicit language: `Chinese` (default), `English`, `Japanese`, `Korean`,
242
- `German`, `French`, `Russian`, `Portuguese`, `Spanish`, or `Italian`.
243
- Automatic language detection (`Auto`) is unsupported. These are the stock
244
- serving API's accepted language values; FireRedTTS3 supports additional
245
- languages and dialects through our standalone inference pipeline.
246
  - Submit spoken-form text when normalization is needed. The FastText and LLM
247
  text-normalization setup in our standalone pipeline is not used in this quick start.
248
  - Put flow-solver settings under `stage_params.talker`, for example
249
  `{"n_timesteps": 10, "inference_cfg": 2.0, "max_patches": 200}`. Unknown
250
  top-level fields are not forwarded as model settings.
 
 
251
  - `seed` controls the per-request flow sampler. Different precisions, hardware,
252
  or batching schedules can produce different results with the same seed.
253
  - For our published model-quality results, see the
 
11
 
12
  # FireRedTTS3-Instruct for SGLang Omni
13
 
14
+ This repository contains the officially released HF-format FireRedTTS3-Instruct
15
+ checkpoint for inference with
16
  [SGLang Omni](https://github.com/sgl-project/sglang-omni). It supports
17
  reference-audio voice cloning, instruction-guided voice design, semantic editing, and acoustic editing.
18
  Audio output is 24 kHz mono, with WAV responses and streaming PCM available
 
40
  uv pip install --prerelease=allow -e '.[firered-tts3]'
41
  ```
42
 
43
+ Run the following commands from the `sglang-omni` repository root.
 
 
 
44
 
45
  ## Download this checkpoint
46
 
47
+ Download the official HF-format checkpoint from
48
+ [FireRedTeam/FireRedTTS3-Instruct-HF](https://huggingface.co/FireRedTeam/FireRedTTS3-Instruct-HF).
 
 
49
 
50
  ```bash
51
+ hf download FireRedTeam/FireRedTTS3-Instruct-HF \
52
  --local-dir ./models/FireRedTTS3-Instruct
53
  ```
54
 
 
86
  -d '{
87
  "model": "FireRedTTS3-Instruct",
88
  "input": "Hello, welcome to SGLang Omni.",
 
89
  "references": [{
90
  "audio_path": "docs/_static/audio/ref_voice.wav",
91
  "text": "It was the night before my birthday. Hooray! It’s almost here! It may not be a holiday, but it’s the best day of the year."
 
162
  free-form descriptions. For pitch or volume, use, for example,
163
  `"instructions": "shift the pitch by 2 steps"` or
164
  `"instructions": "adjust the volume to 0.8"`. An explicit `instructions`
165
+ string takes precedence over composed acoustic instructions. Without explicit
166
+ `instructions`, the composed `acoustic_attribute` must be supported (`Speed`,
167
+ `Pitch`, or `Volume`) and its value must be a finite number. Set
168
+ `acoustic_attribute` and `acoustic_value` under `stage_params.preprocessing`.
169
+ For example:
170
+
171
+ ```json
172
+ {
173
+ "stage_params": {
174
+ "preprocessing": {"acoustic_attribute": "Pitch", "acoustic_value": 2}
175
+ }
176
+ }
177
+ ```
178
+
179
+ The top-level `speed` field supplies the Speed value for `AcousticEdit`; it
180
+ does not change cloning or voice design.
181
  Edit sources are capped at 20 seconds. VoiceDesign and SemanticEdit generate
182
  text before audio, so their first-audio latency differs from cloning.
183
 
 
245
  ## Serving notes
246
 
247
  - The current deployment supports a single GPU (`tp_size=1`).
248
+ - The `input` text is limited to 400 characters. Editing requests may use an empty
249
  `input` as shown above.
250
+ - Instruct does not use the Base model's language tag.
 
 
 
 
251
  - Submit spoken-form text when normalization is needed. The FastText and LLM
252
  text-normalization setup in our standalone pipeline is not used in this quick start.
253
  - Put flow-solver settings under `stage_params.talker`, for example
254
  `{"n_timesteps": 10, "inference_cfg": 2.0, "max_patches": 200}`. Unknown
255
  top-level fields are not forwarded as model settings.
256
+ - HTTP, batch, and WebSocket requests do not forward `extra_params`. The SDK
257
+ `GenerateRequest.extra_params` field remains available for SDK requests.
258
  - `seed` controls the per-request flow sampler. Different precisions, hardware,
259
  or batching schedules can produce different results with the same seed.
260
  - For our published model-quality results, see the