Downloads · 30 days
17
0% of all-time downloads
Tanhim/translation-En2De
translation-En2De is a translation model from Tanhim. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as gpl.
Downloads · 30 days
17
0% of all-time downloads
All-time downloads
6.7K
Public
Repo size
1.2 GB
Likes
4
Public
Click a slice to open those files.
.pt591 MB · 66%
From the Hugging Face model README
Model Name: Tanhim/translation-En2De <br /> language: German or Deutsch <br /> thumbnail: https://huggingface.co/Tanhim/translation-En2De <br />
You can use this model directly with a pipeline for machine translation. Since the generation relies on some randomness, I set a seed for reproducibility:
>>> from transformers import pipeline, set_seed
>>> text_En2De= pipeline('translation', model='Tanhim/translation-En2De', tokenizer='Tanhim/translation-En2De')
>>> set_seed(42)
>>> text_En2De("My name is Karl and I live in Aachen")