BUCOLIN/HisTR
Viewer • Updated • 25.3k • 92 • 3
How to use cihanunlu/berturk-histr-lora-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="cihanunlu/berturk-histr-lora-ner") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("cihanunlu/berturk-histr-lora-ner", dtype="auto")How to use cihanunlu/berturk-histr-lora-ner with PEFT:
Task type is invalid.
| Base model | cihanunlu/BerTurk_Ottoman_Full_DAPT |
| Adapter type | LoRA (Low-Rank Adaptation) built with HF PEFT |
| Task | Named-Entity Recognition • BIO tags PER / LOC / O |
| Language | Ottoman / Late-Ottoman Turkish (Latin transliteration) |
| Repo contents | ≈ 2 MB LoRA weights (adapter_model.bin, adapter_config.json) + tokenizer files |
Attach it to the BerTurk_Ottoman_Full_DAPT checkpoint to obtain a lightweight NER model fine-tuned on the HiSTR corpus.
Dev (HiSTR) — best checkpoint (epoch 4)
Test (Rûznâmçe)
Base model
dbmdz/bert-base-turkish-128k-cased