Downloads · 30 days
0
yashwan2003/engtokantranslation
engtokantranslation is a translation model from yashwan2003. Use it when you need text moved from one language to another. It is set up for pytorch. The card lists the license as mit.
A Transformer-based neural machine translation model for English to Kannada translation.
Downloads · 30 days
0
Access
Public
Updated Feb 8, 2026
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.pt727 MB · 99%
From the Hugging Face model README
A Transformer-based neural machine translation model for English to Kannada translation.
from test_model import load_model_and_tokenizers, translate_sentence
# Load model
model, src_tok, tgt_tok, vocab_info, device = load_model_and_tokenizers()
# Translate
translation = translate_sentence(
"Hello, how are you?",
model, src_tok, tgt_tok, vocab_info, device
)
print(translation)
See README_HF.md for full documentation.