The
ConMamba-small-ca
is an acoustic model for Automatic Speech Recognition (ASR) in Catalan. It is based on the
ConMamba
architecture, which uses a
Mamba
(State Space Model) encoder augmented with convolutions for efficient sequence processing.
Model Description
The
ConMamba-small-ca
model implements the
Convolution-augmented Mamba (ConMamba)
architecture, an adaptation of State Space Models (SSMs) designed to improve performance and efficiency in speech recognition tasks by integrating convolutional layers.
This model has been specifically trained for the
Catalan
language. The corpus used for training has 4929 hours.
Intended Uses and Limitations
This model can be used for Automatic Speech Recognition (ASR) in Catalan. The model is intended to transcribe audio files in Catalan to plain text without punctuation.
How to Get Started with the Model
Installation
The implementation of the
ConMamba-small-ca
architecture often depends on specific libraries such as
mamba-ssm
and
causal-conv1d
. It is recommended to follow the installation steps from the original Mamba ASR repository:
Create a virtual environment (mamba_asr, for example):
clone github https://github.com/langtech-bsc/ConMamba_ASR
cd ConMamba_ASR
pip install -r requirements.txt
# Make sure that the versions of torch, torchaudio, causal-conv1d, and mamba-ssm are compatible with your hardware.
For Inference
Inference is performed using the dedicated
run_inference.py
script provided within the repository.
Define Paths:
Set the paths for the repository, the input audio, and the specific configuration file for inference.
Execute Inference:
Run the script using the defined paths.
# Define your paths
REPO_PATH="/path/to/ConMamba-ASR"
AUDIO="/path/to/your/audio.wav"
HPARAMS="conmambamamba_debug_catalan_small_1k_unigram_inference.yaml"# Use your specific inference YAML# Execute inference script
python $REPO_PATH/run_inference.py \
--hparams $HPARAMS \
--audio $AUDIO
Dev Result - WER
: 8.6
Training Details
Training data
The model was trained for a total of 4929 hours. Including:
Parlament-Parla-v3
(Only the anonymized version of the dataset is public. We trained the model with the non-anonymized version.)
Corts Valencianes
(Only the anonymized version of the dataset is public. We trained the model with the non-anonymized version.)
If this model contributes to your research, please cite the work:
@inproceedings{zevallos2025conmambasmallca,
title={Evaluating High-Performance and Lightweight ASR Systems for Catalan},
author={Zevallos, Rodolfo}
organization={Barcelona Supercomputing Center},
year={2025}
}
ConMamba-small-ca huggingface.co is an AI model on huggingface.co that provides ConMamba-small-ca's model effect (), which can be used instantly with this BSC-LT ConMamba-small-ca model. huggingface.co supports a free trial of the ConMamba-small-ca model, and also provides paid use of the ConMamba-small-ca. Support call ConMamba-small-ca model through api, including Node.js, Python, http.
ConMamba-small-ca huggingface.co is an online trial and call api platform, which integrates ConMamba-small-ca's modeling effects, including api services, and provides a free online trial of ConMamba-small-ca, you can try ConMamba-small-ca online for free by clicking the link below.
BSC-LT ConMamba-small-ca online free url in huggingface.co:
ConMamba-small-ca is an open source model from GitHub that offers a free installation service, and any user can find ConMamba-small-ca on GitHub to install. At the same time, huggingface.co provides the effect of ConMamba-small-ca install, users can directly use ConMamba-small-ca installed effect in huggingface.co for debugging and trial. It also supports api for free installation.