Orpheus Bangla Emotional TTS Model
This is a Text-to-Speech model for Bangla (Bengali) language based on the Orpheus architecture. The model can generate natural-sounding Bangla speech from text input with various emotional styles.
Research only, non-commercial. This model is licensed under the ehzawad Research-Only Non-Commercial Model License 1.0. Use is limited to non-commercial research and R&D, with credit to Emrul Hasan Zawad (ehzawad) and a citation of this model. Commercial or production use, sharing the weights, and hosted services need written permission: ehzawad@gmail.com.
🎮 Demo
Try out the model directly using our Hugging Face Space:
Model Details
- Model Type: Text-to-Speech
- Language: Bangla (Bengali)
- Architecture: Orpheus TTS + SNAC decoder
- Sample Rate: 24kHz
- Special Features: Emotional speech synthesis
- Emotions: Various emotional tones including happy, sad, angry, disgusted, frustrated, excited, curious, surprised, etc.
Supported Emotions
This model supports the following emotional styles:
- happy
- normal
- disgust
- sad
- frustrated
- slow
- excited
- whisper
- panicky
- curious
- surprise
- fast
- crying
- deep
- sleepy
- angry
- high
- shout
Note (October 2026): writing the emotion as
<happy>text</happy>orhappy: textmakes the model say the word aloud instead of changing its style. Plain text gives clean speech, and the demo uses plain text.
Usage
Try it in the demo Space, or run it on a CUDA GPU with at least 8 GB of memory:
pip install torch transformers accelerate snac soundfile
import torch
import soundfile as sf
from snac import SNAC
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "ehzawad/orpheus-bangla-emotional-tts"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16).to("cuda").eval()
snac = SNAC.from_pretrained("hubertsiuzdak/snac_24khz").eval().to("cuda")
text = "আজকের আবহাওয়াটা খুব সুন্দর, চলো একটু বাইরে ঘুরে আসি।" # plain Bangla text, about one or two sentences
ids = tokenizer(text, return_tensors="pt").input_ids
ids = torch.cat([torch.tensor([[128259]]), ids, torch.tensor([[128009, 128260]])], dim=1).to("cuda")
with torch.inference_mode():
out = model.generate(input_ids=ids, attention_mask=torch.ones_like(ids), max_new_tokens=2000, do_sample=True,
temperature=0.6, top_p=0.95, repetition_penalty=1.1, eos_token_id=128258, pad_token_id=128004)
# Audio tokens come after [start of speech] (128257) and before [end of speech] (128258), 7 per frame.
tokens = out[0, ids.shape[1]:].tolist()
if 128257 in tokens:
tokens = tokens[len(tokens) - tokens[::-1].index(128257):]
if 128258 in tokens:
tokens = tokens[:tokens.index(128258)]
codes = [t - 128266 for t in tokens if t >= 128266]
l1, l2, l3 = [], [], []
for i in range(len(codes) // 7):
f = [c - k * 4096 for k, c in enumerate(codes[7 * i:7 * i + 7])]
l1.append(f[0]); l2 += [f[1], f[4]]; l3 += [f[2], f[3], f[5], f[6]]
with torch.inference_mode():
audio = snac.decode([torch.tensor(x, device="cuda").unsqueeze(0) for x in (l1, l2, l3)])
sf.write("out.wav", audio.squeeze().float().cpu().numpy(), 24000)
Sampling is random, so each run sounds a little different. For long text, speak one or two sentences at a time and join the audio.
License
ehzawad Research-Only Non-Commercial Model License 1.0. In short:
| ✅ Allowed | Non-commercial research and R&D, education, personal experiments, evaluation, benchmarking and fine-tuning for research |
| ✅ Required | Credit Emrul Hasan Zawad (ehzawad) and cite this model in every paper, report, post, code repository, notebook or demo that uses it or its outputs |
| ❌ Not allowed without written permission | Commercial or production use; sharing the weights or any fine-tuned, quantized, merged or distilled version; hosting it as a service, API, app, demo or Space; using its outputs to train commercial models |
| ❌ Never allowed | Cloning a real person's voice without their explicit permission; impersonation, deception or fraud |
| ✉️ Permission | ehzawad@gmail.com |
The base model, Orpheus TTS by Canopy Labs, is released under the Apache License 2.0 (LICENSE-APACHE-2.0, NOTICE). Until 15 October 2026 this repository published these weights under the Apache License 2.0; copies obtained then keep the rights that license gave. The full license for this model follows; it is also in LICENSE.
ehzawad Research-Only Non-Commercial Model License
Version 1.0, October 2026
Copyright (c) 2026 Emrul Hasan Zawad (ehzawad). All rights not expressly granted below are reserved.
By requesting access to, downloading, copying or using the Model, You agree to this License. If You do not
agree, do not access or use the Model.
1. Definitions
"Licensor" means Emrul Hasan Zawad (ehzawad on Hugging Face and GitHub).
"Model" means the machine-learning model published at
https://huggingface.co/ehzawad/orpheus-bangla-emotional-tts (the "Official Repository"), including its
weights and parameters in any format, its configuration and tokenizer files, its documentation and every
other file in the Official Repository, except the third-party files that Section 7 names as remaining
under their own licenses.
"Derivative" means any model, or set of model parameters, created from or based on the Model, in whole or
in part, including fine-tuned, adapted (for example with LoRA or other adapters), quantized, pruned,
merged, converted or distilled versions, and any model trained or fine-tuned on Outputs.
"Output" means any transcript, audio or other content generated by the Model or by a Derivative.
"Research Purpose" means non-commercial scientific research, non-commercial research and development
(R&D), education, and personal experimentation, including evaluating, benchmarking, analysing and
fine-tuning the Model, and research experiments and studies run by universities, laboratories and other
organizations, provided that neither the use nor its results serve a Commercial Purpose.
"Commercial Purpose" means any purpose intended for, directed toward or resulting in commercial advantage
or monetary compensation, direct or indirect, including:
(a) using the Model, a Derivative or Outputs in, or to develop, prototype, evaluate, improve or
support, any product, service or business process, internal or external, paid or free;
(b) production use, meaning the operational deployment of the Model, a Derivative or Outputs to serve
users or customers, or in the business, administrative or service operations of any company,
organization or government body. Research experiments and studies run for a Research Purpose are
not production use;
(c) selling, licensing, renting or otherwise monetizing the Model, a Derivative or Outputs;
(d) using Outputs to build datasets for, or to train, fine-tune or improve, any model used for a
Commercial Purpose;
(e) paid consulting or contract work that uses the Model, a Derivative or Outputs.
"Official Demonstration" means a demonstration of the Model that the Licensor operates, such as a Hugging
Face Space published under the Licensor's account and linked from the Official Repository.
"You" means the individual or legal entity exercising rights under this License.
2. License grant
Subject to Your continued compliance with this License, the Licensor grants You a personal, worldwide,
non-exclusive, non-transferable, non-sublicensable, royalty-free and revocable license to download, use,
reproduce and modify the Model, and to create Derivatives, solely for Research Purposes.
3. Restrictions
Unless the Licensor has given You prior written permission, You must not:
(a) use the Model, any Derivative or any Output for any Commercial Purpose, including production use;
(b) distribute, publish, upload, share or otherwise make available the Model's weights or any
Derivative, in whole or in part and in any format, to any other person or organization. Everyone
who obtains the Model must obtain it from the Official Repository and accept this License there.
You may, however, reproduce the Model's citation, its license and notice texts, and short excerpts
of its documentation such as usage examples;
(c) make the Model or any Derivative available to others as a hosted service, API, application, web
demo, Hugging Face Space or any other network-accessible service, whether paid or free;
(d) share Your access to the Official Repository, or otherwise help anyone bypass its access request;
(e) remove, alter or obscure any copyright, license or attribution notice in the Model.
4. Prohibited uses
No permission from the Licensor can authorize the following. You must never:
(a) use the Model, a Derivative or Outputs in violation of any applicable law;
(b) generate speech in the voice of any real person without that person's explicit permission, or use
Outputs to impersonate anyone, to deceive, or to defraud.
5. Attribution
Every use of the Model, a Derivative or Outputs must credit the Licensor. In particular, every paper,
preprint, thesis, report, presentation, poster, blog or social-media post, benchmark result, code
repository, notebook or demonstration that uses, evaluates or reports on the Model, a Derivative or
Outputs must:
(a) credit the Licensor by name as "Emrul Hasan Zawad (ehzawad)"; and
(b) cite the Model with the citation given in the Official Repository, including its DOI once one has
been assigned.
Where a use produces no such work, You must keep this credit and citation in the documentation or
records of the project in which You use the Model. Under these conditions You may publish research
results obtained with the Model, including short examples of Outputs.
6. Official Demonstrations
You may use an Official Demonstration, through the interface the Licensor provides, only for Research
Purposes or to evaluate the Model, and not to process data at scale or as part of any other product or
service. Outputs You obtain from an Official Demonstration are subject to this License.
7. Base model
The Model is a fine-tuned derivative of Orpheus TTS by Canopy Labs (https://huggingface.co/canopylabs), which
is released under the Apache License, Version 2.0 (see LICENSE-APACHE-2.0 and NOTICE). Orpheus is built on
Meta's Llama 3.2, whose license terms may also apply to the base weights. Files that are unchanged from the
base model remain under their original licenses, however You receive them. This License applies to the
Licensor's modifications, including the fine-tuned weights, and to the Model as a whole. It does not limit
any rights You have in the base model or in those unchanged files under their own licenses.
Earlier release. Until 15 October 2026 the Official Repository published these weights under the Apache
License, Version 2.0. Copies obtained under that license keep the rights it gave. This License governs the
Model as published in the Official Repository from 15 October 2026.
8. Commercial and production permission
Commercial use, production use, redistribution and hosted services may be licensed separately, under
terms agreed with the Licensor. Write to ehzawad@gmail.com. No such permission exists unless the Licensor
has given it to You in writing. Section 4 applies whatever permission is given.
9. Termination
This License terminates automatically, without notice, if You breach any of its terms. The Licensor may
also revoke Your access to the Official Repository or to an Official Demonstration at any time. On
termination You must stop all use of the Model, Derivatives and Outputs, and delete every copy of the
Model and Derivatives in Your possession or control. Sections 4, 5, 10, 11 and 12 survive termination.
10. No warranty
THE MODEL IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY AND NONINFRINGEMENT.
11. Limitation of liability
IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MODEL, DERIVATIVES, OUTPUTS OR
THE USE OF OR OTHER DEALINGS IN ANY OF THEM.
12. General
If any provision of this License is held unenforceable, the remaining provisions remain in effect. The
Licensor's failure to enforce any provision is not a waiver of it. This License is the entire agreement
between You and the Licensor about the Model, unless the Licensor has signed a separate written license
with You.
Citation
If you use this model, please cite:
@misc{ehzawad2025orpheusbangla,
author = {Zawad, Emrul Hasan},
title = {Orpheus Bangla Emotional TTS},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/ehzawad/orpheus-bangla-emotional-tts}}
}
Acknowledgements
This model is based on the Orpheus TTS architecture developed by Canopy Labs. We extend our gratitude to the original authors for their work.