Downloads · 30 days
29
13% of all-time downloads
mkotan/electra-base-turkish-thquad
electra-base-turkish-thquad is a machine learning model from mkotan. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of dbmdz/electra-base-turkish-cased-discriminator on the Turkish Question Answering task using the THQuAD dataset. It is designed to answer questions based on a given Turkish context…
Downloads · 30 days
29
13% of all-time downloads
All-time downloads
215
Public
Parameters
110M
440 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors440 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of dbmdz/electra-base-turkish-cased-discriminator on the Turkish Question Answering task using the THQuAD dataset.
It is designed to answer questions based on a given Turkish context, similar to the original SQuAD format.
dbmdz/electra-base-turkish-cased-discriminatorPlease cite the following resources:
@article{doi:10.5505/pajes.2025.44459,
author = {Sazak, Halenur and Kotan, Muhammed},
title = {Transformer-Based Question Answering Systems for Higher Education: A Comparative Study of Turkish and Multilingual Models},
journal = {Pamukkale Univ Muh Bilim Derg},
volume = { },
number = { },
pages = {0-0},
year = { },
doi = {10.5505/pajes.2025.44459},
note ={doi: 10.5505/pajes.2025.44459},
URL = {https://dx.doi.org/10.5505/pajes.2025.44459},
}
}
from transformers import pipeline, AutoTokenizer, AutoModelForQuestionAnswering
model_name = "mkotan/electra-base-turkish-thquad"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
qa_pipeline = pipeline("question-answering", model=model, tokenizer=tokenizer)
context = """
Your context here...
"""
print(qa_pipeline(question=" your question here...", context=context))
print(qa_pipeline(question="your question here...", context=context))
You can interact with this model on Hugging Face Spaces:
🔗 Try it here