ApX logoApX logo

MaLLaM-3B

Parameters

3B

Context Length

4K

Modality

Text

Architecture

Dense

KV Cache Rate

81 KB/tok

License

Apache-2.0

Release Date

15 Jan 2024

Knowledge Cutoff

Jan 2024

API Pricing (per 1M)

Self-hosted only

Hardware & System Requirements

Precision

Native

Context

Workload Memory: 4.21 GB

INT4 · 4K context

Base Weights: 1.40 GB

KV Cache: 0.32 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

1x NVIDIA L4 24GB

4.2 / 21.6 GB usable

1x RTX 3060 12GB

4.2 / 10.8 GB usable

Apple M4 24GB

4.2 / 18.0 GB usable

Determine requirements for your specific workload:

Open in VRAM Calculator

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.36.0.dev0

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashAttention-3

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Evaluation Benchmarks

No evaluation benchmarks for MaLLaM-3B available.

Rankings

Overall Rank

-

Coding Rank

-

About MaLLaM-3B

MaLLaM-3B is a sovereign 3B parameter foundation model developed by Malaysia AI and Mesolitica for Bahasa Malaysia and English applications. Trained on 90B tokens of local digital artifacts, it is optimized for low-latency edge deployment.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

32

Key-Value Heads

8

Attention Head Dimension

100

Position Embedding

Absolute Position Embedding

RoPE Theta

10,000

Sliding Window Attention

Yes

Sliding Window Size

4,096

Normalization

RMS Normalization

Activation Function

SwigLU

Dimensions

Base Precision

FP16

Hidden Dimension Size

3,200

Number of Layers

26

FFN Intermediate Size (Dense)

8,640

Tokenizer

Vocabulary Size

32,000

About MaLLaM

Malaysian Large Language Model (MaLLaM) is an open-source language model family developed to support Bahasa Malaysia and English. The model is trained on Malaysian text data including local news, literature, and digital content. It is designed to process Malaysian linguistic nuances and cultural context, available in multiple parameter sizes for different hardware deployments.


Other MaLLaM Models
  • No related models available