This model is a fine-tuned version of the
NLLB-200 (Distilled 600M) designed for translating English sentences into colloquial Telugu. It has been optimized to better capture informal and conversational nuances.
1from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
2
3tokenizer = AutoTokenizer.from_pretrained("anithasoma/nllb-finetuned-telugu")
4model = AutoModelForSeq2SeqLM.from_pretrained("anithasoma/nllb-finetuned-telugu")
5
6def translate(text):
7 inputs = tokenizer(text, return_tensors="pt")
8 outputs = model.generate(**inputs)
9 return tokenizer.decode(outputs[0], skip_special_tokens=True)
10
11print(translate("Hello, how are you?"))
This model is intended for generating colloquial Telugu translations from English text, improving conversational AI, and enhancing informal communication applications.
This model is licensed under the
Apache 2.0 License.
Developed by
anithasoma as part of the SAWiT AI Hackathon.