Shanghai AI Lab/Dense

Shanghai AI LabInternLM2 5B

InternLM2 5B — solid mid-range Chinese-English model.

chat
4.5B
Parameters
32K
Context length
1
Benchmarks
6
Quantizations
40K
HF downloads
Architecture
Dense
Released
2024-01-17
Layers
32
KV Heads
8
Head Dim
128
Family
internlm

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.893.2 GBgood
Q5_K_S5.573.6 GBgood
Q5_K_M5.73.7 GBgood
Q6_K6.564.2 GBexcellent
Q8_08.55.3 GBlossless
FP16169.5 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN INTERNLM2 5B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (1)

HumanEval47.6

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run internlm:5b-q4_K_M

Tag may need adjustment — check ollama.com/library/internlm for available tags.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA Tesla C1080
4 GB VRAM • 102 GB/s
NVIDIA
NVIDIA Tesla K10
4 GB VRAM • 160 GB/s
NVIDIA
NVIDIA Tesla M4
4 GB VRAM • 88 GB/s
NVIDIA
AMD Radeon Instinct MI8
4 GB VRAM • 512 GB/s
AMD
NVIDIA RTX A1000 Embedded
4 GB VRAM • 224 GB/s
NVIDIA
NVIDIA RTX A2000 Embedded
4 GB VRAM • 192 GB/s
NVIDIA
Intel Arc A310
4 GB VRAM • 124 GB/s
INTEL
$79
Intel Arc A350
4 GB VRAM • 124 GB/s
INTEL
$99

Find the best GPU for InternLM2 5B

Build Hardware for InternLM2 5B

InternLM2 5B — solid mid-range Chinese-English model.

▸ SPEC SHEET

InternLM2 5B4.5B Dense.

▸ SPECIFICATIONS
PARAMETERS
4.5B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
32K tokens
CAPABILITIES
chat
RELEASE DATE
2024-01-17
PROVIDER
Shanghai AI Lab
FAMILY
internlm
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.893.2 GB94%
Q5_K_S5.573.6 GB96%
Q5_K_M5.73.7 GB96%
Q6_K6.564.2 GB97%
Q8_08.55.3 GB100%
FP16169.5 GB100%
§ 01BENCHMARK SCORES
HumanEval47.6