Downloads · 30 days
2
4% of all-time downloads
remox01/opus-mt-tc-big-tr-en
opus-mt-tc-big-tr-en is a translation model from remox01. Use it when you need text moved from one language to another.
This model translates Turkish to English. It is based on Helsinki-NLP/opus-mt-tc-big-tr-en.
Downloads · 30 days
2
4% of all-time downloads
All-time downloads
47
Public
Parameters
235M
471 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors470 MB · 99%
From the Hugging Face model README
This model translates Turkish to English. It is based on Helsinki-NLP/opus-mt-tc-big-tr-en.
This model uses the remox01/xde dataset which contains:
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("remox01/opus-mt-tc-big-tr-en")
model = AutoModelForSeq2SeqLM.from_pretrained("remox01/opus-mt-tc-big-tr-en")
text = "Merhaba, nasilsiniz?"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))