Downloads · 30 days
16
1% of all-time downloads
suayptalha/Translate-EN-to-TR
Translate-EN-to-TR is a text generation model from suayptalha. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a English to Turkish translator t5-base finetuned model on Helsinki-NLP/opus-100
Downloads · 30 days
16
1% of all-time downloads
All-time downloads
1.1K
Public
Parameters
223M
892 MB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors892 MB · 100%
From the Hugging Face model README
This is a English to Turkish translator t5-base finetuned model on Helsinki-NLP/opus-100
Example Usage
#Load the model and tokenizer
plain_text = "Translate to Turkish: " #English text here!
inputs = tokenizer(cipher_text, return_tensors="pt", padding=True, truncation=True, max_length=256).to(device)
outputs = model.generate(inputs["input_ids"], max_length=256)
translated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
License: This model is on Apache-2.0 License. Check licence docs for more!