Initial release of the En2Th Transliterator package, providing English to Thai transliteration using a ByT5 model.
Features
- Byte-level processing for robust handling of spelling variations
- Beam search and sampling options for fine-tuning output quality
- Batch processing for efficient large-scale transliteration
- FP16 mixed precision support for faster inference on compatible GPUs
- Comprehensive command-line interface
- Automatic model download from Hugging Face Hub
Installation
bash
pip install en2th-transliterator
This package uses the [yacht/byt5-base-en2th-transliterator](https://huggingface.co/yacht/byt5-base-en2th-transliterator) model from Hugging Face Hub.