OpenThai2.0-NLP-Core-Lite
Copyright 2026 OpenThai, iApp Technology Co., Ltd.

Model files (chars.int8.onnx, tower.int8.onnx, head.*.int8.onnx, head.dep.npz, head.span.npz, manifest.json):
Creative Commons Attribution-ShareAlike 4.0 International (LICENSE). If you modify the model files and share them,
share them under the same licence and keep this notice.

The model was trained only on the following data, which permit commercial use:

- UD_Thai-TUD (Universal Dependencies 2.17), train, CC BY-SA 4.0. Its text comes from the Thai National Corpus and
  Thai Wikipedia. Its sentences, tags and trees trained the teachers and the model. The gold constituency trees and
  the 37 ORCHID-based tags were converted from its dependency trees.
  https://github.com/UniversalDependencies/UD_Thai-TUD
- scb-mt-en-th-2020 v1.0 (Lowphansirikul et al., 2020), Thai side, CC BY-SA 4.0 (the
  mozilla_common_voice part CC0 1.0). The msr_paraphrase part (translated from a non-commercial corpus) and the
  generated_reviews_yn part (machine-translated) were left out.
  https://github.com/vistec-AI/dataset-releases/releases/tag/scb-mt-en-th-2020_v1.0
- Tatoeba, Thai sentences, CC BY 2.0 FR
  https://tatoeba.org
- ALT Parallel Corpus (Asian Language Treebank, NICT; Riza et al., 2016), Thai side, the official training split,
  CC BY 4.0. Its sentence ends trained the sentence and clause head (since 2026-12-01).
  https://www2.nict.go.jp/astrec-att/member/mutiyama/ALT/
- FineWeb-2 (Hugging Face), tha_Thai, one shard, ODC-By 1.0, subject to the Common Crawl terms of use; unlabelled
  text
  https://huggingface.co/datasets/HuggingFaceFW/fineweb-2
- Thai Wikipedia (dump 2023-11-01), CC BY-SA 3.0 / GFDL, unlabelled text
  https://huggingface.co/datasets/wikimedia/wikipedia
- Wisesight sentiment train and validation text (PyThaiNLP), CC0 1.0, unlabelled text; its labels were not used
  https://github.com/PyThaiNLP/wisesight-sentiment
- Blognone news (PyThaiNLP), CC BY 3.0, text for the named-entity labels below
  https://huggingface.co/datasets/pythainlp/blognone_news
- For the named entities, our own labels on paragraphs of the text above (FineWeb-2, with Thai Wikisource and VOA
  Thai pages among it; Thai Wikipedia; Wisesight) and of Blognone news: written by Qwen3.8-27B (Apache-2.0) and by
  a teacher trained on those labels only. Pages of prachatai.com (CC BY-NC) were left out.
- For the three word units, the word teachers of OpenThai2.0-LATTE-WordSeg-Lite, trained on:
  - VISTEC-TP-TH-2021 (Limkonchotiwat et al., 2021), CC BY-SA 3.0
    https://github.com/mrpeerat/OSKut
  - Wisesight-1000 word segmentation samples (PyThaiNLP), CC0 1.0
    https://github.com/PyThaiNLP/wisesight-sentiment
  - khammoon data (Typhoon; Sirichotedumrong et al., arXiv:2611.13012), only the 5,014 WangchanThaiInstruct rows
    licensed CC BY-SA 4.0, with their labels as released under that licence (LLM segmentation by
    Qwen3-30B-A3B-Instruct-2507, Apache-2.0, corrected by the khammoon authors with rules and a model fine-tuned
    on their human labels of BEST2009 sentences; the dataset card allows commercial use of these rows only)
    https://huggingface.co/datasets/typhoon-ai/khammoon-data
    WangchanThaiInstruct (Limkonchotiwat et al., EMNLP 2025), VISTEC / AIResearch

The word boundaries and character ids of the training text came from OpenThai2.0-LATTE-WordSeg-Lite 0.1.2 (model,
dictionary and character table: CC BY-SA 4.0). At run time this model reads the dictionary and the character table
of that word segmenter, which are not in this repository. Their sources and licences are in its NOTICE:
https://huggingface.co/iapp/OpenThai2.0-LATTE-WordSeg-Lite/blob/main/NOTICE

The 37 word tags follow the ORCHID tag set; no ORCHID data were used. The 16 entity types follow ThaiNER; no
ThaiNER data were used.
Teacher models (used only to train, not distributed) were built on XLM-RoBERTa large (MIT License).

Inside the Python package (since 0.2.0): the dictionary (assets/wordseg/lexicon.txt.gz) and the character table
(assets/wordseg/charclass.npz) of OpenThai2.0-LATTE-WordSeg-Lite 0.1.2, unchanged, and the part of its runtime that
reads them (_wordseg.py, Apache License 2.0). The dictionary and the table: Creative Commons Attribution-ShareAlike
4.0 International. The dictionary is a merged word list of: the PyThaiNLP word list (CC0 1.0); the ICU Thai
break-iterator dictionary (Copyright (C) 2016 and later: Unicode, Inc. and others; Copyright (c) 2006-2015
International Business Machines Corporation, Apple Inc., and others; Unicode-DFS-2016, full text in
LICENSES/Unicode-DFS-2016.txt); Volubilis 23.1 by Francis Bastien (CC BY-SA 4.0); and the vocabulary of the word
segmenter's training corpora. Entries of 2 to 16 characters were kept and entries that look like personal data
removed. Details: https://huggingface.co/iapp/OpenThai2.0-LATTE-WordSeg-Lite/blob/main/NOTICE
