{"_id":"69ae5f4aa257ccb6cd5b2abc","id":"fishaudio/s2-pro","private":false,"pipeline_tag":"text-to-speech","tags":["safetensors","fish_qwen3_omni","text-to-speech","instruction-following","multilingual","zh","en","ja","ko","es","pt","ar","ru","fr","de","sv","it","tr","no","nl","cy","eu","ca","da","gl","ta","hu","fi","pl","et","hi","la","ur","th","vi","jw","bn","yo","sl","cs","sw","nn","he","ms","uk","id","kk","bg","lv","my","tl","sk","ne","fa","af","el","bo","hr","ro","sn","mi","yi","am","be","km","is","az","sd","br","sq","ps","mn","ht","ml","sr","sa","te","ka","bs","pa","lt","kn","si","hy","mr","as","gu","fo","arxiv:2603.08823","license:other","region:us"],"downloads":47683,"likes":1500,"modelId":"fishaudio/s2-pro","author":"fishaudio","sha":"1de9996b6be38b745688de084d87a5633f714e4e","lastModified":"2026-03-11T15:32:58.000Z","gated":false,"disabled":false,"model-index":null,"config":{"model_type":"fish_qwen3_omni","tokenizer_config":{"bos_token":null,"eos_token":"<|endoftext|>","pad_token":"<|endoftext|>","unk_token":null},"chat_template_jinja":"{%- if tools %}\n    {{- '<|im_start|>system\\n' }}\n    {%- if messages[0].role == 'system' %}\n        {{- messages[0].content + '\\n\\n' }}\n    {%- endif %}\n    {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n    {%- for tool in tools %}\n        {{- \"\\n\" }}\n        {{- tool | tojson }}\n    {%- endfor %}\n    {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n    {%- if messages[0].role == 'system' %}\n        {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n    {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n    {%- set index = (messages|length - 1) - loop.index0 %}\n    {%- if ns.multi_step_tool and message.role == \"user\" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n        {%- set ns.multi_step_tool = false %}\n        {%- set ns.last_query_index = index %}\n    {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n    {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n        {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n    {%- elif message.role == \"assistant\" %}\n        {%- set content = message.content %}\n        {%- set reasoning_content = '' %}\n        {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n            {%- set reasoning_content = message.reasoning_content %}\n        {%- else %}\n            {%- if '</think>' in message.content %}\n                {%- set content = message.content.split('</think>')[-1].lstrip('\\n') %}\n                {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n            {%- endif %}\n        {%- endif %}\n        {%- if loop.index0 > ns.last_query_index %}\n            {%- if loop.last or (not loop.last and reasoning_content) %}\n                {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n            {%- else %}\n                {{- '<|im_start|>' + message.role + '\\n' + content }}\n            {%- endif %}\n        {%- else %}\n            {{- '<|im_start|>' + message.role + '\\n' + content }}\n        {%- endif %}\n        {%- if message.tool_calls %}\n            {%- for tool_call in message.tool_calls %}\n                {%- if (loop.first and content) or (not loop.first) %}\n                    {{- '\\n' }}\n                {%- endif %}\n                {%- if tool_call.function %}\n                    {%- set tool_call = tool_call.function %}\n                {%- endif %}\n                {{- '<tool_call>\\n{\"name\": \"' }}\n                {{- tool_call.name }}\n                {{- '\", \"arguments\": ' }}\n                {%- if tool_call.arguments is string %}\n                    {{- tool_call.arguments }}\n                {%- else %}\n                    {{- tool_call.arguments | tojson }}\n                {%- endif %}\n                {{- '}\\n</tool_call>' }}\n            {%- endfor %}\n        {%- endif %}\n        {{- '<|im_end|>\\n' }}\n    {%- elif message.role == \"tool\" %}\n        {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n            {{- '<|im_start|>user' }}\n        {%- endif %}\n        {{- '\\n<tool_response>\\n' }}\n        {{- message.content }}\n        {{- '\\n</tool_response>' }}\n        {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n            {{- '<|im_end|>\\n' }}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n    {{- '<|im_start|>assistant\\n' }}\n    {%- if enable_thinking is defined and enable_thinking is false %}\n        {{- '<think>\\n\\n</think>\\n\\n' }}\n    {%- endif %}\n{%- endif %}"},"cardData":{"language":["zh","en","ja","ko","es","pt","ar","ru","fr","de","sv","it","tr","no","nl","cy","eu","ca","da","gl","ta","hu","fi","pl","et","hi","la","ur","th","vi","jw","bn","yo","sl","cs","sw","nn","he","ms","uk","id","kk","bg","lv","my","tl","sk","ne","fa","af","el","bo","hr","ro","sn","mi","yi","am","be","km","is","az","sd","br","sq","ps","mn","ht","ml","sr","sa","te","ka","bs","pa","lt","kn","si","hy","mr","as","gu","fo"],"license":"other","license_name":"fish-audio-research-license","license_link":"LICENSE.md","pipeline_tag":"text-to-speech","tags":["text-to-speech","instruction-following","multilingual"],"inference":false,"extra_gated_prompt":"You agree to not use the model to generate contents that violate DMCA or local laws.","extra_gated_fields":{"Country":"country","Specific date":"date_picker","I agree to use this model for non-commercial use ONLY":"checkbox"}},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"LICENSE.md"},{"rfilename":"README.md"},{"rfilename":"chat_template.jinja"},{"rfilename":"codec.pth"},{"rfilename":"config.json"},{"rfilename":"model-00001-of-00002.safetensors"},{"rfilename":"model-00002-of-00002.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"overview.png"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"}],"spaces":["fastgpu/vram-and-gpu-cost-calculator","fishaudio/Drama-3","EmreAkgul/turkish-tts-arena","eustlb/tts-models-on-the-hub","cyacya8023/Iroha-TTS","cyacya8023/Iroha-360-ASMR","artificialguybr/fish-s2-pro-zero","HumeAI/voice-replication-leaderboard","fguilleme/fish-s2-pro-zero","MAYA-AI/fish-s2-pro-zero","huggerhuggy/fish-s2-pro-zero","oathanrex/s2-pro","NoodleNinja/fish-s2-pro-zero","omarAdelOsman/fish-s2-pro-zero","MihaiPopa-1/fish-s2-pro-cpu","aberbossio/fishaudios2-pro","aberbossio/TTS","Blakus/Pedro_Lab_S2PRO_TTS_demo","HappyDonald/Fish-Speech-s2","SPACERUNNER99/fish-s2-pro-zero","abersbail/fishaudio-s2-pro-hindi-hinglish-tts","MrSU888/fish-s2-pro-zero","Keyra/fish-s2-pro-zero","notaneimu/fish-s2-pro-zero-extended-controls","henribarbosanf/fish-s2-pro-zero","topabaem/fish-audio-s2-pro-longform-tts-lab","ehmusman/ultimate-tts-studio","andre1114/fish-s2-pro-zero","Ninoquepasacausa/fish-s2-pro-zero","Swagcrew/fish-quant-samples","unsloth-jobs/fish-quant-samples","missrouge/fish_speech","ld57/fish-s2-pro-zero","Impulse2000/fish-s2-pro-zero","Thanush123/t_studio","yrtria/fish-s2-pro-zero","SonorousName/fish-s2-pro-zero","LestonEth/vyntoneAi","tempestidkbungle/fish-s2-pro-zero","tsi-org/fish-s2-pro-zero","seb2oo/seb_full_avatar","Mike0021/Drama-3","rohadiz/Drama-3","zloxi/Drama-3","600me/rag-web-scraping-cost-calculator","600me/ai-saas-stripe-vs-mor-tax-calculator","robertbschuette/Drama-3","ELITEJOE/joe-fish-speech","bep40/Drama-3","600me/pdf-api-cost-calculator","600me/seo-workflow-tco-calculator","Jhoni08/vram-and-gpu-cost-calculator","sunukunsinje/Drama-3","JUDY1024618/vram-and-gpu-cost-calculator","2023Ryan/vram-and-gpu-cost-calculator","Shanny1126/test2"],"createdAt":"2026-03-09T05:48:58.000Z","safetensors":{"parameters":{"BF16":4561852416},"total":4561852416},"usedStorage":11010611192}