# Thai ASR: Fine-Tuning Wav2Vec2

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fthai-asr-fine-tuning-wav2vec2%2F4617%3E%5C
**Category:** Languages at Hugging Face\
**Created:** [March 18, 2021, 5:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fthai-asr-fine-tuning-wav2vec2%2F4617 "2021-03-18T17:18:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakares](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sakares/32/2601_2.png) [@sakares](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsakares)%5C
**Post date:** [March 18, 2021, 5:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fthai-asr-fine-tuning-wav2vec2%2F4617%2F1 "2021-03-18T17:18:28Z")

</div>

Hi there! I just have a couple of hours to take the quick end-to-end test.  
Turned out I just modified from great work [Turkish ASR tutorial](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fturkish-asr-fine-tuning-wav2vec2%2F4556) by @patrickvonplaten

You can check my training and interference code here:

> **[Google Colaboratory](https://colab.research.google.com/drive/18oUbeZgBGSkz16zC_WOa154QZOdmvjyt?usp=sharing)**

Also, model here:

> **[sakares/wav2vec2-large-xlsr-thai-demo at main](https://huggingface.co/sakares/wav2vec2-large-xlsr-thai-demo/tree/main)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

**For training detail:**

- Use proper Thai word tokenizer for pre-processing step
- Most of the parameters is the same as the original script but I change the number of epoch to **6**
- With 6 epochs it took around 50 minutes with WER ~ **0.68** at the end, which is look so good to me!

**Next step:**

- Tweak more with hyperparameter tuning
- Checking more about the decoding pipeline. It may helps
- Finish reading all wav2vec2 articles by @patrickvonplaten and improve this work

Feel free to let me know if I could improve in some aspects. Thanks!
