Downloads · 30 days
632
6% of all-time downloads
pythainlp/thaig2p-v2.0
thaig2p-v2.0 is a machine learning model from pythainlp. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This is a grapheme-to-phoneme model for Thai language. It trained from wiktionary-23-7-2022-clean.tsv.
Downloads · 30 days
632
6% of all-time downloads
All-time downloads
11.1K
Public
Repo size
934 MB
Likes
3
Public
Click a slice to open those files.
.pt374 MB · 67%
From the Hugging Face model README
This is a grapheme-to-phoneme model for Thai language. It trained from wiktionary-23-7-2022-clean.tsv.
source code: https://github.com/wannaphong/thai-g2p-v2
from transformers import pipeline
generator = pipeline("text2text-generation", model = "pythainlp/thaig2p-v2.0")
generator("สามารถ")
# {'generated_text': 's aː ˩˩˦ . m aː t̚ ˥˩'}