This model is the state-of-the-art Named Entity Recognition (NER) model for Ottoman Turkish, fine-tuned from enesyila/ota-mdeberta-v3-base.
It recognizes PERSON, LOCATION, ORGANIZATION, and MISC entities in Ottoman Turkish texts.
Model Details
Developed by: Enes Yılandiloğlu
Model type: Token classification (NER)
Language(s): Ottoman Turkish (ota)
License: cc-by-nc-4.0
Finetuned from: enesyila/ota-mdeberta-v3-base-ner
How to Get Started with the Model
Use the code below to get started with the model.
python
1from transformers import AutoTokenizer, AutoModelForTokenClassification, pipeline
23model = AutoModelForTokenClassification.from_pretrained("enesyila/ota-mdeberta-v3-base-ner")4tokenizer = AutoTokenizer.from_pretrained("enesyila/ota-mdeberta-v3-base-ner")56nlp = pipeline("token-classification", model=model, tokenizer=tokenizer, aggregation_strategy="average")78text ="Aḥmed Paşanın yerine Edrinedeki Meḥmed Efendi Medresesinden Meḥmed Efendi mevsûl oldu."9print(nlp(text))
The model was fine-tuned on a manually annotated corpus of 6 classical Ottoman Turkish in both prose and verse with IJMES transliteration alphabet, consisting of 9,960 NER spans with labels PER, LOC, ORG, MISC.
Folowing works were used as training data:
Kitâb-ı Fâhir Kıssa-i Anter bin Şeddâd bin Kırâd el-Absî (15th century)
Ḳıṣâṣ-i Enbiyâ (16th century)
Zeyl-i Şakâʾik (17th century)
Veḳâyiʿü'l-Fużala (1731)
Neticetü'l-Fikriyye (18th century)
Silkü'l-Leʾal-i ʿÂl-i Os̱mân (18th century)
Named entity distribution by dataset split (roughly 80/10/10):