Instructions to use Tanhim/translation-En2De with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tanhim/translation-En2De 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="Tanhim/translation-En2De")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Tanhim/translation-En2De") model = AutoModelForSeq2SeqLM.from_pretrained("Tanhim/translation-En2De", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 0fd91567dc7825152f7e1e0df5dc0ca1c036fe639154d7eefabd68b6acafcfcc
- Size of remote file:
- 591 MB
- SHA256:
- ede6643607c72cfe883ca1cfdea31d6a7b9210b637e78113ccb5c1894f818f4b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.