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") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- decf33d07468ec9451c52c5546921fb19609bde48d7a4c5db9407f57c194b586
- Size of remote file:
- 559 Bytes
- SHA256:
- 405091d29df97a8772f322737eb40c2cd7c84c343630b70fa67dcfd831a1eb08
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.