Parameters
8B
Context Length
128K
Modality
Text
Architecture
Dense
License
Apache-2.0
Release Date
1 Jun 2024
Knowledge Cutoff
Mar 2023
VRAM requirements for different quantization methods and context sizes
1,024 tokens
Consumer
1x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
128,000 tokens
Consumer
2x RTX 4090
24GB VRAM
Datacenter
1x NVIDIA A100
80GB VRAM
Apple Silicon
1x Apple M3 Max
128GB VRAM
No evaluation benchmarks for Typhoon-2-8B available.
Overall Rank
-
Coding Rank
-
Typhoon-2-8B is a large language model specifically engineered to address the linguistic requirements of the Thai language while maintaining the broad capabilities of the Llama 3 architecture. Developed by SCB 10X, the model undergoes a specialized training process that involves extending the base tokenizer with Thai-specific tokens and performing continual pre-training on a high-quality Thai corpus. This adaptation ensures that the model can process Thai text with higher efficiency and accuracy compared to general-purpose multilingual models, particularly in domains such as Thai law, local administration, and cultural contexts.
The technical architecture follows a dense transformer structure utilizing Grouped-Query Attention (GQA) to optimize inference speed and memory consumption. It incorporates Rotary Positional Embeddings (RoPE) and is configured with a context window of 128,000 tokens, enabling the processing of long-form documents and complex multi-turn conversations. The model utilizes the SwiGLU activation function and Root Mean Square Layer Normalization (RMSNorm) to stabilize training and improve representation learning across its 32 layers.
Function calling capabilities are integrated into the model, allowing it to interact with external tools and APIs by generating structured data outputs. This functionality makes it suitable for agentic workflows, automated administrative tasks, and specialized information retrieval systems where precise Thai language understanding is required. The model is released under the Apache 2.0 license, facilitating both research and commercial applications in the Thai technology ecosystem.
Attention
Attention Structure
Multi-Head Attention
Attention Heads
32
Key-Value Heads
8
Attention Head Dimension
-
Position Embedding
Absolute Position Embedding
RoPE Theta
-
Sliding Window Attention
-
Sliding Window Size
-
Normalization
RMS Normalization
Activation Function
SwigLU
Dimensions
Hidden Dimension Size
4,096
Number of Layers
32
FFN Intermediate Size (Dense)
-
Multi-Token Prediction Heads
-
Tokenizer
Vocabulary Size
-
Total Score
67
/ 100
Typhoon-2-8B demonstrates a strong commitment to transparency regarding its architectural foundation and tokenizer adaptation for the Thai language. While the technical documentation is superior to many regional models, it lacks granular detail on training compute resources and the full composition of its proprietary training datasets. The model's identity and licensing are clearly stated, though users should be aware of the specific commercial restrictions inherent in the Llama 3.1 Community License.
Architectural Provenance
The model is explicitly identified as being built on the Llama 3.1-8B architecture. The technical report ('Typhoon 2: A Family of Open Text and Multimodal Thai Large Language Models') provides a detailed description of the continual pre-training methodology, including the use of Grouped-Query Attention (GQA), Rotary Positional Embeddings (RoPE), and SwiGLU activation. The transition from Typhoon 1.5 (Llama 3) to Typhoon 2 (Llama 3.1) is well-documented, though specific hyperparameter tuning for the continual pre-training phase is only partially disclosed.
Dataset Composition
The technical report discloses the use of the 'Typhoon2-Corpus,' which includes a mixture of English and Thai data. It mentions specific sources like CommonCrawl and a 'Synthetic Textbook' dataset (5,000 samples) inspired by the Phi/Cosmopedia approach. However, while categories and some methodologies (MinHash/LSH deduplication) are public, the exact percentage breakdown of the full training mixture and the specific proprietary Thai datasets used by SCB 10X are not fully transparent.
Tokenizer Integrity
The tokenizer is publicly accessible via the Hugging Face repository and is documented as an extension of the Llama 3.1 tokenizer with Thai-specific tokens. Vocabulary size and tokenization behavior (e.g., handling of Thai characters and tone marks) are described in official documentation. The alignment between the tokenizer and the Thai-centric training data is verifiable through the provided code and model files.
Parameter Density
The model is clearly stated to be a dense 8 billion parameter model. As a dense architecture, the active parameters match the total parameters. While the architectural breakdown (layers, attention heads) is standard for Llama 3.1, the documentation confirms these specifications remain consistent in the Typhoon variant. Quantization impacts are mentioned but not comprehensively documented for all precision levels.
Training Compute
Documentation mentions the use of H100 GPUs for training and provides some high-level context (e.g., 'academic budget' equivalents for research previews). However, the specific total GPU hours, energy consumption, and carbon footprint for the production Typhoon-2-8B model are not publicly disclosed in detail.
Benchmark Reproducibility
The technical report provides extensive benchmark results across Thai-specific exams (ThaiExam, ONET, TGAT) and standard benchmarks (MT-Bench, IFEval). While the results are detailed, the full evaluation harness and exact prompt templates used for every benchmark are not fully public, making exact third-party reproduction difficult without additional internal information.
Identity Consistency
The model consistently identifies itself as Typhoon-2 and acknowledges its Llama 3.1 foundation in its naming convention and system prompts. It is transparent about its bilingual nature and its limitations as a base or instruct model. There is no evidence of the model claiming a competitor's identity or misrepresenting its origin.
License Clarity
The model is released under the Llama 3.1 Community License, which is a custom license with specific commercial use restrictions (e.g., for entities with >700M monthly active users). While the weights are 'open,' the license is not a standard OSI-approved open-source license like Apache 2.0, despite some marketing materials occasionally using the term 'open source' loosely.
Hardware Footprint
Basic VRAM requirements are provided in community documentation and Hugging Face model cards, noting that 8B models generally fit on consumer GPUs with 12GB+ VRAM. Quantized versions (Q4_K_M) are available with associated file sizes, but a comprehensive official guide on context-length memory scaling and quantization-accuracy tradeoffs is missing.
Versioning Drift
The model follows a versioning scheme (v1.5 to v2.0), and deprecation timelines for older versions are communicated via the OpenTyphoon API documentation. However, a detailed, granular changelog for weight updates or specific training data additions between minor versions is not consistently maintained in a public repository.
Typhoon is a Thai language model family developed by SCB 10X. It is specifically optimized for the Thai language, addressing complexities such as the lack of word delimiters and tonal nuances. The models are trained on Thai-centric datasets including legal, cultural, and historical documents to ensure localized context and knowledge.
APX AI
Online