Run this model with HF Jobs

Run SiangLao/hubert-lao-asr 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/SiangLao/hubert-lao-asr. 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/SiangLao/hubert-lao-asr 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.

HuBERT Lao ASR

Fine-tuned HuBERT-Large model for Lao automatic speech recognition, achieving 25.37% CER on test data.

Model Details

This model is fine-tuned from facebook/hubert-large-ll60k using the SiangLao/lao-asr-thesis-dataset.

Training Configuration

  • Epochs: 15
  • Batch Size: 12
  • Learning Rate: 3e-5
  • Training Date: June 3, 2025
  • Vocabulary Size: 55 Lao characters + special tokens

Performance

Split CER Loss
Test 25.37% 0.652
Validation 25.16% 0.668

Usage

from transformers import HubertForCTC, Wav2Vec2Processor
import torch
import librosa

# Load model and processor
model = HubertForCTC.from_pretrained("SiangLao/hubert-lao-asr")
processor = Wav2Vec2Processor.from_pretrained("SiangLao/hubert-lao-asr")

# Load audio (must be 16kHz)
audio, sr = librosa.load("audio.wav", sr=16000)

# Generate prediction
inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
with torch.no_grad():
    logits = model(**inputs).logits
    predicted_ids = torch.argmax(logits, dim=-1)
    transcription = processor.batch_decode(predicted_ids)[0]

# Clean transcription
transcription = transcription.replace("<unk>", " ").strip()

print(transcription)

Citation

@thesis{naovalath2025lao,
  title={Lao Automatic Speech Recognition using Transfer Learning},
  author={Souphaxay Naovalath and Sounmy Chanthavong},
  advisor={Dr. Somsack Inthasone},
  school={National University of Laos, Faculty of Natural Sciences, Computer Science Department},
  year={2025}
}
Downloads last month
31
Safetensors
Model size
0.3B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for SiangLao/hubert-lao-asr

Finetuned
(24)
this model

Dataset used to train SiangLao/hubert-lao-asr

Space using SiangLao/hubert-lao-asr 1