Run this model with HF Jobs
Run anzorq/mms_finetune_kbd_murat on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/anzorq/mms_finetune_kbd_murat. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/anzorq/mms_finetune_kbd_murat on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use anzorq/mms_finetune_kbd_murat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anzorq/mms_finetune_kbd_murat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="anzorq/mms_finetune_kbd_murat")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTextToWaveform tokenizer = AutoTokenizer.from_pretrained("anzorq/mms_finetune_kbd_murat") model = AutoModelForTextToWaveform.from_pretrained("anzorq/mms_finetune_kbd_murat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
MMS-TTS Fine-tuned for Kabardian (Speaker: Sokhov Murat)
This repository contains a fine-tuned version of Facebook's MMS-TTS model, adapted for generating speech in the Kabardian language. The model is trained on a dataset of audio recordings by the speaker Sokhov Murat.
Model Details
- Base Model: facebook/mms-tts
- Fine-tuned on: anzorq/kbd_speech dataset
- Training steps: 5,100
- Speaker: Sokhov Murat
- Language: Circassian (Kabardian)
Usage
To use this model for text-to-speech generation, you can leverage the pipeline functionality from the Transformers library. Here's an example:
from transformers import pipeline
import scipy
model_id = "anzorq/mms_finetune_kbd_murat"
synthesiser = pipeline("text-to-speech", model_id, device=0) # add device=0 if you want to use a GPU
text = "ะดะฐัั ัััั?"
speech = synthesiser(text)
# Save the generated audio to a file
scipy.io.wavfile.write("finetuned_output.wav", rate=speech["sampling_rate"], data=speech["audio"][0])
This code will generate an audio file finetuned_output.wav containing the speech synthesis for the provided Kabardian text.
Notes
- Fine-tuned following the guide at https://github.com/ylacombe/finetune-hf-vits
- Since no pre-trained MMS-TTS model was available for Kabardian, we fine-tuned a model for Chechen, which has the closest character set to Kabardian.
- Do not use in production. This model's performance is considerably worse than that of the fine-tuned VITS model anzorq/kbd-vits-tts-male for Kabardian text-to-speech.
License
The original MMS-TTS model by Meta is licensed under the CC-BY-NC-4.0 License. This fine-tuned version inherits the same license.
Acknowledgments
- AI at Meta for the original MMS-TTS model.
- Sokhov Murat for providing the audio recordings used for fine-tuning.
- Downloads last month
- 27