ApX logoApX logo
CalculatorCoursesPricing

SEA-LION-7B

Open Source
Open Weights

Parameters

7.1B

Context Length

2K

Modality

Text

Architecture

Dense

KV Cache Rate

512 KB/tok

License

Apache 2.0

Release Date

1 Dec 2023

Knowledge Cutoff

Sep 2023

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Context

Workload Memory: 6.81 GB

vLLM

INT4 · 2048 context · 1 user

Base Weights: 3.31 GB

KV Cache: 1.00 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

vLLM

6.8 / 21.6 GB

1x RTX 3060 12GB

llama.cpp

6.8 / 11.2 GB

Apple M4 24GB

llama.cpp

6.8 / 18.0 GB

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.34.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: 2K · Vocab: 256kx 32 layersLayerNormPre-AttentionMulti-Head Attention32Q / 32KV headsHead dim: 128+LayerNormPre-FFNFeed-Forward NetworkGELUIntermediate: 16.4k+Final LayerNormOutput Logits

Evaluation Benchmarks

No evaluation benchmarks for SEA-LION-7B available.

Rankings

Overall Rank

-

Coding Rank

-

About SEA-LION-7B

SEA-LION-7B is an open foundation model developed by AI Singapore specifically pretrained on 11 Southeast Asian languages and English. It utilizes a custom 256K-token SEABPETokenizer for culturally nuanced and efficient regional text generation.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

32

Key-Value Heads

32

Attention Head Dimension

128

Position Embedding

Absolute Position Embedding

Normalization

Layer Normalization

Activation Function

GELU

Dimensions

Base Precision

FP16

Hidden Dimension Size

4,096

Number of Layers

32

FFN Intermediate Size (Dense)

16,384

Tokenizer

Vocabulary Size

256,000

About SEA-LION

Southeast Asian Languages In One Network (SEA-LION) is a family of language models developed by AI Singapore for Southeast Asian languages. The models support English, Indonesian, Malay, Thai, Vietnamese, Tagalog, Burmese, Khmer, Lao, Tamil, and Chinese. It focuses on regional linguistic patterns and is available in base and instruction-tuned variants.


Other SEA-LION Models