Instructions to use Praha-Labs/LFM-MALAYALAM-TTS-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Praha-Labs/LFM-MALAYALAM-TTS-v0.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Praha-Labs/LFM-MALAYALAM-TTS-v0.1")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Praha-Labs/LFM-MALAYALAM-TTS-v0.1") model = AutoModelForCausalLM.from_pretrained("Praha-Labs/LFM-MALAYALAM-TTS-v0.1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use Praha-Labs/LFM-MALAYALAM-TTS-v0.1 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Praha-Labs/LFM-MALAYALAM-TTS-v0.1 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Praha-Labs/LFM-MALAYALAM-TTS-v0.1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Praha-Labs/LFM-MALAYALAM-TTS-v0.1 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Praha-Labs/LFM-MALAYALAM-TTS-v0.1", max_seq_length=2048, )
Malayalam TTS Model (LFM2-350M Fine-tuned)
This repository contains a fine-tuned Malayalam Text-to-Speech (TTS) model based on LFM2-350M, trained using VyvoTTS (LLM-based TTS framework) and Unsloth.
Malayalam TTS โ 24 kHz (LLM + SNAC Codec)
High-quality Malayalam text-to-speech model targeting natural pronunciation and clean prosody at 24 kHz, using a discrete audio codec (SNAC 24 kHz) for waveform reconstruction. Designed for lightweight deployment (~350M parameters) with GPU/CPU support.
Status: v0.1 โ stable inference, strong pronunciation, limited emotional expressiveness. Roadmap includes expressive styles and nonโverbal cues (laughter, giggles, breaths).
โจ Highlights
Language: Malayalam (with support for basic English loanwords).
Sample Rate: 24 kHz, mono.
Codec: [SNAC 24 kHz] for fast decoding.
Model Size: ~350M parameters (small/efficient).
Strengths: Clear, nonโrobotic pronunciation; punctuationโaware phrasing.
Known Limits: Emotion range is narrow; limited style transfer; no speaker cloning in v0.1.
๐ Model Details
- Base Model: LFM2-350M
- Language: Malayalam
- Dataset: ai4bharat/rasa (Malayalam subset)
- Training: 10 epochs, ~77k steps
- Frameworks Used: VyvoTTS, Unsloth
๐ฎ Future Work
- Emotion and expressive style support
- Non-verbal cues (laughter, giggles, breaths)
- Multi-speaker extension
- Downloads last month
- 6