This model version is Non-Commercial! I have added noise, a watermark, or other methods to check for license violations. If you download and use this model, it constitutes your immediate agreement to comply.
Phathi (Testing model)
Phathi is a Thai speech-to-Thai pronunciation model. This model version is a testing model (not a near-beta model) and is a non-commercial model. (Maybe the full version will be open-source licensed if I have reason to do)
Example:
Other ASR: สถาน จัดกิจกรรม ที่ ดี ที่สุด ที่อยู่ ใกล้เคียง
This ASR: สะ ถาน จัด กิด จะ กำ ที่ ดี ที่ สุด ที่ หฺยู่ ไกฺล้ เคียง
The output is the Thai pronunciation, not words.
Web demo: https://github.wannaphong.com/run-asr/
Dataset: -
Base Model & Framework: Cactus Compute — Finetuning Whistle
Created by Wannaphong Phatthiyaphaibun
Usage
1. Install Cactus
pip install cactus-compute huggingface_hub cactus-needle
2. Transcribe Audio in Python
cactus.transcribe() expects a 16 kHz mono PCM .wav file:
import os
os.environ.setdefault("NEEDLE_TELEMETRY", "0") # needle reports usage unless these are set
os.environ.setdefault("DO_NOT_TRACK", "1")
from huggingface_hub import hf_hub_download
from needle import Whistle
model = Whistle(hf_hub_download("numfa/asr-test", "whistle-thai.cact"))
print(model.transcribe("speech.wav", language="th")["text"])
Model tree for numfa/asr-test
Base model
Cactus-Compute/whistle