Brak opisu

Whale and Dolphin 49374e0e95 Fix github action problem when building docker (#1106) 6 miesięcy temu
.github 49374e0e95 Fix github action problem when building docker (#1106) 6 miesięcy temu
docker cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu
docs ec8bf2b343 [docs/github action]:update docs and github actions for new docker (#1105) 6 miesięcy temu
fish_speech b25daedd60 API extension for reference voices. (#1099) 6 miesięcy temu
tools b25daedd60 API extension for reference voices. (#1099) 6 miesięcy temu
.dockerignore cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu
.gitignore 67335275cb Fix README.md link typo (#1104) 6 miesięcy temu
.pre-commit-config.yaml ee342f416b [pre-commit.ci] pre-commit autoupdate (#1090) 7 miesięcy temu
.project-root 5707699dfd Handle adaptive number of codebooks 2 lat temu
.readthedocs.yaml fe293ca492 Use readthedocs instead of github action 2 lat temu
API_FLAGS.txt 306ff66d9e fix flags 10 miesięcy temu
LICENSE a5629ad60a Update LICENSE (#740) 1 rok temu
README.md ec8bf2b343 [docs/github action]:update docs and github actions for new docker (#1105) 6 miesięcy temu
compose.base.yml cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu
compose.yml cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu
dockerfile.dev 23fa4d7e38 Fix dockerfile for `pyaudio` (#623) 1 rok temu
entrypoint.sh 62eae262c2 Make WebUI and API code cleaner (+ 1.5 fixes) (#703) 1 rok temu
inference.ipynb cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu
mkdocs.yml ec8bf2b343 [docs/github action]:update docs and github actions for new docker (#1105) 6 miesięcy temu
pyproject.toml cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu
pyrightconfig.json 6d57066e52 Update pre-commit hook 2 lat temu
uv.lock cccad3e098 Docker overhaul. (#1100) 6 miesięcy temu

README.md

Fish Speech

**English** | [简体中文](docs/README.zh.md) | [Portuguese](docs/README.pt-BR.md) | [日本語](docs/README.ja.md) | [한국어](docs/README.ko.md) | [العربية](docs/README.ar.md)




[!IMPORTANT] License Notice
This codebase is released under Apache License and all model weights are released under CC-BY-NC-SA-4.0 License. Please refer to LICENSE for more details.

[!WARNING] Legal Disclaimer
We do not hold any responsibility for any illegal usage of the codebase. Please refer to your local laws about DMCA and other related laws.

Start Here

Here are the official documents for Fish Speech, follow the instructions to get started easily.

🎉 Announcement

We are excited to announce that we have rebranded to OpenAudio — introducing a revolutionary new series of advanced Text-to-Speech models that builds upon the foundation of Fish-Speech.

We are proud to release OpenAudio-S1 as the first model in this series, delivering significant improvements in quality, performance, and capabilities.

OpenAudio-S1 comes in two versions: OpenAudio-S1 and OpenAudio-S1-mini. Both models are now available on Fish Audio Playground (for OpenAudio-S1) and Hugging Face (for OpenAudio-S1-mini).

Visit the OpenAudio website for blog & tech report.

Highlights ✨

Excellent TTS quality

We use Seed TTS Eval Metrics to evaluate the model performance, and the results show that OpenAudio S1 achieves 0.008 WER and 0.004 CER on English text, which is significantly better than previous models. (English, auto eval, based on OpenAI gpt-4o-transcribe, speaker distance using Revai/pyannote-wespeaker-voxceleb-resnet34-LM)

Model Word Error Rate (WER) Character Error Rate (CER) Speaker Distance
S1 0.008 0.004 0.332
S1-mini 0.011 0.005 0.380

Best Model in TTS-Arena2 🏆

OpenAudio S1 has achieved the #1 ranking on TTS-Arena2, the benchmark for text-to-speech evaluation:

TTS-Arena2 Ranking

Speech Control

OpenAudio S1 supports a variety of emotional, tone, and special markers to enhance speech synthesis:

  • Basic emotions:

    (angry) (sad) (excited) (surprised) (satisfied) (delighted) 
    (scared) (worried) (upset) (nervous) (frustrated) (depressed)
    (empathetic) (embarrassed) (disgusted) (moved) (proud) (relaxed)
    (grateful) (confident) (interested) (curious) (confused) (joyful)
    
  • Advanced emotions:

    (disdainful) (unhappy) (anxious) (hysterical) (indifferent) 
    (impatient) (guilty) (scornful) (panicked) (furious) (reluctant)
    (keen) (disapproving) (negative) (denying) (astonished) (serious)
    (sarcastic) (conciliative) (comforting) (sincere) (sneering)
    (hesitating) (yielding) (painful) (awkward) (amused)
    
  • Tone markers:

    (in a hurry tone) (shouting) (screaming) (whispering) (soft tone)
    
  • Special audio effects:

    (laughing) (chuckling) (sobbing) (crying loudly) (sighing) (panting)
    (groaning) (crowd laughing) (background laughter) (audience laughing)
    

You can also use Ha,ha,ha to control, there's many other cases waiting to be explored by yourself.

(Support for English, Chinese and Japanese now, and more languages is coming soon!)

Two Type of Models

Model Size Availability Features
S1 4B parameters Avaliable on fish.audio Full-featured flagship model
S1-mini 0.5B parameters Avaliable on huggingface hf space Distilled version with core capabilities

Both S1 and S1-mini incorporate online Reinforcement Learning from Human Feedback (RLHF).

Features

  1. Zero-shot & Few-shot TTS: Input a 10 to 30-second vocal sample to generate high-quality TTS output. For detailed guidelines, see Voice Cloning Best Practices.

  2. Multilingual & Cross-lingual Support: Simply copy and paste multilingual text into the input box—no need to worry about the language. Currently supports English, Japanese, Korean, Chinese, French, German, Arabic, and Spanish.

  3. No Phoneme Dependency: The model has strong generalization capabilities and does not rely on phonemes for TTS. It can handle text in any language script.

  4. Highly Accurate: Achieves a low CER (Character Error Rate) of around 0.4% and WER (Word Error Rate) of around 0.8% for Seed-TTS Eval.

  5. Fast: Accelerated by torch compile, the real-time factor is approximately 1:7 on an Nvidia RTX 4090 GPU.

  6. WebUI Inference: Features an easy-to-use, Gradio-based web UI compatible with Chrome, Firefox, Edge, and other browsers.

  7. Deploy-Friendly: Easily set up an inference server with native support for Linux and Windows (macOS support coming soon), minimizing performance loss.

Media & Demos

### **Social Media** Latest Demo on X ### **Interactive Demos** Try OpenAudio S1 Try S1 Mini ### **Video Showcases** OpenAudio S1 Video ### **Audio Samples**
High-quality audio samples will be available soon, demonstrating our multilingual TTS capabilities across different languages and emotions.


Credits

Tech Report (V1.4)

@misc{fish-speech-v1.4,
      title={Fish-Speech: Leveraging Large Language Models for Advanced Multilingual Text-to-Speech Synthesis},
      author={Shijia Liao and Yuxuan Wang and Tianyu Li and Yifan Cheng and Ruoyi Zhang and Rongzhi Zhou and Yijin Xing},
      year={2024},
      eprint={2411.01156},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2411.01156},
}