VOOZH about

URL: https://willitrunai.com/models/nemotron-mini-4b

โ‡ฑ Nemotron Mini 4B VRAM Requirements โ€” GPU Compatibility


๐Ÿ‘ NVIDIA
NVIDIA

Nemotron Mini 4B

Current
๐Ÿ‘ huggingface
HuggingFace
392.4KDownloads184LikesAug 2024Released4K tokensContextNVIDIA Open ModelLicense6 EntryQuality

Nemotron Mini 4B (4B parameters) requires approximately 6.2 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 8 GB of VRAM.

Get started

โ€” copy & paste to run locally

Copy-paste commands to run Nemotron Mini 4B on your machine.

Run

docker run --rm -it ghcr.io/ggerganov/llama.cpp:full \ --hf-repo "nvidia/Nemotron-Mini-4B-Instruct" \ --hf-file "Nemotron-Mini-4B-Instruct-Q4_K_M.gguf" \ -c 4096 -ngl 99

Quick specs

Parameters4B
Architecturedense
Context4K tokens
Modalitytext
Min RAM1.6 GB
Rec. RAM2.4 GB (Q4_K_M)
LicenseNVIDIA Open Model
FamilyNemotron
โœ“ Chat

About this model

Nemotron-Mini-4B-Instruct is a model for generating responses for roleplaying, retrieval augmented generation, and function calling. It is a small language model (SLM) optimized through distillation, pruning and quantization for speed and on-device deployment. It is a fine-tuned version of nvidia/Minitron-4B-Base, which was pruned and distilled from Nemotron-4 15B using our LLM compression technique. This instruct model is optimized for roleplay, RAG QA, and function calling in English. It supports a context length of 4,096 tokens. This model is ready for commercial use.

  • โ€ขGarak, is an automated LLM vulnerability scanner that probes for common weaknesses, including prompt injection and data leakage
  • โ€ขAEGIS, is a content safety evaluation dataset and LLM based content safety classifier model, that adheres to a broad taxonomy of 13 categories of...
  • โ€ขHuman Content Red Teaming leveraging human interaction and evaluation of the models' responses

Related models

Your hardware

Detecting...

Quick picks

๐Ÿ‘ Intel
Best budgetB
Intel Arc A580 8GB~$179 โ€” 56 tok/s
๐Ÿ‘ NVIDIA
Best overallB
RTX 5060 8GB~$299 โ€” 76 tok/s

Best hardware

Top picks for Nemotron Mini 4B

RTX 5060 8GBB
8 GB
RTX 5060 Ti 8GBB
8 GB
RTX 5050 8GBB
8 GB
RTX 4060 8GBB
8 GB
RTX 4070 Laptop 8GBB
8 GB

Run this model

Nemotron Mini 4B on RTX 5060 8GBNemotron Mini 4B on RTX 5060 Ti 8GBNemotron Mini 4B on RTX 5050 8GB

Quantization options

VRAM estimates by quant level

No hardware detected โ€” fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
1.6 GB
Lowโ€”
Q3_K_S
3
2.0 GB
Lowโ€”
NVFP4
4
2.2 GB
Mediumโ€”
Q4_K_M
4
2.4 GB
Mediumโ€”
Q5_K_M
5
2.9 GB
Highโ€”
Q6_K
6
3.3 GB
Highโ€”
Q8_0
8
4.3 GB
Very Highโ€”
F16
16
8.2 GB
Maximumโ€”

Quality benchmarks

Nemotron Mini 4B benchmark scores

Benchmark verified

Coding

SWE-bench Verifiedโ€”
HumanEval+23.3%
Aider Polyglotโ€”
LiveCodeBenchโ€”

Reasoning

MMLU-Pro18.1%
GPQA Diamond4.0%
MATH-5002.6%
ARC Challenge50.9%

General

Chatbot Arenaโ€”
IFEval66.7%

Source: official ยท 2024-07-17

Hardware compatibility

Fit estimates across all hardware

Open calculator

Computing compatibility...

Memory breakdown

Reference: RTX 2060 6GB

Weights2.4 GB
KV Cache2.0 GB
Runtime1.2 GB
Headroom0.6 GB

Frequently asked questions

FAQ โ€” Nemotron Mini 4B

See also

Quantization GuideScoring MethodologyVRAM Calculator