Downloads · 30 days
51
3% of all-time downloads
kuppuluri/telugu_bertu_tydiqa
telugu_bertu_tydiqa is a question answering model from kuppuluri. Use it when the input is a question plus a passage. It is set up for transformers.
Use the below script from your python terminal as the web interface for inference has few encoding issues for Telugu
Downloads · 30 days
51
3% of all-time downloads
All-time downloads
2K
Public
Parameters
110M
1.3 GB on disk
Likes
2
Public
Click a slice to open those files.
.bin440 MB · 33%
How the weights are stored.
F32110M · 100%
From the Hugging Face model README
Use the below script from your python terminal as the web interface for inference has few encoding issues for Telugu
from transformers.pipelines import pipeline, AutoModelForQuestionAnswering, AutoTokenizer
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained("kuppuluri/telugu_bertu_tydiqa",
clean_text=False,
handle_chinese_chars=False,
strip_accents=False,
wordpieces_prefix='##')
nlp = pipeline('question-answering', model=model, tokenizer=tokenizer)
result = nlp({'question': question, 'context': context})
I used Tydiqa Telugu data from Google https://github.com/google-research-datasets/tydiqa
PS: If you find my model useful, I would appreciate a note from you as it would encourage me to continue improving it and also add new models.