Instructions to use gustapoll/asr-bororo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use gustapoll/asr-bororo with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Configuration Parsing Warning:In adapter_config.json: "peft.task_type" must be a string
MMS Bororo ASR (LoRA)
A LoRA adapter (r=8, alpha=16, targeting q_proj/v_proj) fine-tuning facebook/mms-1b-all
for automatic speech recognition (ASR) in Bororo, a Brazilian indigenous language. Trained with a
combined CTC + cycle-consistency (TTS resynthesis) + mel-reconstruction loss as part
of the ablation variant no_cycle.
Non-commercial use only
The base MMS model is licensed CC-BY-NC-4.0. This adapter inherits that restriction: non-commercial use only.
Quality caveat
This is an early-stage, low-resource fine-tune, evaluated on a small held-out set (n=296):
| Metric | In-space | Out-of-space |
|---|---|---|
| CER | 0.284 | 0.324 |
| MCD | 868.6 | 861.6 |
Treat outputs as a research demo, not production-quality transcription/synthesis.
Try it live
gustapoll/demo — a Gradio Space with
both ASR and TTS tabs for Bororo, also callable as an API via gradio_client.
How to use
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
from peft import PeftModel
base = Wav2Vec2ForCTC.from_pretrained("facebook/mms-1b-all")
base.load_adapter('bor') # MMS's own per-language adapter, load BEFORE the LoRA
model = PeftModel.from_pretrained(base, "REPO_ID").eval()
processor = Wav2Vec2Processor.from_pretrained("REPO_ID")
- Downloads last month
- -
Model tree for gustapoll/asr-bororo
Base model
facebook/mms-1b-all