Typhoon: Thai Large Language Models
Paper · 2023 · Kunat Pipatanakul, Phatrasek Jirabovonvisut, Potsawee Manakul et al.
Summary
A system can recognize Thai text and still struggle to answer a Thai examination question or carry out a request written by a Thai speaker. The Typhoon paper asks how far an existing system trained mainly on English can be adapted for those purposes when Thai accounts for less than 0.5% of Common Crawl. The authors start with Mistral-7B, retain its existing vocabulary, and add Thai text units learned from examples. They continue training on a mixture of cleaned Thai web text and English text, using English to help preserve capabilities from the starting system. They then train a separate instruction-following version, Typhoon-7B-Instruct, on translated and generated Thai examples.
The evaluations distinguish choosing a correct answer from writing a useful response. To study what the system can do after pretraining, the authors build ThaiExam from Thai school and professional examinations. Its questions span school subjects, aptitude, medical ethics, and knowledge tested for investment licensing. The authors also use existing tests of inference, causal reasoning, and examination performance. Typhoon-7B leads the open systems in the reported comparisons and beats GPT-3.5 on 4 out of 8 evaluation datasets. The paper also reports that Typhoon’s tokenizer is 2.62 times more efficient than GPT-4’s at representing the Thai text used for the comparison. That result concerns the number of text units required to encode a passage.
For instruction following, GPT-4 compares responses against answers from GPT-3.5. Typhoon-7B-Instruct is comparable to that reference on Thai AlpacaEval and translated MT-Bench, and scores below it on Thai OASST and the Thai portion of Sea-bench. It leads the open Thai systems on all the instruction-following datasets in the comparison. Further tests cover translation into Thai, summarization into Thai, and reading comprehension. Typhoon-7B-Instruct leads on most of the reported tasks in that group. The results show how far a 7 billion parameter system can go under this adaptation procedure, while the variation across tests gives the claim of GPT-3.5-level performance a specific scope.
Deep dive: Typhoon: Thai Large Language Models
Typhoon adapts Mistral-7B to Thai with an expanded vocabulary and bilingual training, then tests it on Thai exams and user instructions. · about 33 minutes to read
The problem and its context
Thai text is scarce in the collections used for training
The paper starts from a mismatch between the use of Thai and its representation in commonly used training material. Thai has more than 70 million speakers, yet the paper places it at the 26th rank by size in Common Crawl. That matters because a large web collection can yield a much smaller collection once it is restricted to a particular language. The authors find another reduction when they inspect the Thai pages themselves. Repeated content and pages written for search engine optimization account for a substantial part of what they encounter, so the volume retrieved from the web gives an incomplete picture of the material available for learning. This is the setting the paper describes for low-resource languages.
The scarcity affects several decisions. A developer needs enough varied Thai writing for the system to encounter the language in different settings. The writing must also be represented in units the system can process economically. Finally, a developer needs tests that distinguish familiarity with Thai strings from the ability to use information presented in Thai. A system might, for example, recognize the wording of a question while having difficulty with the professional knowledge it assumes. The authors treat these as different problems involving the corpus, the representation of text, and the design of evaluation benchmarks.
Most of the prominent systems discussed in the introduction were pretrained on corpora centered on English. In this kind of pretraining, a system learns to predict upcoming text from the text it has already seen. The text itself supplies the next unit to predict, so the corpus can be used without a human writing an answer for every example. An autoregressive system also generates text in this order, using what precedes each new unit to predict what could follow. The paper situates Typhoon in that family of language modeling and pretraining.
The authors argue that familiarity with Thai culture, customs, and ways of expressing a request may be harder to acquire when Thai occupies a small share of the curriculum. They also emphasize the Thai alphabet, which they describe as distinct from those of high-resource languages. A system can have a way to encode a script even when its vocabulary represents familiar sequences in that script inefficiently. The fact that the input is accepted therefore leaves open how much space it occupies and what the system can do with it. These concerns motivate the adaptation, and each needs its own measurement.
Multilingual coverage and Thai specialization
The broad multilingual approach described in the paper develops a single system across many languages. XGLM uses a corpus covering 30 languages, with around 11 billion Thai tokens. The paper also reports around 11 billion Thai tokens for mT5, where those tokens make up 1.14% of pretraining data. The mT5 architecture includes an encoder and a decoder, so it organizes the processing of input and the production of output differently from the autoregressive starting point for Typhoon. These examples illustrate how a substantial absolute quantity of Thai can coexist with a small share of the material in multilingual NLP.
The paper gives BLOOM as an example of why broad coverage must also be checked language by language. Its training covers 46 natural languages, and Thai is absent from that set. The regional systems discussed by the authors narrow the intended audience to Southeast Asia. Yet even for that narrower focus, the distribution of training text varies considerably. Southeast Asian languages collectively account for 13% of SEA-LION’s pretraining material, with Thai making up a smaller share. For SeaLLM, the paper puts the Thai share at about 5.91%. SeaLLM also extends an inherited vocabulary and continues Llama2 pretraining before instruction and alignment work.
The authors place these examples beside earlier work using monolingual corpora or mixing a target language with English. The related-work discussion reports gains from those approaches on both tasks that predict an answer or label and tasks that generate text. For Thai, the paper identifies WangChangBERTa as an early effort that used a large Thai corpus with an encoder-only design. An encoder produces a representation of the input. The report describes that system’s design as suitable for studying Thai representations but unavailable for the kind of open-ended response production expected from a text generation system.
WangChanGLM takes a different route. It starts from the multilingual XGLM system with 7.5 billion parameters and uses roughly 380k translated instruction–response pairs to teach Thai instruction following. The adaptation relies on low-rank updates, and it skips additional Thai pretraining. The authors therefore expect this approach to draw its underlying Thai knowledge principally from XGLM’s original training. WangChanGLM is a relevant point of comparison because it can answer a user in Thai while addressing the supply of Thai training text mainly at the instruction stage.
OpenThaiGPT follows a route closer to Typhoon’s. It begins with Llama2 at 7 billion parameters, adds 24,554 Thai tokens to its inherited vocabulary, continues training on Thai data, and uses translated examples for instruction training. Its weights are publicly available. The Typhoon authors say that their knowledge of the public training details is limited. For their own starting point, they test several existing systems and select Mistral-7B. Their aim is to reuse knowledge acquired during the original training while giving the system additional opportunities to learn from Thai writing.
Why the evaluation needs Thai questions and Thai requests
The authors describe BIG-bench and HELM as broad efforts to measure capability whose emphasis is mostly English. They also discuss benchmarks that cover other languages, including BHASA for Southeast Asia. In their account, the available Thai components often rely on multilingual collections or Thai datasets of limited scale. Their interest is in questions whose content comes from institutions and settings in Thailand. An investment licensing item, for instance, can test professional material relevant to Thailand through the wording in which it is normally examined. Its provenance is part of what makes it useful for this study.
A locally sourced exam still asks for a particular kind of performance. A question with answer choices can show whether a system selects the expected option. It leaves the system little room to display how it interprets a user’s objective, which details it considers relevant, or how it handles a request that continues across turns. The authors therefore use separate instruction evaluations as well as translation, summarization, and reading-comprehension tasks. They can then make a claim specific to the format in which they see the result. The distinction also motivates a separate training stage for fine-tuning.
The method, step by step
From Thai web pages to a bilingual corpus
The process starts with a system that has already learned from a large collection of text. The authors keep that starting point and continue training it, a procedure they call continual pretraining. In Typhoon, this stage gives the system more exposure to Thai while allowing it to draw on knowledge acquired originally. The training text and the way it is divided into units must be prepared before that stage begins. Instruction training comes after it, when the objective is to learn the relationship between a user’s request and a suitable response.
From Thai web text to Typhoon-7B-Instruct
The steps in order.
The authors first consider publicly available material in MC4 and Oscar. Both include Thai, and each derives web text from Common Crawl. In their inspection, Oscar offers more material than MC4 and requires more cleaning. Their approach addresses this tradeoff by going back to the crawl packages. The Thai data can be enlarged by looking through packages that the existing collections drew on less extensively, and the resulting text can then be subjected to the team’s own quality filters.
The collection step processes 40 Common Crawl packages and produces roughly 3 TB of Thai text. This figure describes what the extraction yields, upstream of the cleaning decisions and the selection of material for training. Its role is to indicate the scale at which the authors gather possible examples. A large extraction gives the filters more material to work with. It also makes clear why a collection procedure based on reading and judging every page individually would be different from the procedure the paper uses.
The first cleaning operation described in detail is strict deduplication, the removal of repeated or near-repeated content. The authors follow the approach used by Falcon RefinedWeb and name MinHash and locality-sensitive hashing, abbreviated LSH. The role of MinHash is to give text a compact representation that can be used to estimate similarity. LSH helps bring likely matches together for comparison. In the setting described by the paper, these methods help find pages sufficiently alike to count as redundant, including cases where text has been copied with small changes. The goal is to reduce the frequency with which essentially the same writing occupies space in the corpus.
The authors then apply rules and heuristics that address quality from a different direction. They manually select websites they judge to be high quality at the domain level. They also use properties that can be measured for individual pieces of text, including character ratios, line length, and document length. A domain decision uses where the material comes from, while a heuristic uses characteristics of the material itself. A Thai page can be unique and still be a poor training example, so the heuristic pass has a purpose even after deduplication. The report identifies the kinds of signals used and leaves the details of threshold selection open.
The English portion comes from a random selection of Falcon RefinedWeb data. The authors combine it with the Thai material in a 50/50 split. The motivation is to reduce catastrophic forgetting, the loss of a previously acquired capability during additional training. A Thai-only continuation would give the optimization procedure evidence about Thai without supplying ordinary English examples at the same time. The authors point to earlier adaptation work on Hungarian in which keeping both the original language and the target language in the mixture helped preserve English. That earlier work also suggested some latitude in choosing the proportions. For Typhoon, the 50/50 split is the design the authors carry forward.
A vocabulary that gives Thai more space
A tokenizer turns a text string into the units that a system reads and predicts. A token can represent a frequent fragment of writing, and the sequence of tokens together represents the passage. The paper describes the inherited Mistral tokenizer as using byte-level byte pair encoding. A byte fallback makes it possible to represent text even when familiar vocabulary entries fit it poorly. The cost is that the passage can take a long sequence of small units. For an adaptation specifically intended to use Thai, the authors want common Thai strings to have economical representations through subword tokenization.
The paper illustrates the issue with an earlier comparison. For Thai text, a GPT-2 tokenizer with a vocabulary of 50k needed 3.8 times as many tokens as a Thai-trained tokenizer with a vocabulary of 5k. The quantities describe vocabulary size, while the factor describes the encoding length for the compared Thai text. This example gives a reason to train vocabulary entries on the language in which they will be used. The useful question for Thai is how often a piece of writing can be encoded in larger familiar units, given the inventory available to the tokenizer.
Typhoon’s tokenizer retains the original Mistral-7B vocabulary and integrates an additional Thai sub-word vocabulary. The authors train the additional tokenizer with SentencePiece on around 8 million examples randomly sampled from the Thai portion of MC4. It has 5,000 tokens. That MC4 sample is for learning the Thai vocabulary. The continual pretraining corpus, by contrast, is assembled through the crawl cleaning and bilingual mixing procedure. Learning sub-words and learning to predict sequences that contain them are separate uses of text.
An added token needs an embedding, a numerical representation through which the system handles that token. The report explains that newly introduced vocabulary entries have embeddings initialized from scratch. The entries can shorten Thai sequences as soon as the tokenizer uses them, while the numerical representations still need to acquire meaning through training. This is the tradeoff behind the vocabulary size. The authors cite previous work in which gains in encoding efficiency diminished beyond 5,000 added Thai tokens. They adopt that scale for Typhoon, with the understanding that enlarging the vocabulary also enlarges the set of entries that must be learned.
The paper defines its token-count measure as follows.
Efficiency = #token₍model₎ / #token₍GPT-4₎
Efficiency is the paper’s name for the ratio. # indicates a count, and token specifies what is counted. The subscript model denotes the system whose tokenizer is being evaluated. The subscript GPT-4 denotes the reference tokenizer. The slash divides the evaluated tokenizer’s count by the GPT-4 count, using the same Thai text for both. The hyphen is part of the name GPT-4. A smaller value of the ratio means the evaluated tokenizer uses fewer units relative to the reference. When the authors describe Typhoon as more efficient by a factor, they are expressing the relative economy in the direction of fewer tokens needed for the passage.
This measure holds the input text fixed for a given comparison. That is necessary because a long passage could require more tokens than a short one regardless of the tokenizer. The measure is taken at the stage where writing is converted into a sequence. It speaks directly to the sequence length supplied to the system and leaves other aspects of performance to the training and evaluation stages.
Selecting a starting system and continuing training
Before committing to the final run, the authors experiment on approximately 500 million tokens from the pretraining data. They compare Mistral-7B with Llama2-7B, Llama2-13B, and CodeLlama-34B. Their criterion is perplexity, a measure of how well a system predicts the text used to assess it. A system that assigns higher probability to the observed sequence has lower perplexity. Training for the starting-system comparison is restricted to the embeddings and the language modeling head, which is the component that produces predictions over the token vocabulary. Mistral-7B has the lowest perplexity in this comparison.
The authors also examine how to update Mistral-7B. Full-weight training allows direct changes to the existing weights under training. Low-Rank Adaptation, or LoRA, represents updates with a more limited set of adjustable parameters. The report compares these approaches using training loss, the quantity the optimizer seeks to minimize. It also considers a staged procedure that trains the embeddings before moving to LoRA. These are pilot decisions about how to learn the adapted representations and preserve a workable training trajectory.
In the final pretraining setup, the authors describe using LoRA with Mistral-7B’s extended embeddings and language modeling head. Their optimizer is AdamW, which determines how to update trainable weights as the system encounters the data. The learning rate begins at 4e-4 and follows a cosine schedule. This schedule governs how the rate changes during the run. The gradient clipping threshold is 1.0. Clipping limits the size of the gradient used to make an update when the gradient is large. The authors also report that increasing the batch from 500k tokens to 2 million tokens stabilized training in their experiments. A batch is the group of tokens used to estimate an update.
The result of this stage is Typhoon-7B. It is the version the authors use when they ask what the system can answer after pretraining. The key distinction for the rest of the paper is which kind of evidence has been used to train the system at this point. The bilingual corpus supplies text on which to practice predicting what comes next. The examination questions subsequently test choices or classifications. The next stage adds examples where a request is paired with the kind of answer a user might expect.
Teaching the system to respond to instructions
The authors discuss several ways to obtain Thai instruction data. Existing English instructions can be translated. Thai datasets can also be turned into instruction examples by writing a prompt template for their task, following the approach of the FLAN collection. A further route is Self-Instruct, in which an existing system helps generate instructional data. These options are ways of addressing limited Thai annotation resources. The authors attribute the final supervised run to translated examples and Self-Instruct data.
Translation provides requests and responses whose intended relationship already exists in another language. The paper situates this approach alongside WangChanGLM’s use of translated Alpaca and Dolly data. In their own work the authors investigate both GPT-4 and a Typhoon version fine-tuned for translation. They name UltraChat as an example of a collection translated with GPT-4. The Self-Instruct route provides a separate source of Thai instructional examples through generation. The report identifies the approaches used without giving a final count or mixture proportion for the supervised examples.
During supervised fine-tuning, an example tells the system what response accompanies a given instruction. A request and its response thus serve a different purpose from an ordinary passage of bilingual pretraining text. The supervised step encourages answers that address the request as a task. It yields Typhoon-7B-Instruct, the version that the authors compare on open-ended instructions and on tasks requiring it to produce a translation, summary, or answer.
The paper discusses preference-based approaches as further possibilities for instruction alignment. Human or AI feedback can provide judgments about responses, and the named approaches include reinforcement learning from feedback and direct preference optimization. For the Typhoon version assessed here, the reported training procedure is supervised fine-tuning. GPT-4’s use as a judge of final answers belongs to evaluation. Its use to translate some instructional data belongs to data preparation. Those roles have different consequences for how the study’s results should be read.
Experiments and results
What the tokenizer comparison measures
The paper reports that Typhoon’s tokenizer encodes the Thai text in its efficiency comparison 2.62 times more efficiently than GPT-4’s tokenizer. This is the result of comparing how many tokens each tokenizer needs for the same passage in that test. The paper also cites the earlier 3.8 factor for GPT-2 against a smaller Thai-trained vocabulary. The two comparisons illustrate the same kind of measurement with different reference tokenizers. Each factor belongs to its own comparison, so the chart shows the measurements the paper discusses without ranking the Thai tokenizers against each other.
Reference tokens per Thai tokenizer token in reported Thai-text comparisons
The Thai tokenizer uses fewer tokens than its reference in each comparison.
The numbers
| System or setting | relative token-count factor |
|---|---|
| Earlier Thai-trained tokenizer relative to GPT-2 | 3.8 |
| Typhoon relative to GPT-4 (this paper) | 2.62 |
The chart presents the factors in the direction used by the paper’s prose about improved efficiency. The equation in the method section defines the evaluated tokenizer’s count divided by the reference count, where fewer tokens yield a smaller value. Both descriptions refer to the tokenization of a fixed Thai text within each comparison. They measure the space taken up by the encoded passage in tokens. The tasks that follow measure what the system can do with Thai after it is encoded.
ThaiExam and the tests of pretrained knowledge
ThaiExam gathers multiple-choice questions from examinations used in Thailand. The authors want to test language understanding and knowledge through material that learners or professionals in Thailand actually encounter. Its components vary in subject matter and source. A correct choice can depend on interpreting Thai wording, recalling relevant information, or applying that information to a question. Some of the questions explicitly assess English proficiency within a Thai educational examination, another reason to read the benchmark as a sample of local assessment material.
The Ordinary National Educational Test, or ONET, contributes 170 questions from the official 2021 grade-12 example. The authors use its 5 subjects and preserve the format of 5 choices per question. The material spans Thai and English, Mathematics and Science, and Social Studies. This gives the benchmark both language-oriented and subject-oriented questions within the same examination source. When the authors later discuss the result for ONET, their collection of questions from that example is the relevant unit.
The Investment Consultant examination, abbreviated IC, serves a professional rather than a school audience. It is a licensing examination developed by the Stock Exchange of Thailand. The authors gather 95 questions from the official site across levels 1, 2, and 3, with 4 choices per question. Its role in ThaiExam is to add a form of knowledge tied to professional practice. The questions broaden the evaluation beyond subjects that appear because they are part of a general school curriculum.
The Thai General Aptitude Test, or TGAT, contributes 90 questions. Each question offers four choices. The paper characterizes the examination as testing critical and logical thinking as well as English ability. The Thai Professional Aptitude Test 1, or TPAT-1, contributes 116 questions with 5 choices each. Its subset includes reasoning and medical ethics, in keeping with an aptitude examination used in connection with medical school. Both collections add material that can involve using information to make a judgment.
A-Level contributes 175 questions from an examination covering the foundational knowledge taught at school. The paper describes it as aligned with curriculum guidelines and concerned with applying knowledge in everyday situations. In combination with the professional and aptitude material, it makes ThaiExam a collection of different examination tasks. Its components are useful individually because the requirements of an applied school question and a licensing question can differ even when both take the form of a choice among alternatives.
The authors supplement these examinations with XNLI, XCOPA, and M3Exam. XNLI provides a textual entailment task, in which a system classifies the relationship between statements. The experiment uses a subset of XNLI, with the paper attributing the restriction to the cost of running the full evaluation. XCOPA deals with plausible causal relationships in everyday situations. These tests give the comparison ways of examining how a system handles relationships expressed in Thai, alongside the knowledge and reasoning sampled by the locally sourced examinations.
The Thai part of M3Exam comes from ONET at grade 6, grade 9, and grade 12. It is an existing benchmark in the comparison, separate from the ThaiExam collection assembled for this report. Their common examination source matters when deciding how much breadth the combination of benchmarks adds. M3Exam supplies grade levels beyond the ThaiExam ONET component, while ThaiExam brings in other examination sources. The paper also marks some values in the pretrained comparison as results drawn from previous work.
The pretrained comparison uses questions with answer choices or classification labels. Its central outcome is selecting the expected answer. The baselines include open systems with Thai support and proprietary systems, including GPT-3.5. The paper’s numerical headline for the latter comparison is a count of dataset-level outcomes. Typhoon-7B outperforms GPT-3.5 on 4 out of 8 evaluation datasets. This count gives each dataset an outcome in the comparison. It does not give the size of the score differences or say how the result would look if every question across the datasets were pooled.
Typhoon-7B has the strongest results among the open systems across these evaluations, according to the paper. According to the authors, the reported performance also exceeded that of the average human tester across ONET, TGAT, and TPAT-1. That statement refers to the reported human comparison on those examinations. It is narrower than a comparison of the system and people on school or professional work generally. The pretrained results establish successful answer selection across the assessed formats, with the relative standing against GPT-3.5 varying by dataset.
Thai instructions written for different situations
The instruction evaluation uses open-ended responses. That change in format allows several suitable answers to the same prompt. The authors use multiple prompt collections because requests written for Thai speakers, existing Thai conversations, and translated instructions offer different kinds of evidence.
Thai AlpacaEval is built by native Thai speakers using sampled examples from AlpacaEval as inspiration. For each selected example, the writers compose a prompt in Thai and choose a Thai context. They may therefore change the situation in which the instruction is given while retaining the kind of request they want to test. The collection contains 105 prompts. This writing procedure gives the study an evaluation in which a Thai request can make sense in its own setting as well as in its wording.
Thai OASST comes from the Thai part of OpenAssistant, identified as OASST1. It has 166 pairs that associate a human-written instruction with a response. The dataset had already been used to evaluate WangChanGLM. Its origin offers a comparison with Thai AlpacaEval. The latter has prompts adapted from selected examples by Thai speakers, while Thai OASST supplies existing Thai instruction and response material from a separate collection.
For translated MT-Bench, the authors use Google’s translation service and exclude examples whose translations they judge poor. They mention coding instructions as an example of material affected by the filter. The resulting set has 68 examples and is used for multi-turn evaluation. A request that extends over multiple turns asks the system to respond in the context established by the earlier exchange. The result therefore concerns an additional demand beyond answering a single prompt in isolation.
Sea-bench contributes 100 Thai prompts. The paper describes it as drawing on translations of English tests, questions from local sources, and instructions written by linguists, alongside mathematics and reasoning material. Its categories include task solving, general instructions, colloquial questions, and safety. It gives the comparison another mixture of prompt types and sources. The authors evaluate the Thai portion of a benchmark designed with Southeast Asian languages in view.
How the response judge assigns scores
The authors ask GPT-4, specifically gpt-4-1106, to compare each evaluated response with one from GPT-3.5, specifically gpt-3.5-turbo-0613. A comparison tests which answer the judge prefers for the same request. Using the same reference across the evaluated systems gives their scores a common point of comparison. The single-turn evaluations use the judging prompt from AlpacaEval. The multi-turn evaluation uses the corresponding evaluation approach from FastChat.
For each pair, the judge sees both presentation orders. When the judgment changes with the order, the authors count a draw worth 0.5. A win is worth 1.0 and a loss is worth 0.0. Reversing the order addresses the possibility that separately presenting the same pair can change the judge’s decision. The reference point for GPT-3.5 is 0.50. The table expresses performance as percentages, and the underlying measure is a preference score based on these symmetric comparisons, with draws receiving partial credit.
The paper describes Typhoon-7B-Instruct as comparable to GPT-3.5 on Thai AlpacaEval and translated MT-Bench. It places Typhoon below GPT-3.5 on Thai OASST and Sea-bench. These outcomes concern preference under the chosen judge and prompts. The pattern is also more detailed than a single comparison across Thai instructions. The locally adapted Thai AlpacaEval and the translated multi-turn test support the parity description, while the other Thai instruction sources show an advantage for the reference.
Among the open Thai systems tested, Typhoon-7B-Instruct leads on every instruction dataset in this comparison. The report notes that SEA-LION had only been instruction-tuned in Indonesian when the experiments were conducted, which bears on the interpretation of its Thai instruction results. GPT-4 provides the judgments and GPT-3.5 provides the reference answers. The comparison with the open systems is consequently a ranking of their scores against the reference, instead of a set of separate head-to-head competitions among all the entries.
Translation, summarization, and reading comprehension
The authors also assess tasks with a dataset-specific output and metric. FLORES-200 supplies the English-to-Thai translation task. The authors use BLEU and chrF. BLEU measures overlap between units in a generated translation and those in a reference. ChrF assesses overlap using sequences of characters, offering a different view of similarity for the same output. These measures concern agreement with reference translations and are distinct from the judge’s comparative instruction preferences. BLEU score and chrF.
For summarization, the authors use XLSum with Thai articles and Thai summaries. CrossSum instead asks for a Thai summary of an English article. Both require a generated summary. The latter task combines that requirement with conveying selected information across languages. The paper evaluates the outputs with ROUGE-1/2/L and the newmm tokenizer. ROUGE compares aspects of the wording of a generated summary with the reference, with its variants assessing different patterns of shared text. The use of newmm specifies the segmentation in this evaluation. This gives the report related tests of text summarization with different source languages.
XQuAD supplies a reading-comprehension task. The system uses a passage to answer a question, and the authors measure agreement by word-overlap F1. That metric balances how much of the generated answer overlaps with the reference and how much of the reference is recovered. The paper’s task discussion emphasizes evaluation without a worked example in the prompt, and the caption specifies 0-shot and 1-shot settings for this task. Those settings distinguish answering directly from answering after seeing a worked example. They are conditions on how the task is presented during question answering.
The paper reports Typhoon-7B-Instruct as the strongest system on most of these task evaluations. This result complements the open-ended instruction comparisons because each task has its own target output and scoring method. Translation tests how an English text is rendered in Thai. The summarization tasks require choosing what information to include, and the reading-comprehension task asks for an answer supported by a passage. The paper’s ranking covers this range of output types. The differences among the metrics mean that each result is best read with its task and scoring procedure attached.
What the ablations show
Which starting point predicted text best
The paper offers pilot comparisons on approximately 500 million training tokens and a tokenizer comparison. The pilot comparisons guide the authors’ choice of starting point, update strategy, and batch size. Their outcomes are properties of the training runs, such as final loss, perplexity, and the stability of the loss. The paper gives directions of improvement for these comparisons. The end-task results report what the completed Typhoon versions can do after combining the selected choices.
In the starting-system experiment, the authors compare Llama2-7B, Llama2-13B, CodeLlama-34B, and Mistral-7B under updates to embeddings and the prediction head. Mistral-7B achieves the lowest perplexity. This supports its selection under a criterion that asks how well the adapted system predicts text. The comparison includes some larger alternatives, so parameter count by itself is an insufficient explanation for the pilot ordering. It also compares starting systems that bring different learned weights to the experiment. The pilot supports an empirical choice among those starting points under the specified update restriction.
The distinction between that pilot and a downstream comparison is important. A lower perplexity identifies a stronger predictor of the text used in the pilot. ThaiExam adds answer choices, subject matter, and scoring by whether the expected option was selected. An instruction test adds the need to produce an answer suited to a user’s request. If the authors had carried each starting point through the same adaptation and instruction procedure, the resulting scores could isolate the effect of selecting a starting system more directly. The reported perplexity experiment answers the question used to make the selection.
Which updates and batch sizes trained well
For Mistral-7B, the authors compare LoRA with full-weight training and report lower final loss with LoRA. The observed direction matters because the more restricted update was a workable choice in this adaptation experiment and performed better by the criterion the authors used. The report uses that evidence to select LoRA. A lower final training loss describes how well the fitted system predicts training text under the compared procedure. Its connection to improved results on a particular exam or instruction collection would require a comparison on that collection.
The authors also try training the embeddings in an initial full-weight stage before applying LoRA. Their motivation is understandable in light of the vocabulary extension. New tokens need representations, and a separate stage could give those representations a chance to develop before the later updates. The authors report no significant improvement from the extra stage over using LoRA from the outset. That account supports the simpler schedule under their pilot conditions. The paper’s narrative gives the authors’ assessment of the comparison without specifying a statistical test for it.
The batch-size comparison provides another practical observation. At 500k tokens per batch, the training loss was unstable. At 2 million tokens per batch, the authors found that training stabilized. The outcome concerns the behavior of the loss during training. It helps explain the choice of a larger batch, and it contributes a different kind of evidence from a lower final loss. Stability is about the trajectory of optimization, while final loss is about the value reached under a procedure.
What can be attributed to each choice
The tokenizer result is an analysis of one part of the system with a directly matching metric. The Thai extension gives the encoder more options for handling Thai sequences, and the comparison counts the tokens produced for the same Thai text. The 2.62 efficiency factor relative to GPT-4 supports the claim of economical encoding. The paper attributes the rationale for stopping at 5,000 tokens to earlier evidence of diminishing gains. The reported evaluation of Typhoon shows the outcome of the chosen vocabulary, while the argument about where gains diminish comes from that earlier work.
Other design choices appear together in the final Typhoon recipe. The cleaned Thai corpus, English mixture, vocabulary extension, selected starting system, and chosen update procedure can all matter to the finished system. The paper does not report a set of finished variants that remove each of these choices and rerun the Thai benchmark suite. It likewise describes translated and generated instructions as sources for supervised training without reporting separate task scores for each source in isolation. The experiments support the combined procedure and explain several of its design decisions through the pilots. They leave the contribution of each component to final exam accuracy and answer preference unresolved.
Limitations
Limits the authors state
The authors identify several problems that can affect Typhoon’s generated answers. It may hallucinate, producing text that is unfaithful to a prompt or incorrect about the world. It can repeat words, phrases, or entire sentences. It can also produce harmful or inappropriate responses. These warnings matter especially for open-ended use, where a system has room to generate fluent explanations that a reader may take as reliable. The paper names the failure modes and reports benchmark comparisons. It does not give an overall frequency for those failures in ordinary use.
The authors also describe the work as adapting an existing system using part of the Thai material available to them. Their plans include continuing with a larger amount of the available Thai text, testing larger starting systems, and investigating instruction tuning for better alignment. The current results concern the reported 7 billion parameter system and its training recipe. The planned extensions leave open how far additional Thai data, different starting sizes, or further instruction work would change those results.
Limits of the training evidence
The amount of Thai text extracted from Common Crawl is given before filtering. The report’s approximately 3 TB figure cannot be treated as the volume of Thai text that reached the final training run. Deduplication and filtering change what is available, and the conclusion describes training with a subset of the Thai data the authors have. The 50/50 split describes the bilingual mixture. It does not supply the missing amount of text at each processing stage. These distinctions limit how precisely another reader could reconstruct the data budget from the reported figures.
The authors select English data to help retain the starting system’s abilities. The rationale is supported by the preceding adaptation work they describe. The Typhoon evaluations focus on Thai and on tasks that use English to produce Thai output. As a result, the paper cannot establish from its Thai results how much English ability was preserved, or how the chosen mixture compares with other proportions on that objective. Strong Thai results and evidence of preserved English would answer related but separate questions about bilingual continued training.
The web filters also define which forms of Thai writing reach the corpus. Selecting domains and using text statistics gives the authors ways to screen material at large scale. Without a breakdown of what those choices retain, the breadth of dialect, register, and writing situation represented by the resulting corpus remains uncertain. The same issue applies to the final instruction dataset. Translation and generation make examples available, but the paper does not quantify the contribution of each source to the training mixture or document how well that mixture covers ordinary Thai requests.
Limits of the benchmark comparisons
ThaiExam offers a grounded collection of questions by drawing on Thai examination sources. Its strengths also define its scope. Examination performance depends on the kinds of knowledge and reasoning that the chosen questions sample and on the ability to select among visible options. A system may arrive at a correct choice through a variety of routes. The evaluation observes the selection. It gives less direct evidence about the explanation the system would provide if asked an equivalent question without options, or about its judgment in an unfamiliar real situation.
The human comparison is similarly tied to the reported examinations and average human results. It does not establish that the system could carry out the work for which an examination is used. A correct answer on an investment licensing item or a medical ethics question is evidence of success on that item. The benchmark contains no corresponding assessment of sustained professional practice. M3Exam and ThaiExam also draw from ONET, so part of the evaluation revisits a common type of material. XNLI is further limited to the subset used for the cost-constrained experiment.
The results against GPT-3.5 depend on which evaluation is under discussion. The pretrained result counts dataset wins. The instruction result uses preferences against a fixed GPT-3.5 version, recorded by a fixed GPT-4 judge. The task-specific results use agreement with reference answers, translations, or summaries. Each result has a different meaning. Evidence that Typhoon is comparable with GPT-3.5 on some of these measures supports the paper’s qualified case for Thai capability. The reported differences across datasets prevent that description from serving as a general equivalence claim.
Limits of preference and efficiency measures
The pairwise design checks whether changing the presentation order changes GPT-4’s judgment. This is useful for detecting one source of inconsistency that is visible within the comparison. It provides no independent Thai human judgment about the same pairs. A consistent answer preference can still reflect how that judge interprets relevance, language quality, or the relative merits of two responses. The scores therefore express preference under the selected judging procedure.
Prompt provenance introduces another layer of variation. Translated MT-Bench excludes examples whose translated forms were poor. Its results apply to the retained prompts and the multi-turn judge used for them. Thai AlpacaEval uses Thai contexts composed by native speakers. Thai OASST and Sea-bench draw on other sources again. The fact that the scores change across these collections is informative. The setup does not isolate whether a change comes from language provenance, difficulty, subject matter, length of interaction, or a combination of those properties.
The strength of the tokenizer measure is that the comparison can hold the text fixed and count the resulting tokens. Its scope is the representation of that text. The paper’s 2.62 factor does not measure generation speed or establish a corresponding gain on another benchmark. For translation and summarization, reference-overlap scores track aspects of agreement with particular texts. They leave qualities such as faithfulness to the source and suitability for a particular reader only partly assessed. The difference in what these metrics observe explains why the paper uses more than one kind of evaluation.
What came after
Assessing language and culture
The later citing work spans several questions that the Typhoon report brings together. Some papers concern the language and cultural context of evaluation. Others focus on preparing training material, regional coverage, vocabulary expansion, or problems that arise at generation time. The citation links establish that these papers engage with the Typhoon report. Their stated topics show where the questions overlap, while the degree of reuse of particular Typhoon datasets or procedures remains unspecified.
Global MMLU examines cultural and linguistic biases in multilingual evaluation and asks how those biases can be addressed. That aim connects to the distinction Typhoon makes between multilingual test coverage and assessment content drawn from institutions in Thailand. An evaluation can include Thai and still raise questions about the settings and knowledge assumed by its items. ThaiExam addresses part of that issue through its choice of examinations. Global MMLU places the broader evaluation bias question at the center of its work.
CultureLLM focuses on incorporating cultural differences into language systems. In the Typhoon report, cultural familiarity is a motivation for Thai specialization and for writing Thai evaluation prompts with locally appropriate settings. CultureLLM’s stated subject makes cultural differences a direct target of system development. The connection is the importance of the situation in which an utterance or instruction makes sense, alongside the ability to process the language in which it is written.
CulturePark targets improvement in cross-cultural understanding. Its emphasis is useful for locating Typhoon’s contribution within a wider question. Typhoon asks what a system adapted for Thai can do on Thai examinations and instructions. Cross-cultural understanding asks how systems perform across the cultural settings to which knowledge and requests belong. The later paper cites Typhoon from that wider line of inquiry.
The Survey of Cultural Awareness in Language Models takes a survey perspective on cultural awareness in text and beyond. Typhoon contributes a specific case in which the authors motivate a language adaptation in part through local culture and test it with locally sourced material. The survey’s scope extends beyond that case and beyond text. The relationship is topical, and the available description supports treating the survey as an account of the broader research area.
Preparing data and building regional systems
FineWeb2 addresses how a shared pretraining data pipeline can adapt its processing to different languages. Typhoon approaches that problem for Thai by gathering additional crawl packages, deduplicating text, applying domain and document filters, and constructing a bilingual mixture. FineWeb2’s stated objective is to make language-sensitive processing work across a wider set of languages. Its citation places the Thai collection problem alongside the broader challenge of designing scalable data preparation.
Sailor develops open language systems for Southeast Asia. Its regional focus puts it in conversation with a choice examined by Typhoon. A developer can concentrate the data, vocabulary, and evaluation on Thai, or pursue coverage of multiple languages used in the region. The Typhoon report discusses the implications of that choice through the Thai share of the corpora it examines and through its dedicated Thai evaluation. Sailor’s stated contribution is to the regional development effort.
Vocabulary, translation, and language choice
How Can We Effectively Expand the Vocabulary of LLMs with 0.01GB of Target Language Text? returns to the vocabulary expansion question with a target-language data constraint specified in its title. In Typhoon, an inherited English-centered vocabulary is extended using sub-words learned on Thai text. The later study asks how to pursue vocabulary expansion with the named text budget. The overlap concerns the adaptation of an existing vocabulary, while the later study’s framing singles out the amount of target-language text available for the job.
Machine translation Evaluation Eng-Thai MQM Ranking dataset contributes a ranking dataset for English-to-Thai translation evaluation. Typhoon reports translation results on FLORES-200 using BLEU and chrF. The later work addresses the same translation direction through a dataset organized for ranking. Its stated contribution lies in how translation outputs are evaluated, an aspect of the broader Thai capability question that Typhoon had assessed alongside exams, instructions, and other generation tasks.
Language-Aware Token Boosting focuses on reducing language confusion without tuning. The target problem concerns which language the system produces. Typhoon’s tokenizer change addresses how Thai is represented, and its continual pretraining and supervised fine-tuning modify the system that uses that representation. The later work’s stated emphasis is on influencing language choice without an additional tuning stage. Together these lines of work distinguish several points at which Thai capability can be studied, from the text and vocabulary available during training to the language and quality of the output produced for a user.
Cite
Cite as Kunat Pipatanakul, Phatrasek Jirabovonvisut, Potsawee Manakul, Sittipong Sripaisarnmongkol, Ruangsak Patomwong, Pathomporn Chokchainant and Kasima Tharnpipitchai. 2023. Typhoon: Thai Large Language Models. arXiv (Cornell University).
@misc{pipatanakul2023typhoon,
title = {{Typhoon: Thai Large Language Models}},
author = {Kunat Pipatanakul, Phatrasek Jirabovonvisut, Potsawee Manakul, Sittipong Sripaisarnmongkol, Ruangsak Patomwong, Pathomporn Chokchainant and Kasima Tharnpipitchai},
year = {2023},
doi = {10.48550/arxiv.2312.13951},
eprint = {2312.13951},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2312.13951}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/pipatanakul-2023-typhoon-thai-large-language-models/
References
- Kabir Ahuja, Rishav Hada, Millicent Ochieng, Prachi Jain, Harshita Diddee, Samuel Maina, Tanuja Ganu, Sameer Segal, Maxamed Axmed, Kalika Bali, et al. Mega: Multilingual evaluation of generative ai. arXiv preprint arXiv:2303.12528, 2023. our card
- Mikel Artetxe, Sebastian Ruder, and Dani Yogatama. On the cross-lingual transferability of monolingual representations. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 4623–4637, Online, July 2020. Association for Computational Linguistics. our card
- Yejin Bang, Samuel Cahyawijaya, Nayeon Lee, Wenliang Dai, Dan Su, Bryan Wilie, Holy Lovenia, Ziwei Ji, Tiezheng Yu, Willy Chung, Quyet V. Do, Yan Xu, and Pascale Fung. A multitask, multilingual, multimodal evaluation of chatgpt on reasoning, hallucination, and interactivity. arXiv preprint arXiv:2302.04023, 2023. our card
- BIG bench authors. Beyond the imitation game: Quantifying and extrapolating the capabilities of language models. Transactions on Machine Learning Research, 2023. our card
- Abhik Bhattacharjee, Tahmid Hasan, Wasi Uddin Ahmad, Yuan-Fang Li, Yong-Bin Kang, and Rifat Shahriyar. CrossSum: Beyond English-centric cross-lingual summarization for 1,500+ language pairs. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki, editors, Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2541–2564, Toronto, Canada, July 2023. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc., 2020. our card
- Hyung Won Chung, Le Hou, Shayne Longpre, Barret Zoph, Yi Tay, William Fedus, Yunxuan Li, Xuezhi Wang, Mostafa Dehghani, Siddhartha Brahma, et al. Scaling instruction-finetuned language models. arXiv preprint arXiv:2210.11416, 2022. OpenAlex ↗ · Scholar ↗
- Alexis Conneau, Ruty Rinott, Guillaume Lample, Adina Williams, Samuel Bowman, Holger Schwenk, and Veselin Stoyanov. XNLI: Evaluating cross-lingual sentence representations. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 2475–2485, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Mike Conover, Matt Hayes, Ankit Mathur, Jianwei Xie, Jun Wan, Sam Shah, Ali Ghodsi, Patrick Wendell, Matei Zaharia, and Reynold Xin. Free dolly: Introducing the world's first truly open instruction-tuned llm, 2023. OpenAlex ↗ · Scholar ↗
- Marta R Costa-jussa, James Cross, Onur Çelebi, Maha Elbayad, Kenneth Heafield, Kevin Heffernan, Elahe Kalbassi, Janice Lam, Daniel Licht, Jean Maillard, et al. No language left behind: Scaling human-centered machine translation. arXiv preprint arXiv:2207.04672, 2022. our card
- Zoltan Csaki, Pian Pawakapan, Urmish Thakker, and Qiantong Xu. Efficiently adapting pretrained language models to new languages. arXiv preprint arXiv:2311.05741, 2023. our card
- Ning Ding, Yulin Chen, Bokai Xu, Yujia Qin, Shengding Hu, Zhiyuan Liu, Maosong Sun, and Bowen Zhou. Enhancing chat language models by scaling high-quality instructional conversations. In Houda Bouamor, Juan Pino, and Kalika Bali, editors, Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 3029–3051, Singapore, December 2023. Association for Computational Linguistics. our card
- Common Crawl Foundation. Statistics of common crawl monthly archives by commoncrawl. https://commoncrawl.github.io/cc-crawl-statistics/plots/languages, 2023. OpenAlex ↗ · Scholar ↗
- Tahmid Hasan, Abhik Bhattacharjee, Md. Saiful Islam, Kazi Mubasshir, Yuan-Fang Li, Yong-Bin Kang, M. Sohel Rahman, and Rifat Shahriyar. XL-sum: Large-scale multilingual abstractive summarization for 44 languages. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 4693–4703, Online, August 2021. Association for Computational Linguistics. our card
- Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. our card
- Albert Q Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023. OpenAlex ↗ · Scholar ↗
- Taku Kudo and John Richardson. SentencePiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 66–71, Brussels, Belgium, November 2018. Association for Computational Linguistics. our card
- Harrison Lee, Samrat Phatale, Hassan Mansoor, Kellie Lu, Thomas Mesnard, Colton Bishop, Victor Carbune, and Abhinav Rastogi. Rlaif: Scaling reinforcement learning from human feedback with ai feedback. arXiv preprint arXiv:2309.00267, 2023. OpenAlex ↗ · Scholar ↗
- Wei Qi Leong, Jian Gang Ngui, Yosephine Susanto, Hamsawardhini Rengarajan, Kengatharaiyer Sarveswaran, and William Chandra Tjhi. Bhasa: A holistic southeast asian linguistic and cultural evaluation suite for large language models. arXiv preprint arXiv:2309.06085, 2023. our card
- Xuechen Li, Tianyi Zhang, Yann Dubois, Rohan Taori, Ishaan Gulrajani, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Alpacaeval: An automatic evaluator of instruction-following models. https://github.com/tatsu-lab/alpaca_eval, 2023. OpenAlex ↗ · Scholar ↗
- Percy Liang, Rishi Bommasani, Tony Lee, Dimitris Tsipras, Dilara Soylu, Michihiro Yasunaga, Yian Zhang, Deepak Narayanan, Yuhuai Wu, Ananya Kumar, Benjamin Newman, Binhang Yuan, Bobby Yan, Ce Zhang, Christian Cosgrove, Christopher D. Manning, Christopher Ré, Diana Acosta-Navas, Drew A. Hudson, Eric Zelikman, Esin Durmus, Faisal Ladhak, Frieda Rong, Hongyu Ren, Huaxiu Yao, Jue Wang, Keshav Santhanam, Laurel Orr, Lucia Zheng, Mert Yuksekgonul, Mirac Suzgun, Nathan Kim, Neel Guha, Niladri Chatterji, Omar Khattab, Peter Henderson, Qian Huang, Ryan Chi, Sang Michael Xie, Shibani Santurkar, Surya Ganguli, Tatsunori Hashimoto, Thomas Icard, Tianyi Zhang, Vishrav Chaudhary, William Wang, Xuechen Li, Yifan Mai, Yuhui Zhang, and Yuta Koreeda. Holistic evaluation of language models, 2023. OpenAlex ↗ · Scholar ↗
- Chin-Yew Lin. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81, Barcelona, Spain, July 2004. Association for Computational Linguistics. our card
- Xi Victoria Lin, Todor Mihaylov, Mikel Artetxe, Tianlu Wang, Shuohui Chen, Daniel Simig, Myle Ott, Naman Goyal, Shruti Bhosale, Jingfei Du, Ramakanth Pasunuru, Sam Shleifer, Punit Singh Koura, Vishrav Chaudhary, Brian O'Horo, Jeff Wang, Luke Zettlemoyer, Zornitsa Kozareva, Mona Diab, Veselin Stoyanov, and Xian Li. Few-shot learning with multilingual generative language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 9019–9052, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Adian Liusie, Potsawee Manakul, and Mark J. F. Gales. LLM Comparative Assessment: Zero-shot NLG Evaluation through Pairwise Comparisons using Large Language Models, 2023. our card
- Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. our card
- Lalita Lowphansirikul, Charin Polpanumas, Nawat Jantrakulchai, and Sarana Nutanong. Wangchanberta: Pretraining transformer-based thai language models. arXiv preprint arXiv:2101.09635, 2021. OpenAlex ↗ · Scholar ↗
- Yun Luo, Zhen Yang, Fandong Meng, Yafu Li, Jie Zhou, and Yue Zhang. An empirical study of catastrophic forgetting in large language models during continual fine-tuning. arXiv preprint arXiv:2308.08747, 2023. our card
- Louis Martin, Benjamin Muller, Pedro Javier Ortiz Suárez, Yoann Dupont, Laurent Romary, Éric de la Clergerie, Djamé Seddah, and Benoît Sagot. CamemBERT: a tasty French language model. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7203–7219, Online, July 2020. Association for Computational Linguistics. our card
- Martin Müller and Florian Laurent. Cedille: A large autoregressive french language model. arXiv preprint arXiv:2202.03371, 2022. OpenAlex ↗ · Scholar ↗
- Dat Quoc Nguyen and Anh Tuan Nguyen. PhoBERT: Pre-trained language models for Vietnamese. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1037–1042, Online, November 2020. Association for Computational Linguistics. our card
- Xuan-Phi Nguyen, Wenxuan Zhang, Xin Li, Mahani Aljunied, Qingyu Tan, Liying Cheng, Guanzheng Chen, Yue Deng, Sen Yang, Chaoqun Liu, et al. Seallms–large language models for southeast asia. arXiv preprint arXiv:2312.00738, 2023. our card
- The National Institute of Educational Testing Service. Basic statistical values of o-net test results. https://www.niets.or.th/th/content/view/11821, 2021. OpenAlex ↗ · Scholar ↗
- Consortium of Thai Medical Schools. Scores report of the tpat1 exam for thai medical schools admission. https://www9.si.mahidol.ac.th/cotmes_stat.html, 2023. OpenAlex ↗ · Scholar ↗
- Council of University Presidents of Thailand. Basic statistical report tgat/tpat examination. https://www.mytcas.com/stat/, 2023. OpenAlex ↗ · Scholar ↗
- OpenAI. GPT-4 technical report, 2023. our card
- OpenThaiGPT. Released openthaigpt 7b 1.0.0-beta. https://openthaigpt.aieat.or.th/, 2023. OpenAlex ↗ · Scholar ↗
- Pedro Javier Ortiz Suárez, Laurent Romary, and Benoît Sagot. A monolingual approach to contextualized word embeddings for mid-resource languages. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1703–1714, Online, July 2020. Association for Computational Linguistics. our card
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35:27730–27744, 2022. our card
- Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311–318, Philadelphia, Pennsylvania, USA, July 2002. Association for Computational Linguistics. our card
- Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza Alobeidli, Baptiste Pannier, Ebtesam Almazrouei, and Julien Launay. The refinedweb dataset for falcon llm: Outperforming curated corpora with web data, and web data only, 2023. OpenAlex ↗ · Scholar ↗
- Ramon Pires, Hugo Abonizio, Thales Rogério, and Rodrigo Nogueira. Sabi$\backslash$'a: Portuguese large language models. arXiv preprint arXiv:2304.07880, 2023. OpenAlex ↗ · Scholar ↗
- Charin Polpanumas, Wannaphong Phatthiyaphaibun, Patomporn Payoungkhamdee, Peerat Limkonchotiwat, Lalita Lowphansirikul, Can Udomcharoenchaikit, Titipat Achakulwisut, Ekapol Chuangsuwanich, and Sarana Nutanong. WangChanGLM — The Multilingual Instruction-Following Model, April 2023. OpenAlex ↗ · Scholar ↗
- Edoardo Maria Ponti, Goran Glavaš, Olga Majewska, Qianchu Liu, Ivan Vulić, and Anna Korhonen. XCOPA: A multilingual dataset for causal commonsense reasoning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2362–2376, Online, November 2020. Association for Computational Linguistics. our card
- Maja Popović. chrF: character n-gram F-score for automatic MT evaluation. In Proceedings of the Tenth Workshop on Statistical Machine Translation, pages 392–395, Lisbon, Portugal, September 2015. Association for Computational Linguistics. our card
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. OpenAlex ↗ · Scholar ↗
- Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D Manning, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. arXiv preprint arXiv:2305.18290, 2023. our card
- Vinay Venkatesh Ramasesh, Aitor Lewkowycz, and Ethan Dyer. Effect of scale on catastrophic forgetting in neural networks. In International Conference on Learning Representations, 2022. OpenAlex ↗ · Scholar ↗
- Baptiste Roziere, Jonas Gehring, Fabian Gloeckle, Sten Sootla, Itai Gat, Xiaoqing Ellen Tan, Yossi Adi, Jingyu Liu, Tal Remez, Jérémy Rapin, et al. Code llama: Open foundation models for code. arXiv preprint arXiv:2308.12950, 2023. our card
- Gabriele Sarti and Malvina Nissim. It5: Large-scale text-to-text pretraining for italian language understanding and generation. arXiv preprint arXiv:2203.03759, 2022. OpenAlex ↗ · Scholar ↗
- Neha Sengupta, Sunil Kumar Sahu, Bokang Jia, Satheesh Katipomu, Haonan Li, Fajri Koto, Osama Mohammed Afzal, Samta Kamboj, Onkar Pandit, Rahul Pal, et al. Jais and jais-chat: Arabic-centric foundation and instruction-tuned open generative large language models. arXiv preprint arXiv:2308.16149, 2023. our card
- AI Singapore. Sea-lion (southeast asian languages in one network): A family of large language models for southeast asia. https://github.com/aisingapore/sealion, 2023. our card
- Nisan Stiennon, Long Ouyang, Jeffrey Wu, Daniel Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul F Christiano. Learning to summarize with human feedback. Advances in Neural Information Processing Systems, 33:3008–3021, 2020. OpenAlex ↗ · Scholar ↗
- Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B. Hashimoto. Stanford alpaca: An instruction-following llama model. https://github.com/tatsu-lab/stanford_alpaca, 2023. OpenAlex ↗ · Scholar ↗
- Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023. our card
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023. our card
- Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. Self-instruct: Aligning language models with self-generated instructions. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki, editors, Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13484–13508, Toronto, Canada, July 2023. Association for Computational Linguistics. our card
- Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V Le. Finetuned language models are zero-shot learners. In International Conference on Learning Representations, 2022. our card
- BigScience Workshop, Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilić, Daniel Hesslow, Roman Castagné, Alexandra Sasha Luccioni, François Yvon, et al. Bloom: A 176b-parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100, 2022. our card
- Shijie Wu, Ozan Irsoy, Steven Lu, Vadim Dabravolski, Mark Dredze, Sebastian Gehrmann, Prabhanjan Kambadur, David Rosenberg, and Gideon Mann. Bloomberggpt: A large language model for finance. arXiv preprint arXiv:2303.17564, 2023. our card
- Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. mT5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483–498, Online, June 2021. Association for Computational Linguistics. our card
- Aohan Zeng, Xiao Liu, Zhengxiao Du, Zihan Wang, Hanyu Lai, Ming Ding, Zhuoyi Yang, Yifan Xu, Wendi Zheng, Xiao Xia, Weng Lam Tam, Zixuan Ma, Yufei Xue, Jidong Zhai, Wenguang Chen, Zhiyuan Liu, Peng Zhang, Yuxiao Dong, and Jie Tang. GLM-130b: An open bilingual pre-trained model. In The Eleventh International Conference on Learning Representations, 2023. our card
- Wenxuan Zhang, Sharifah Mahani Aljunied, Chang Gao, Yew Ken Chia, and Lidong Bing. M3exam: A multilingual, multimodal, multilevel benchmark for examining large language models. arXiv preprint arXiv:2306.05179, 2023. our card
- Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. arXiv preprint arXiv:2306.05685, 2023. our card