Mistral AI
Mistral AI
Nemotoron-Mini-4B-Instruct-ONNX-INT4-RTX
Model
Mistral AI
Mistral AI
Nemotoron-Mini-4B-Instruct-ONNX-INT4-RTX

Nemotron-Mini-4B Instruct model is for generating responses for roleplaying, retrieval augmented generation, and function calling. It is a small language model optimized through distillation, pruning and quantization for speed and on-device deployment.

Model Overview


Description:

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. VRAM usage has been minimized to approximately 2 GB, providing significantly faster time to first token compared to LLMs. The NVIDIA Nemotron-Mini-4B Instruct ONNX INT4 model is quantized with TensorRT Model Optimizer.

Steps followed to generate this quantized model:

  • Download Nemotron-Mini-4B Instruct model in Pytorch bfloat16 format from HuggingFace.

  • Convert PyTorch model to ONNX FP16 using onnxruntime-genai model builder.

  • Quantize Nemotron-Mini-4B Instruct ONNX FP16 model to Nemotron-Mini-4B Instruct ONNX INT4 AWQ model using TensorRT Model Optimizer – Windows.

This model is ready for commercial/non-commercial use.

Terms of use Governing Terms: Use of this model is governed by the NVIDIA Open Model License Agreement.

Additional Information: Apache License, Version 2.0.

References(s):

Nemotron Mini 4B Model

Model Architecture:

Architecture Type: Transformer
Network Architecture: Decoder-only

Input:

  • Input Type: Text

  • Input Format: String

  • Input Parameters: One Dimensional (1D)

  • Other Properties Related to Input: The model has a maximum of 4096 input tokens.

Output:

  • Output Type(s):Text (Response)

  • Output Format:String

  • Output Parameters:1D

  • Other Properties Related to Output:The model has a maximum of 4096 input tokens. Maximum output for both versions can be set apart from input.

Software Integration:

Runtime(s): Not Applicable (N/A)

Supported Hardware Microarchitecture Compatibility: NVIDIA Ampere and newer GPUs. 6GB or higher VRAM GPUs are recommended. Higher VRAM may be required for larger context length use cases.

Supported Operating System(s): Windows

Model Version(s): 1.0

Training, Testing, and Evaluation Datasets:

Refer to Nemotron-Mini-4B Model Card for the details.

Calibration Dataset: cnn_daily mail used for calibration .

  • Link:cnn_daily mail

  • Data Collection Method by dataset: [Automated]

  • Labeling Method by dataset:[Unknown]

Evaluation Dataset:

  • Link: MMLU

  • Data Collection Method by dataset: [Unknown]

  • Labeling Method by dataset: [Not Applicable]

Evaluation Results:

MMLU Accuracy ( 5 shot ) : With GenAI ORT->DML backend, the following accuracy metrics were run on a desktop RTX 4090 GPU system. "overall_accuracy": 56.01

Test configuration:

  • GPU: RTX 4090, RTX3090.

  • Windows 11: 23H2

  • NVIDIA Graphics driver: R565 or higherr

Inference:

We used GenAI ORT->DML backend for inference. The instructions to use this backend are given in readme.txt file available under “Files” tab.

Ethical Considerations:

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. Please report security vulnerabilities or NVIDIA AI Concerns here.

Publisher
Mistral AI
Mistral AI
Latest Version1.0
UpdatedMarch 6, 2025 UTC
Compressed Size4.22 GB

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.