Instructions to use VietAI/envit5-translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VietAI/envit5-translation with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="VietAI/envit5-translation")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("VietAI/envit5-translation") model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/envit5-translation", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
License clarification: which OpenRAIL variant?
Hi VietAI team — thanks for releasing EnViT5; it's been the strongest vi↔en model I've benchmarked at this size.
A licensing question I'm hoping you can clarify. The model card's frontmatter says license: openrail, but I can't find a variant specified or a LICENSE file, either here or in vietai/mTet. Since OpenRAIL licences carry use-based restrictions that have to be passed on to downstream users, I don't currently have a way to know which restriction appendix applies.
Could you confirm which licence this is exactly — BigScience OpenRAIL-M, CreativeML OpenRAIL-M, or a custom RAIL variant? If it's custom, is the text available anywhere?
Context: I maintain an int8 CTranslate2 conversion at luigi000/envit5-translation-ct2-int8, used in a speech-translation app I'm preparing to open-source. I'd like to propagate the correct terms to users rather than guess.
Thanks!