adrianjoheni/translation-model-opus
`adrianjoheni/translation-model-opus` powered by Hugging Face Inference Toolkit - [Original Model Card](https://huggingface.co/adrianjoheni/translation-model-opus) - [`translation` Task on Hugging Fa…
azureFoundry/HuggingFace/adrianjoheni-translation-model-opus@1
adrianjoheni/translation-model-opus 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.
Specifications & capabilities
- Input
- text
- Output
- text
- Published model ID
- translation-model-opus
Provider specifications & access
1–1 / 1
- source model id
- HuggingFace/adrianjoheni-translation-model-opus@1
- hosting
- foundry-managed-compute
- license
- apache-2.0
Explore more models