Skip to main content

OpenThaiGPT Version 1.0

🇹🇭 OpenThaiGPT version 1.0.0 is a family of large Thai chat models with 7, 13 and 70 billion parameters, built on top of Facebook LLaMA v2 and extended with the ability to understand and write Thai. The code and the models are released as open source so that anyone can build on them or even use them commercially (Apache 2.0 License), forming a foundational artificial intelligence infrastructure for all Thai people.

For further details, see OpenThaiGPT 1.0.0 (8 Apr 2024)

Model Downloads

Model Pipeline

The model can be downloaded and run through Google Colab.

OpenThaiGPT 1.0.0 Model Pipeline — Open in Google Colabcolab.research.google.com

Highlights

  • The most advanced open Thai LLM, achieving the highest average score on Thai examinations compared with other open Thai models
  • The world's first open Thai model at a scale of 70 billion parameters
  • Supports continuous multi-turn conversation
  • The model can efficiently search for information and extract answers from long prompts (making it very well suited to RAG)
  • Fast response speed, achieved by adding as many as 10,000 frequently used Thai words to the model's vocabulary
  • Trained on over 65 billion words of Thai data (pretraining), with duplicate Thai training data removed (deduplicated dataset), and finetuned to answer general Thai questions on more than 1 million examples
  • Able to understand and process up to 4096 words of Thai context, allowing it to give detailed and sophisticated advice

Thai Language Capability (measured by taking Thai examinations across various knowledge areas)

ExamsOTG 7b (Aug 2023)OTG 13b (Dec 2023)OTG 7b (April 2024)OTG 13b (April 2024)OTG 70b (April 2024)SeaLLM 7b v1SeaLLM 7b v2SeaLion 7bWanchanGLM 7bSailor-7b-ChatTyphoonGPT 7b InstructGPT3.5GPT4Gemini ProGemini 1.5Claude 3 HaikuClaude 3 SonnetClaude 3 Opus
A-Level17.50%34.17%25.00%30.83%45.83%18.33%34.17%21.67%17.50%40.00%37.50%38.33%65.83%56.67%55.83%58.33%59.17%77.50%
TGAT24.00%22.00%22.00%36.00%36.00%14.00%28.00%24.00%16.00%34.00%30.00%28.00%44.00%22.00%28.00%36.00%34.00%46.00%
TPAT122.50%47.50%42.50%27.50%62.50%22.50%27.50%22.50%17.50%40.00%47.50%45.00%52.50%52.50%50.00%52.50%50.00%62.50%
thai_investment_consultant_exams8.00%28.00%76.00%84.00%68.00%16.00%28.00%24.00%16.00%24.00%32.00%40.00%64.00%52.00%32.00%44.00%64.00%72.00%
facebook_beleble_tha_20025.00%45.00%34.50%39.50%70.00%13.50%51.00%27.00%24.50%63.00%51.50%50.00%72.50%65.00%74.00%63.50%77.00%90.00%
xcopa_th_20045.00%56.50%49.50%51.50%74.50%26.50%47.00%51.50%48.50%68.50%65.00%64.00%82.00%68.00%74.00%64.00%80.00%86.00%
xnli2.0_th_20033.50%34.50%39.50%31.00%47.00%21.00%43.00%37.50%33.50%16.00%20.00%50.00%69.00%53.00%54.50%50.00%68.00%68.50%
ONET M317.85%38.86%34.11%39.36%56.15%15.58%23.92%21.79%19.56%21.37%28.03%37.91%49.97%55.99%57.41%52.73%40.60%63.87%
ONET M621.14%28.87%22.53%23.32%42.85%15.09%19.48%16.96%20.67%28.64%27.46%34.44%46.29%45.53%50.23%34.79%38.49%48.56%
AVERAGE SCORE23.83%37.27%38.40%40.33%55.87%18.06%33.56%27.44%23.75%37.28%37.67%43.07%60.68%52.30%52.89%50.65%56.81%68.32%

The evaluation was carried out with Thai multiple-choice examinations, tested on question sets the models had never seen before, using zero-shot learning. The evaluation code and the examination content can be followed at OpenThaiGPT/openthaigpt_eval on GitHub

Licenses

  • Source Code: License Apache Software License 2.0.
  • Weight: Research and Commercial uses.

Sponsors