Typhoon-2-8B

Open Source
Open Weights

Parameters

8B

Context Length

128K

Modality

Text

Architecture

Dense

KV Cache Rate

128 KB/tok

License

Apache-2.0

Release Date

1 Jun 2024

Knowledge Cutoff

Mar 2023

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Context

Workload Memory: 7.23 GB

INT4 · 8K context

Base Weights: 3.73 GB

KV Cache: 1.00 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

7.2 / 21.6 GB

1x RTX 3060 12GB

7.2 / 11.2 GB

Apple M4 24GB

7.2 / 18.0 GB

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.40.1

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 4.1k · Context: 128Kx 32 layersRMSNormPre-AttentionMulti-Head Attention32Q / 8KV headsHead dim: 128+RMSNormPre-FFNFeed-Forward NetworkSwiGLU+Final RMSNormOutput Logits

Evaluation Benchmarks

No evaluation benchmarks for Typhoon-2-8B available.

Rankings

Overall Rank

-

Coding Rank

-

About Typhoon-2-8B

Typhoon-2-8B is a Thai-English language model developed by SCB 10X on the Llama 3 architecture with Thai-specific tokenizer adaptations. It features function calling and Grouped-Query Attention across an extensive 128K token context window.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

32

Key-Value Heads

8

Position Embedding

Absolute Position Embedding

Normalization

RMS Normalization

Activation Function

SwigLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

4,096

Number of Layers

32

About Typhoon

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.


Other Typhoon Models