Instructions to use WindyTranslate/translate-to-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WindyTranslate/translate-to-en 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="WindyTranslate/translate-to-en")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("WindyTranslate/translate-to-en") model = AutoModelForSeq2SeqLM.from_pretrained("WindyTranslate/translate-to-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Promote lora build from WindstormLabs/translate-to-en, with attribution and change statement
5ac2b75 verified - Xet hash:
- c98716c5ca3ae162a568e294bf75ab610425f9a7cb92b3f2581adf4b8e2082bb
- Size of remote file:
- 783 kB
- SHA256:
- f24bb45cec903ebfc568124cc2a99afb7aed2b9f4b21e8f7f85759a15711af4c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.