Views
No views yet
@article{incidelen8performance,
title={Performance Evaluation of Transformer-Based Pre-Trained Language Models for Turkish Question-Answering},
author={{\.I}ncidelen, Mert and Aydo{\u{g}}an, Murat},
journal={Black Sea Journal of Engineering and Science},
volume={8},
number={2},
pages={15--16},
publisher={U{\u{g}}ur {\c{S}}EN}
}1from transformers import pipeline
2
3qa = pipeline(
4 "question-answering",
5 model="incidelen/bert-base-turkish-cased-qa"
6)
7
8result = qa(
9 question="...",
10 context="..."
11)
12
13print(result)| Exact Match (%) | F1 Score (%) |
|---|---|
| 55.29 | 70.07 |