Research-only model: accept the license to get access

Access is granted as soon as you accept. Commercial or production use needs written permission from the author: ehzawad@gmail.com.

This model is licensed under the ehzawad Research-Only Non-Commercial Model License 1.0 (full text on this page and in LICENSE). In short: you may use it only for non-commercial research and R&D; you may not use it commercially or in production, share the weights or any derived weights, or offer it as a hosted service, API or demo, without written permission; you may not clone anyone's voice without their explicit permission; and you must credit Emrul Hasan Zawad (ehzawad) and cite this model in anything that uses it or its outputs.

Log in or Sign Up to review the conditions and access this model content.

indicf5-bangla-tts

Bangla (Bangladesh) text-to-speech by Emrul Hasan Zawad (ehzawad). It is fine-tuned from AI4Bharat's IndicF5 for one female Bangladeshi Bengali voice. The architecture, tokeniser and frozen Vocos vocoder are the base model's; only the DiT weights differ, so model.safetensors is a drop-in replacement for the base model's.

337.1M parameters · 24 kHz · 100-bin mel · flow matching (32 NFE by default).

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. Never clone a voice without its owner's explicit permission.

Until 15 October 2026 this repository published the same weights under the MIT License. Copies obtained then keep the rights that license gave; the license below governs the model as published from that date.

Usage

The weights are behind an access request: accept the license at the top of this page while logged in, then authenticate with hf auth login (or set HF_TOKEN).

pip install git+https://github.com/ai4bharat/IndicF5.git torchcodec   # IndicF5's f5_tts, not f5-tts from PyPI
from transformers import AutoModel
import soundfile as sf

model = AutoModel.from_pretrained("ehzawad/indicf5-bangla-tts", trust_remote_code=True)

audio = model(
    "আমাদের দেশের নদীগুলো এখন অনেক শুকিয়ে গেছে।",
    ref_audio_path="reference.wav",     # a few seconds of the voice to speak in
    ref_text="reference transcript",     # what that clip says
)
sf.write("out.wav", audio, samplerate=24000)

Voice cloning is zero-shot from ref_audio_path, as in the base model. Only use a reference voice you have explicit permission to use.

Two things that will silently give you the wrong model

  1. Use IndicF5's f5_tts, not f5-tts from PyPI. model.py imports the installed f5_tts package. Upstream F5-TTS has different DiT defaults (text_mask_padding, pe_attn_head): built with those, the weights still load with zero missing keys and still produce plausible audio, but it is a different network. IndicF5's package, installed above, has the same DiT as the code vendored in this repo.
  2. use_epss must be False. Upstream F5-TTS added Empirically Pruned Step Sampling and turns it on by default. The vendored sampler has no such notion and uses a uniform linspace schedule. Leaving EPSS on changes every sample.

The tensors are stored under ema_model._orig_mod.* keys, the base model's layout, which keeps the file drop-in.

Faster inference

Measured on one NVIDIA L4 (2026-10-19) with a 4.2 s reference clip and one sentence per call. CER is Voxtral-Mini-3B-2507-bn-BD's transcript of the generated audio against the input text.

Settings 1.3 s of speech 4.4 s 9.2 s CER
fp32, 32 steps (the defaults above) 2.56 s 3.85 s 6.28 s 0 / 0 / 1.2%
bf16 autocast, 16 steps 1.32 s 1.33 s 1.37 s 0 / 0 / 1.2%
fp16 fails: NaN audio
  • Use bf16, not fp16. The model was fine-tuned under bf16 autocast. In fp16 it overflows to NaN.
  • Run only the DiT under autocast. The mel extractor and Vocos use complex STFTs, which have no bf16 kernel ("mul_cuda" not implemented for 'BComplex32'). Pass cond as a precomputed fp32 mel and decode in fp32.
  • 16 flow steps (steps=16) halve the work. The transcripts did not change on these sentences.
  • A shorter reference is faster. Every step runs over the reference plus the new speech.
# model: the CFM (`ema_model` inside the transformers wrapper); vocoder: Vocos
with torch.inference_mode():
    cond = model.mel_spec(ref_wave).permute(0, 2, 1)       # fp32 reference mel
    ref_frames = cond.shape[1]
    with torch.autocast("cuda", dtype=torch.bfloat16):
        out, _ = model.sample(cond=cond, text=[ref_text + " " + text], duration=ref_frames + gen_frames,
                              steps=16, cfg_strength=2.0, sway_sampling_coef=-1.0)
    wave = vocoder.decode(out[:, ref_frames:].float().permute(0, 2, 1))   # fp32

The bf16 branch stores the DiT weights in bf16: 729 MB instead of 1.40 GB, with the same outputs at these settings.

Limitations

  • One voice and accent: Bangladeshi Bengali read speech. It has not been evaluated on West Bengal Bengali, on conversational speech, or with noisy references.
  • No numerals: write numbers out in words before synthesis.
  • No emotion or style control: the target is natural, neutral speech.
  • Machine metrics only: nobody has run a listening study.

Citation

There is no paper yet. Please cite the model itself:

@misc{zawad2026indicf5banglatts,
  author    = {Zawad, Emrul Hasan},
  title     = {indicf5-bangla-tts: Bangla (Bangladesh) Text-to-Speech},
  year      = {2026},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/ehzawad/indicf5-bangla-tts},
}

Emrul Hasan Zawad (ehzawad). indicf5-bangla-tts: Bangla (Bangladesh) Text-to-Speech. Hugging Face, 2026. https://huggingface.co/ehzawad/indicf5-bangla-tts

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, IndicF5 by AI4Bharat, is licensed under the MIT License. The inference code here (model.py and f5_tts/) is IndicF5's, unchanged, and stays under the MIT License (LICENSE-MIT, NOTICE). 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/indicf5-bangla-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 IndicF5 by AI4Bharat (https://huggingface.co/ai4bharat/IndicF5),
   which is licensed under the MIT License. The inference code in the Official Repository, model.py and the
   f5_tts/ directory, comes from IndicF5 and F5-TTS unchanged and remains under the MIT License (see
   LICENSE-MIT and NOTICE); it is not part of the Model for the purposes of this License. This License applies
   to the Licensor's fine-tuned weights and to the Model as a whole. It does not limit any rights You have in
   the original base model or in that code under their own licenses.

   Earlier release. Until 15 October 2026 the Official Repository published these weights under the MIT
   License. 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.

Credits

Downloads last month
108
Safetensors
Model size
0.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ehzawad/indicf5-bangla-tts

Finetuned
(21)
this model

Space using ehzawad/indicf5-bangla-tts 1

Collection including ehzawad/indicf5-bangla-tts