This is an ONNX version of nlp-chula/phayathaibert-thai-pos-tagger, a PhayaThaiBERT model fine-tuned for Universal POS tagging on UD Thai-TUD. It runs with onnxruntime and tokenizers, without PyTorch or Transformers. This repository only converts the model. All credit for training goes to the original authors at nlp-chula and to the PhayaThaiBERT authors. Made for the PyThaiNLP POS tagging engine Input is a list of pre-segmented Thai words. Each word is tagged with the prediction for its first subword, the same alignment the model was trained with. Keep each model call at 415 subwords or fewer, counting and. Split longer input into sentences, or into chunks of whole words, and tag each one…