Skip to main content
NVIDIA
Explore
Models
Skills
Blueprints
GPUs
Docs
Help Center
Getting Started
  1. Create and verify your account to unlock full access to NVIDIA NIM APIs.
ResourcesDeveloper ForumsContact Support
FAQs
  • Terms of Use
    Privacy Policy
    Your Privacy Choices
    Contact

    Copyright © 2026 NVIDIA Corporation

    NVIDIA

    riva-translate-4b-instruct-v2

    Free Endpoint

    Translation model in 37 languages with few-shots example prompts capability.

    • neural machine translation
    • nvidia nim
    • Text Translation
    Get API Key
    API ReferenceAPI Reference
    Accelerated by DGX Cloud

    Riva-Translate-4B-Instruct-v2

    Description

    The Riva-Translate-4B-Instruct-v2 Neural Machine Translation model translates text in English and 36 non-English languages. The supported languages are: English(en), Czech(cs), Danish(da), German(de), Greek(el), European Spanish(es-ES), LATAM Spanish(es-US), Finnish(fi), French(fr), Hungarian(hu), Italian(it), Lithuanian(lt), Latvian(lv), Dutch(nl), Norwegian(no), Polish(pl), European Portuguese(pt-PT), Brazilian Portuguese(pt-BR), Romanian(ro), Russian(ru), Slovak(sk), Swedish(sv), Simplified Chinese(zh-CN), Traditional Chinese(zh-TW), Japanese(ja), Hindi(hi), Korean(ko), Estonian(et), Slovenian(sl), Bulgarian(bg), Ukrainian(uk), Croatian(hr), Arabic(ar), Vietnamese(vi), Turkish(tr), Indonesian(id), Thai(th).

    It supports both sentence- and document-level translation. The model surpasses all in-house NMT models we've built so far.

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

    License and Terms of Use:

    GOVERNING TERMS: This trial service is governed by the NVIDIA API Trial Terms of Service. Use of this model is governed by the NVIDIA Open Model License Agreement.

    Deployment Geography:

    Global

    Use Case:

    Translators, marketers, and web developers who deliver content in multiple languages.

    Release Date:

    Build.nvidia.com 07/27/2026 via Link

    Reference(s):

    1. Vaswani, Ashish, et al. "Attention Is All You Need." 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

    Model Architecture:

    Architecture Type: Transformer
    Network Architecture: Decoder-only

    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. The model has 4,179,704,832, parameters.

    Input:

    Input Types: Text
    Input Formats: String
    Input Parameters: One-Dimensional (1D)
    Other Input Properties: This model supports a context length of 8K.

    Output:

    Output Types: Text
    Output Format: String
    Output Parameters: One-Dimensional (1D)
    Other Output Properties: This model supports a context length of 8K.

    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.

    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.

    messages = [
        {
            "role": "system",
            "content": "en-zh-cn",
        },
        {"role": "user", "content": "The GRACE mission is a collaboration between the NASA and German Aerospace Center.?"},
    ]
    

    Software Integration:

    Runtime Engine(s): NeMo Framework 24.09

    Supported Hardware Microarchitecture Compatibility:

    • NVIDIA Ampere
    • NVIDIA Blackwell
    • NVIDIA Hopper
    • NVIDIA Lovelace

    Supported Operating System(s):

    • Linux

    The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.

    Model Version(s)

    Riva-Translate-4B-Instruct-v2

    Training, Testing, and Evaluation Datasets:

    Training Dataset

    Data Modality: Text
    Text Training Data Size: 1 Billion to 10 Trillion Tokens
    Training Data Collection: Hybrid: Human, Synthetic
    Training Labeling: Hybrid: Human, Synthetic
    Training Properties: No personal data; copyright protected content. The training set consists of pairs of source text with its translation. The style of the translations ranges from conversational to formal.

    Testing Dataset

    Testing Data Collection: Automated
    Testing Labeling: Human
    Testing Properties: FLORES-101. No personal data; copyright protected content. The test set consists of pairs of source text with its translation. The style of the translations ranges from conversational to formal.

    Evaluation Dataset

    Evaluation Data Collection: Automated
    Evaluation Labeling: Human
    Evaluation Properties: FLORES-101. No personal data; copyright protected content. The evaluation set consists of pairs of source text with its translation. The style of the translations ranges from conversational to formal.

    Benchmark Score

    sacreBLEU and WMT20-COMET-da scores for any2en and en2any directions

    LanguageEng -> Language (BLEU / COMET)Language -> Eng (BLEU / COMET)
    Czech29.1 / 0.90040.6 / 0.752
    Danish42.7 / 0.83948.0 / 0.833
    German36.3 / 0.66644.4 / 0.769
    Greek22.4 / 0.72036.7 / 0.731
    European Spanish28.6 / 0.75932.5 / 0.748
    Latin America Spanish28.6 / 0.75732.5 / 0.748
    Finnish19.9 / 0.93634.2 / 0.761
    French47.8 / 0.82345.1 / 0.817
    Hungarian21.0 / 0.88235.5 / 0.747
    Italian28.0 / 0.75335.0 / 0.759
    Lithuanian21.9 / 0.91134.1 / 0.648
    Latvian26.2 / 0.87935.4 / 0.707
    Dutch24.2 / 0.62032.3 / 0.695
    Norwegian29.9 / 0.80543.4 / 0.798
    Polish18.0 / 0.73631.1 / 0.672
    European Portuguese43.3 / 0.87549.3 / 0.838
    Brazil Portuguese47.8 / 0.89949.3 / 0.838
    Romanian37.2 / 0.89443.7 / 0.800
    Russian28.8 / 0.72836.5 / 0.674
    Slovak29.4 / 0.89139.3 / 0.736
    Swedish40.3 / 0.85747.4 / 0.830
    Simplified Chinese39.7 / 0.67329.8 / 0.716
    Traditional Chinese34.1 / 0.66228.6 / 0.701
    Japanese32.4 / 0.71228.0 / 0.686
    Hindi24.8 / 0.75438.7 / 0.737
    Korean28.6 / 0.71530.0 / 0.702
    Estonian22.2 / 0.97836.9 / 0.753
    Slovenian26.3 / 0.82635.1 / 0.697
    Bulgarian35.8 / 0.82741.4 / 0.735
    Ukrainian25.8 / 0.74939.5 / 0.695
    Croatian24.7 / 0.81837.7 / 0.709
    Arabic24.6 / 0.61440.1 / 0.712
    Vietnamese37.7 / 0.71036.7 / 0.734
    Turkish22.5 / 0.94537.3 / 0.754
    Indonesian42.4 / 0.85143.8 / 0.812
    Thai27.8 / 0.44929.4 / 0.667
    Average30.58 / 0.78937.76 / 0.742

    Inference

    Acceleration Engine: vLLM
    Test Hardware: NVIDIA Ampere (A100), NVIDIA Ampere (A10G), NVIDIA Hopper (H100), NVIDIA Lovelace (L40S)

    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. 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.

    Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns here.

    On this page

    1. Description
    2. License and Terms of Use
    3. Deployment Geography
    4. Use Case
    5. Release Date
    6. Reference(s)
    7. Model Architecture
      1. Input
      2. Output
    8. Prompt Format
    9. Software Integration
    10. Model Version(s)
    11. Training, Testing, and Evaluation Datasets
      1. Training Dataset
      2. Testing Dataset
      3. Evaluation Dataset
      4. Benchmark Score
    12. Inference
    13. Ethical Considerations