---
title: "riva-translate-4b-instruct-v1_1"
publisher: "nvidia"
type: "endpoint"
updated: "2025-12-12T18:02:51.590Z"
description: "Translation model in 12 languages with few-shots example prompts capability."
canonical: "https://build.nvidia.com/nvidia/riva-translate-4b-instruct-v1_1"
---

# Model Overview

### Description:
The Riva-Translate-4B-Instruct-v1.1 Neural Machine Translation model translates text in 12 languages. The supported languages are: English(en), German(de), European Spanish(es-ES), LATAM Spanish(es-US), France(fr), Brazillian Portugese(pt-BR), Russian(ru), Simplified Chinese(zh-CN), Traditional Chinese(zh-TW), Japanese(ja),Korean(ko), Arabic(ar). It supports both sentence and document level translation. The model delivers a significant performance uplift compared to all previous in-house NMT models. This model is ready for commercial/non-commercial use. <br>

### License/Terms of Use
GOVERNING TERMS: This trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of this model is governed by the [NVIDIA Community Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-community-models-license/) ADDITIONAL INFORMATION: [Apache 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md). <br>

### Deployment Geography:
Global <br>

### Use Case: <br>
Translators, marketers, and web developers who deliver content in multiple languages. <br>

### Release Date:  <br>
Build.nvidia.com 12/11/2025 via [Link](https://build.nvidia.com/nvidia/riva-translate-4b-instruct-v1_1) <br>

## References(s):
[1] Vaswani, Ashish, et al. "Attention is all you need." arXiv preprint arXiv:1706.03762 (2017).
[2] https://github.com/openai/tiktoken
[3] https://en.wikipedia.org/wiki/BLEU
[4] https://github.com/mjpost/sacreBLEU
[5] https://github.com/Unbabel/COMET
[6] NVIDIA NeMo Toolkit
<br> 

## Model Architecture:
**Architecture Type:** Transformer <br>

**Network Architecture:** Decoder-only <br>

This model was developed based on Transformer architecture originally presented in "Attention Is All You Need" paper [1]. It is a fine-tuned version of a 4B Base model that was pruned and distilled from nvidia/Mistral-NeMo-Minitron-8B-Base using our LLM compression technique. The model was trained using a multi-stage CPT and SFT. It uses tiktoken [2] as the tokenizer. The model supports a context length of 8K tokens.
<br> 

## Input: <br>
**Input Type(s):** Text <br>
**Input Format:** String <br>
**Input Parameters:** One-Dimensional (1D) <br>
**Other Properties Related to Input:** This model supports a context length of 8K. <br>

## Output: <br>
**Output Type(s):** Text <br>
**Output Format:** String <br>
**Output Parameters:** One-Dimensional (1D) <br>
**Other Properties Related to Output:** This model supports a context length of 8K. <br>
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions. <br>

## Prompt Format: <br>
We recommend using the following prompt template, which was used to fine-tune the model. The model may not perform optimally without it.
```
<s>System
You are an expert at translating text from {Source_language} to {Target_language}.</s>
<s>User
What is the {Target_language} translation of the sentence: {Input_Sentence}?</s>
<s>Assistant\n
<br>
```

## Performance: 
COMET score of any2en and en2any direction for Flores-101 dataset (Higher score is better)

| Language               | Eng -> Language | Language -> Eng |
|------------------------|-----------------|-----------------|
| German                 |     0.663       |       0.7575    |
| European Spanish       |     0.7475      |       0.7317    |
| Latin American Spanish |     0.7472      |       0.7318    |
| French                 |     0.824       |       0.8154    |
| Brazil Portuguese      |     0.894       |       0.8466    |
| Russian                |     0.7234      |       0.6427    |
| Simplified Chinese     |     0.6609      |       0.701     |
| Traditional Chinese    |     0.6319      |       0.6745    |
| Japanese               |     0.7263      |       0.6664    |
| Korean                 |     0.712       |       0.6801    |
| Arabic                 |     0.6888      |       0.7073    |

## Software Integration:
**Runtime Engine(s):** NeMo Framework 24.09 <br> 

**Supported Hardware Microarchitecture Compatibility:** <br>
* NVIDIA Ampere <br>
* NVIDIA Blackwell <br>
* NVIDIA Hopper <br>
* NVIDIA Lovelace <br>

**Supported Operating System(s):** <br>
* Linux <br>

## Model Version(s):
Riva-Translate-4B-Instruct-v1.1 <br>

# Training & Evaluation: 
### Training Dataset:

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

Labeling Method by dataset:  <br>
* Automated <br>

**Properties:** This model is trained on open-sourced datasets and synthetic datasets of text parallel corpora generated via back-translation and monolingual datasets. Each entry in the parallel corpus consists of a text in the source language and its translation in the target language. The monolingual datasets contain texts from each of the 12 target language domains. See bias subcard for language distribution.  <br>

## Evaluation Dataset:

**Link:** We used Flores101 [1], NTREX-128 [2], FRMT [3https://www.statmt.org/wmt19/translation-task.html], WMT 19 [4], WMT20 [5] to evaluate the model.
<br>

Data Collection Method by dataset:  <br>
* Automated <br>

Labeling Method by dataset:  <br>
* Automated <br>

## References:
For more information about these datasets, please see the links below.
[1] https://aclanthology.org/2022.tacl-1.30.pdf
[2] https://aclanthology.org/2022.sumeval-1.4.pdf
[3] https://aclanthology.org/2023.tacl-1.39.pdf
[4] https://www.statmt.org/wmt19/translation-task.html
[5] https://www.statmt.org/wmt20/translation-task.html

# Inference:
**Acceleration Engine:** TensorRT-LLM <br>
**Test Hardware:** <br>  
* A100 <br>
* A10G <br>
* H100 <br>
* L40S <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. <br> 

For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards. <br>

Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).  <br>

## Capabilities

- **Function Calling:** Not supported

## Bias

Field                                                                                               |  Response
:---------------------------------------------------------------------------------------------------|:---------------
Participation considerations from adversely impacted groups [protected classes](https://calcivilrights.ca.gov/disputeresolution/protected-characteristics/) in model design and testing:  |  None
Bias Metric (If Measured):                                                   |  BLEU and COMET score
Measures taken to mitigate against unwanted bias:                                                   |  We balanced the number of training data in each language domain.

## Explainability

Field                                                                                                  |  Response
:------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------
Intended Task/Domain:                                                                                  |  Text-to-Text translation
Model Type:                                                                                            |  Decoder-only Transformer
Intended Users:                                                                                        |  Translators, marketers, and web developers who deliver content in multiple languages.
Output:                                                                                                |  Text translated into the target language
Describe how the model works:                                                                          |  The model takes text in the source language as the input and translate it into the target languages in the text form.
Name the adversely impacted groups this has been tested to deliver comparable outcomes regardless of:  |  Not Applicable
Technical Limitations & Mitigation:                                                                    |  Accuracy varies based on the characteristics of the input (domain, use case, noise, context, etc.). Grammatical errors and semantic issues may be present. As a potential mitigation, users can adjust the prompt to improve translation quality.
Verified to have met prescribed NVIDIA quality standards:  |  Yes
Performance Metrics:                                                                                   |  BLEU and COMET scores.
Potential Known Risks:                                                                                 |  Translations may not be 100% accurate. This is not recommended for word-for-word translation.
Licensing:                                                                                             |  GOVERNING TERMS: This trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of this model is governed by the [NVIDIA Community Model License](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-community-models-license/) ADDITIONAL INFORMATION: [Apache 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md).

## Privacy

Field                                                                                                                              |  Response
:----------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------
Generatable or reverse engineerable personal data?                                                     |  No
Personal data used to create this model?                                                                                       |  No
How often is dataset reviewed?                                                                                                     |  Dataset is initially reviewed upon addition, and subsequent reviews are conducted as needed or upon request for changes.
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?                           |  Yes
Applicable Privacy Policy        | [Policy](https://www.nvidia.com/en-us/about-nvidia/privacy-policy/)

## 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)
```

```python
from langchain_nvidia_ai_endpoints import ChatNVIDIA

client = ChatNVIDIA(
model="",
api_key="$NVIDIA_API_KEY", 
temperature=,
top_p=,
max_tokens=,
)

response = client.invoke([{"role":"user","content":""}])
print(response.content)
```

```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
invoke_url='https://integrate.api.nvidia.com/v1/chat/completions'

authorization_header='Authorization: Bearer '
accept_header='Accept: application/json'
content_type_header='Content-Type: application/json'

data=$'{
"messages": [
{
"role": "user",
"content": ""
}
]
}'

response=$(curl --silent -i -w "\n%{http_code}" --request POST \
--url "$invoke_url" \
--header "$authorization_header" \
--header "$accept_header" \
--header "$content_type_header" \
--data "$data"
)

echo "$response"
```