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
Precision
Context
Workload Memory: 4.21 GB
INT4 · 4K context
Base Weights: 1.40 GB
KV Cache: 0.32 GB
Runtime & Graphs: 2.50 GB
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
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 4.36.0.dev0
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
No evaluation benchmarks for MaLLaM-3B available.
Overall Rank
-
Coding Rank
-
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.
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
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.