---
title: "nemotron-4-mini-hindi-4b-instruct"
publisher: "nvidia"
type: "endpoint"
updated: "2025-05-22T00:17:48.133Z"
description: "A bilingual Hindi-English SLM for on-device inference, tailored specifically for Hindi Language."
canonical: "https://build.nvidia.com/nvidia/nemotron-4-mini-hindi-4b-instruct"
---

# Model Overview

## Description:

[//]: # ([Provide additional details about the algorithm/model; include supporting image/video and/or reference blog/article, if available.] [This model is ready for commercial/non-commercial use.] OR [This model is for research and development only.] OR [This model is for demonstration purposes and not for production usage.] <br>)

Nemotron-4-Mini-Hindi-4B-Instruct is a chat model for generating responses for chat application and retrieval augmented generation in Hindi. It is a aligned version of Nemotron-4-Mini-Hindi-4B-Base . 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.

This model is ready for commercial use.

### License/Terms of Use: 
[NVIDIA Open Model License](https://developer.download.nvidia.com/licenses/nvidia-open-model-license-agreement-june-2024.pdf)

## References

Please refer to the [User Guide]() to use the model and use a suggested guideline for prompts.

## Model Architecture:
**Architecture Type:** Transformer <br>
**Network Architecture:** Decoder-only <br>

## Limitations
The model was trained on data that contains toxic language and societal biases originally crawled from the internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts. The model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive. The model may answer with I statements, exhibiting some anthropomorphizing. This issue could be exacerbated without the use of the recommended prompt template.

## Input: 
**Input Type(s):**  Text (Prompt) <br>
**Input Format(s):** String <br>
**Input Parameters:** One Dimensional (1D) <br>
**Other Properties Related to Input:** The model has a maximum of 4096 input tokens. <br>

## Output: 
**Output Type(s):** Text (Response) <br>
**Output Format:** String <br>
**Output Parameters:** 1D <br>
**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.<br>

## Prompt Format:

We recommend using the following prompt template, which was used to fine-tune the model. The model may not perform optimally without it.

**Single Turn**

```
<extra_id_0>System
{system prompt}

<extra_id_1>User
{prompt}
<extra_id_1>Assistant\n
```

- Note that a newline character `\n` should be added at the end of the prompt.
- We recommend using `<extra_id_1>` as a stop token.

## Evaluation Results

| Category              | Hindi Benchmark       | # Shots | Nemotron-4-Mini-Hindi-4B-Instruct |
|:----------------------|:----------------------|--------:|----------------------------------:|
| General               | MMLU                  |       0 |                              50.5 |
|                       | ARC-C                 |       0 |                              65.53|
|                       | ARC-E                 |       0 |                              79.97|
|                       | Hella Swag            |       0 |                              39.9 |
|                       | BoolQ                 |       0 |                              67.86|
| Chat                  | IndicQuest (GPT4-Turbo)|       0 |                              4.15|

## Software Integration: (On-Device)
**Runtime(s):** AI Inference Manager (NVAIM) Version 1.0.0 <br>
**Toolkit:**  NVAIM <br>
See [this document](https://developer.nvidia.com/rtx/ai-inference-manager) for details on how to integrate the model into NVAIM.

**Supported Hardware Platform(s):** GPU supporting DirectX 11/12 and Vulkan 1.2 or higher <br>

**[Preferred/Supported] Operating System(s):** <br>
* Windows <br>

## Software Integration: (Cloud)
**Toolkit:** NVIDIA NIM <br>
See [this document](https://developer.nvidia.com/rtx/ai-inference-manager) for details on how to integrate the model into NVAIM.

**[Preferred/Supported] Operating System(s):** <br>
* Linux <br>

### Model Version(s)
Nemotron-4-Mini-Hindi-4B-Instruct

# Training & Evaluation Datasets: 

## Training Dataset:

** Data Collection Method by dataset <br>
* Hybrid: Automated, Human <br>

** Labeling Method by dataset <br>
* Hybrid: Automated, Human <br>

**Properties (Quantity, Dataset Descriptions, Sensor(s)):** <br>

Trained of general Supervised Fine-Tuning  (SFT) data followed by DPO on general and translated corpus.

## Evaluation Dataset:

** Data Collection Method by dataset <br>
* Hybrid: Automated, Human <br>

** Labeling Method by dataset <br>
* Human <br>

**Properties (Quantity, Dataset Descriptions, Sensor(s)):** 

12 benchmark datasets including [IndicXtreme](https://arxiv.org/abs/2212.05409) and other translated English Benchmarks like [MMLU](https://paperswithcode.com/sota/multi-task-language-understanding-on-mmlu) and [Hellaswag](https://paperswithcode.com/dataset/hellaswag).  <br>

## Inference:
**Engine:** TRT-LLM <br>
**Test Hardware [Name the specific test hardware model]:** <br>
* A100 <br>
* A10g <br>
* H100  <br>
* L40s  <br>

**Supported Hardware Platform(s):** A10g, A100, L40s, H100<br>

## 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.  For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards, which you can find by clicking the ModelCard++ tab above, next to Overview. Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).

## Bias

Field                                                                                               |  Response
:---------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------
Participation considerations from adversely impacted groups ([protected classes](https://www.senate.ca.gov/content/protected-classes)) in model design and testing:  |  None
Measures taken to mitigate against unwanted bias:                                                   |   None

## Explainability

Field                                                                                                  |  Response
:------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------
Intended Application & Domain:                                                                         |  Chat / Retrieval Augmented Generative (RAG) development Hindi and English.
Model Type:                                                                                            |  Generative Pre-Trained Transformer (GPT)
Intended User:                                                                                         |  Enterprise or community developers building applications for Hindi language.
Output:                                                                                                |  Text String(s)
Describe how the model works:                                                                          |  Generates a response using the input text and context in English and Hindi languages.   
Name the adversely impacted groups this has been tested to deliver comparable outcomes regardless of:  |  Not Applicable
Verified to have met prescribed NVIDIA quality standards:  |  Yes
Performance Metrics:                                                                                   |  Accuracy (by Natural Language Processing Task), Latency, and Throughput
Potential Known Risks:                                                                                 |  This model may produce output that is biased and toxic based on how it is prompted, producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive.  The model may also amplify biases and return toxic responses especially when prompted with toxic prompts. 
Licensing:                                                                                             |  [NVIDIA AI Foundation Models Community License Agreement](https://developer.nvidia.com/downloads/nv-ai-foundation-models-license)

## Privacy

Field                                                                                                                              |  Response
:----------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------
Generatable or reverse engineerable personally-identifiable information (PII)?                                                     |  None
Was consent obtained for any personal data used?                                                                                             |  Not Applicable
Personal data  used to create this model?                                                                                       |  Datasets used for fine-tuning did not introduce any personal data that did not exist in the base model.
How often is dataset reviewed?                                                                                                     |  Before Release
Is a mechanism in place to honor data subject right of access or deletion of personal data?                                        |  Not Applicable
If personal data is collected for the development of the model, was it collected directly by NVIDIA?                                            |  Not Applicable
If personal data is collected for the development of the model by NVIDIA, do you maintain or have access to disclosures made to data subjects?  |  Not Applicable
If personal data is collected for the development of this AI model, was it minimized to only what was required?                                 |  Not Applicable
Is there provenance for all datasets used in training?                                                                                                     |  Yes
Does data labeling (annotation, metadata) comply with privacy laws?                                                                |  Yes
Is data compliant with data subject requests for data correction or removal, if such a request was made?                           |  Not Applicable

## Safety & Security

Field                                               |  Response
:---------------------------------------------------|:----------------------------------
Model Application(s):                               |  Model is finetuned to create an instruct version for Hindi and English language chatbots.
Describe the life-critical impact (if present).   |  None Known
Use Case Restrictions:                              |  Abide by [NVIDIA AI Foundation Models Community License Agreement](https://developer.nvidia.com/downloads/nv-ai-foundation-models-license).
Model and dataset restrictions:            |  The Principle of least privilege (PoLP) is applied limiting access for dataset generation and model development.  Restrictions enforce dataset access during training, and dataset license constraints adhered to.

## Prototype

```python
from openai import OpenAI

client = OpenAI(
base_url = "https://integrate.api.nvidia.com/v1",
api_key = "$NVIDIA_API_KEY"
)

completion = client.chat.completions.create(
model="",
messages=[{"role":"user","content":""}],
temperature=,
top_p=,
max_tokens=,
stream=NaN
)

print(completion.choices[0].message)
```

```javascript
import OpenAI from 'openai';

const openai = new OpenAI({
apiKey: '$NVIDIA_API_KEY',
baseURL: 'https://integrate.api.nvidia.com/v1',
})

async function main() {
const completion = await openai.chat.completions.create({
model: "",
messages: [{"role":"user","content":""}],
temperature: ,
top_p: ,
max_tokens: ,
stream: ,
})

process.stdout.write(completion.choices[0]?.message?.content);

}

main();
```

```bash
curl https://integrate.api.nvidia.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $NVIDIA_API_KEY" \
-d '{
"model": "nvidia/nemotron-4-mini-hindi-4b-instruct",
"messages": [{"role":"user","content":""}],
"temperature": ,   
"top_p": ,
"max_tokens": ,
"stream":                 
}'
```