helsinki-nlp-opus-mt-en-hu
helsinki-nlp-opus-mt-en-hu
Version: 6
HuggingFaceLast updated May 2025
Helsinki-NLP/opus-mt-en-hu powered by Hugging Face Inference Toolkit

Send Request

You can use cURL or any REST Client to send a request to the AzureML endpoint with your AzureML token.
curl <AZUREML_ENDPOINT_URL> \
    -X POST \
    -H "Authorization: Bearer <AZUREML_TOKEN>" \
    -H "Content-Type: application/json" \
    -d '{"inputs":"Меня зовут Вольфганг и я живу в Берлине"}'
        

Supported Parameters

  • inputs (string): The text to translate.
  • parameters (object):
    • src_lang (string): The source language of the text. Required for models that can translate from multiple languages.
    • tgt_lang (string): Target language to translate to. Required for models that can translate to multiple languages.
    • clean_up_tokenization_spaces (boolean): Whether to clean up the potential extra spaces in the text output.
    • truncation (enum): Possible values: do_not_truncate, longest_first, only_first, only_second.
    • generate_parameters (object): Additional parametrization of the text generation algorithm.
Check the full API Specification at the Hugging Face Inference documentation .
Model Specifications
LicenseApache-2.0
Last UpdatedMay 2025
PublisherHuggingFace