artitsu's picture
Update README.md
ecc4365
---
license: cc-by-sa-4.0
language:
- th
metrics:
- cer
- wer
library_name: espnet
pipeline_tag: automatic-speech-recognition
---
# Model Card for Model ID
<!-- Provide a quick summary of what the model is/does. -->
This is the baseline model of Thai-central in [Thai-dialect corpus](https://github.com/SLSCU/thai-dialect-corpus).
The training recipe was based on wsj recipe in [espnet](https://github.com/espnet/espnet/).
### Model Description
<!-- Provide a longer summary of what this model is. -->
This model is a Hybrid CTC/Attention model with pre-trained HuBERT as the encoder.
This model was trained on Thai-central to be used as a supervised pre-trained model in order to be used for finetuning to other Thai dialects. (Experiment 2 in the paper).
We provide some demo code to do inference with this model on colab [here](https://colab.research.google.com/drive/1stltGdpG9OV-sCl9QgkvEXZV7fGB2Ixe?usp=sharing). (Please note that you cannot inference >4 seconds of audio with free Google colab)
## Evaluation
<!-- This section describes the evaluation protocols and provides the results. -->
For evaluation, the metrics are CER and WER. Before WER evaluation, transcriptions were re-tokenized using newmm tokenizer in [PyThaiNLP](https://github.com/PyThaiNLP/pythainlp)
```python
from pythainlp import word_tokenize
tokenized_sentence_list = word_tokenize(<your_sentence>)
```
The CER and WER results on the test set are:
CER = 2.0
WER = 6.9
## Paper
[Thai Dialect Corpus and Transfer-based Curriculum Learning Investigation for Dialect Automatic Speech Recognition](https://www.isca-speech.org/archive/pdfs/interspeech_2023/suwanbandit23_interspeech.pdf)
```
@inproceedings{suwanbandit23_interspeech,
author={Artit Suwanbandit and Burin Naowarat and Orathai Sangpetch and Ekapol Chuangsuwanich},
title={{Thai Dialect Corpus and Transfer-based Curriculum Learning Investigation for Dialect Automatic Speech Recognition}},
year=2023,
booktitle={Proc. INTERSPEECH 2023},
pages={4069--4073},
doi={10.21437/Interspeech.2023-1828}
}
```